Repository navigation
Description
Related to #25 (broad Windows + Linux x86_64 release-matrix work). This issue is the narrower native-Windows + CUDA build feasibility spike that de-risks the Windows portion of #25.
Goal
Produce a working native Windows build of mlxcel and mlxcel-server for single-node CUDA inference on NVIDIA GPUs via the existing cuda feature, targeting x86_64-pc-windows-msvc. This issue is both a feasibility spike (the first phase is a hard go/no-go gate) and, if the gate passes, the porting plan to a functional end-to-end binary.
This is not a supported configuration today. docs/installation.md:19 lists Windows as "not documented here", the release workflow has no Windows job, and the CUDA build glue in build.rs is written for Linux. Upstream MLX is no longer the binding constraint: at the current pin it CI-builds Windows CPU (with tests) and Windows x86_64 CUDA 12.9 / 13.0 (build only, no GPU tests), see Layer 1. The open risk has moved to what mlxcel adds on top of upstream: the mlxcelverse source overlays and bridge kernels, the cargo-side link glue, and the Rust Unix surface.
Scope premise: distributed inference is OFF on Windows initially
Native Windows starts single-node only. Distributed inference, both tensor parallelism and pipeline parallelism, is disabled from the outset, not a stretch goal or a "nice to have if it falls out." The deliverable for this issue is single-host CUDA inference (one box, one or more local GPUs) with the distributed path compiled out on Windows.
This is a deliberate premise, not an accident of scoping. The (outdated 2026-10-22: at src/distributed/* transport is built on Unix networking primitives (io_uring / kqueue / RawFd, RDMA capability probes) that are not portable to Windows without separate, substantial work56bd9cd5 the only Unix API use in src/distributed/ is the RDMA capability probe in rdma_capabilities.rs, which is already target_os-gated with a non-Linux/non-macOS fallback at :139; the module is compiled unconditionally via src/lib.rs:23, with no feature flag). The premise still holds on scope grounds: multi-host transport, discovery and RDMA on Windows are untested and would expand the spike well past its go/no-go purpose. Restoring distributed support on Windows is explicitly out of scope here and tracked as a Phase 6 follow-up. Everything below (the blocker analysis, phases, and acceptance criteria) assumes this premise.
Context
mlxcel links MLX C++ statically. The MLX source is fetched via FetchContent and pinned by GIT_TAG in src/lib/mlxcelverse/CMakeLists.txt:208 (commit bff10220c742907f0c68e55ff174aaea56f74e3d, upstream main of 2026-10-20). That GIT_TAG is the single source of truth: src/lib/mlxcel-core/build.rs resolves it through build_support/mlx_pin.rs (read_pinned_commit) and checks the fetched checkout with verify_fetched_mlx_head; the old MLX_EXPECTED_COMMIT constant no longer exists. MLX_BUILD_CUDA defaults to OFF at build.rs:447 and is set to ON for the cuda feature at build.rs:466.
Before CMake builds MLX, src/lib/mlxcelverse/CMakeLists.txt (mlx_apply_source_overlays) copies mlxcel's own source overlays over the fetched tree: overlays/cpu, overlays/cuda (29 files under mlx/backend/cuda, including device.cpp, jit_module.cpp, load.cpp, matmul.cpp, quantized / reduce / binary / gemm kernels), overlays/metal, and overlays/rocm. The cxx bridge additionally compiles the launchers under src/lib/mlxcelverse/kernels/*.cpp. None of this is covered by upstream's Windows CI.
The blockers split into three layers, ordered by how fundamental they are.
Layer 1: Upstream MLX builds Windows+CUDA in CI (build only, not GPU-tested)
This was originally framed as a hard gate ("upstream MLX does not build on Windows"), then as "Windows+CUDA plumbed but not CI-validated". At the current pin both framings are outdated:
- Windows CPU is supported and CI-tested upstream.
build_and_test.ymlruns a Windows x86_64 / aarch64 CPU build plustest-windows. ml-explore/mlx#1513 "Windows support" was closed 2024-12-28. CMake FetchContents a prebuilt OpenBLAS x64 zip and shipslibopenblas.dll, thedlfcn-win32shim is fetched, and GGUF is disabled under MSVC (irrelevant: mlxcel uses safetensors). - Windows x86_64 CUDA is now CI-built upstream. The same
build_and_testmatrix includes Windows x86_64 withcuda-12.9andcuda-13.0onwindows-2022-largerunners (added by Add CI for Windows CUDA build ml-explore/mlx#3775 on 2026-06-30, runner change Use large runner for Windows CUDA builds ml-explore/mlx#3809 on 2026-07-07).cuda-12.6is excluded with the comment "CUDA 12.6 does not compile with CUTLASS on Windows". The CUDA jobs only build:test-windowsruns fortoolkit == 'cpu'only, so no CUDA kernel is executed on Windows in upstream CI. - The CUDA backend ships explicit Windows delay-load plumbing.
mlx/backend/cuda/CMakeLists.txt(if(WIN32)block, lines 189-236 at the pin) linksdelayimp.lib, compilesdelayload.cpp, and adds/DELAYLOAD:<dll>for every CUDA/cuDNN DLL. It handles the static-library case specifically (PUBLIC+$<BUILD_INTERFACE:delayload.cpp>), which is how mlxcel links MLX.delayload.cppresolves the DLLs at runtime fromMLX_CUDA_BIN_DIR/MLX_CUDNN_BIN_DIR.
The earlier upstream context that informed this issue (PR #1983 CUDA DLL delay-loading, Discussion #2422) has landed as the delay-load mechanism above.
Implication: a vanilla nvcc + MSVC build of MLX at the pin is established upstream, so the remaining Phase 1 risk is (a) whether mlxcel's mlxcelverse overlays and bridge kernels compile under MSVC + nvcc, (b) the static-link delay-load in the cargo link step (Layer 2), and (c) runtime behavior on a real GPU, which upstream does not test on Windows. A documented "not feasible without unacceptable local patching" remains a valid outcome.
Layer 2: mlxcel build glue is Linux-only
Even with MLX building, src/lib/mlxcel-core/build.rs assumes Linux for CUDA:
link_cuda()(build.rs:773-810) searchesCUDA_HOME/lib64or/usr/local/cuda/lib64, probes astubs/subdir, and links.so-style names (cudart,cublas,cublasLt,cufft,cusolver,cuda,cudnn,nvrtc;cusolverwas added for MLX81ba1c6a/ [CUDA] Cholesky via cuSOLVER ml-explore/mlx#4208). Windows CUDA layout is%CUDA_PATH%\lib\x64, import libs are*.lib, and there is nostubs/. Needs acfg(windows)branch.- The CMake CUDA compiler hint (
build.rs:469-473) uses$CUDA_HOME/bin/nvccor falls back to/usr/local/cuda/bin/nvcc. On Windows this isnvcc.exeunder%CUDA_PATH%\bin. - CPU-backend BLAS is linked inside
#[cfg(target_os = "linux")](build.rs:266-272:stdc++,openblas,lapack). On Windows MLX links its own fetched OpenBLAS, so this block must not run; mlxcel instead bundles thelibopenblas.dllMLX produces. - The cxx-bridge compile flags are GCC/Clang syntax:
-std=c++20(build.rs:163),-O3/-ffast-math(build.rs:212-214),-march=nativeor-march=$MLXCEL_CXX_MARCH(build.rs:216-229),-flto(macOS-gated,build.rs:235-236). Under MSVC,flag_if_supportedsilently drops all of these, so MLX's required C++20 standard is never set and optimizations are lost. Need MSVC equivalents (/std:c++20,/O2,/fp:fast, and an/arch:mapping or no-op forMLXCEL_CXX_MARCH). - Static-link delay-load must be replicated. MLX sets
delayimp.lib,delayload.cpp, and/DELAYLOAD:*asPUBLIC/BUILD_INTERFACEon themlxCMake target (Layer 1). mlxcel links MLX via cargo, not CMake, so these do not propagate to the rustc link step.build.rsmust replicate them (linkdelayimp.lib, compiledelayload.cpp, pass/DELAYLOADargs, defineMLX_CUDA_BIN_DIR/MLX_CUDNN_BIN_DIR), or build MLX as a shared lib and shipmlx.dll. - mlxcelverse overlays and bridge kernels are unproven under MSVC. The CUDA overlay files replace upstream sources that upstream's Windows CI does build, so any GCC-only construct introduced locally would surface here. The overlay
jit_module.cppkeeps upstream's_WIN32branches (:47,:97,:175). The Blackwell per-translation-unita-suffix handling insrc/lib/mlxcelverse/CMakeLists.txt(around:279-344) and the CUTLASS / CuTe header path setup (around:262) have only been exercised on Linux.
Layer 3: Rust code has Unix dependencies
libc is a [target.'cfg(unix)'.dependencies] entry (Cargo.toml:307-311), so it is absent on Windows. An rg sweep (2026-10-22 at 56bd9cd5, same pattern set as before: code references to std::os::unix / std::os::fd, io_uring, kqueue, RawFd / AsRawFd, memmap2, libc::, nix::, comment-only lines excluded) finds 239 lines: 25 in src/distributed/ and 214 outside, of which 89 are in test files, leaving 125 non-distributed production lines, 13 of them cross-platform memmap2 (not a blocker).
The severity picture has inverted since the 2026-06-25 count. src/distributed/'s Unix use is only the RDMA capability probe (rdma_capabilities.rs, target_os-gated, with a fallback at :139; rdma_transport.rs has macOS-only cfg blocks). The largest production surface is now outside it:
src/server/router_cache/anchored_{publish,delete,remove}.rs(58 lines, added in feat: add safe WebUI model library operations #1872): directory-fd-anchored filesystem operations (unlinkat,stat,OpenOptionsExt,MetadataExt,OsStrExt) for the WebUI model library. The modules are declared#[cfg(unix)]insrc/server/router_cache.rs:192-196, with#[cfg(not(unix))]fallbacks at:71and:164.src/downloader/mod.rs(24 lines:libc::O_NOFOLLOW, directoryRawFd; fallback at:799),src/multimodal/video.rs(8 lines,lseekviaAsRawFd; fallback at:818),src/bin/bench_decode/phase_marks.rs(5,clock_gettime),src/commands/cli_turn.rs(3, SIGINT re-raise; fallback at:196),src/server/media.rs(fallbacks at:657,:778),src/server/media_root.rs(:324),src/server/listen.rs(:123,:257),src/server/startup.rs:1211, plus#[cfg(unix)]permission / symlink blocks insrc/server/logging.rs,src/server/router_models.rs,src/commands/split_mtp.rs, andsrc/lib/mlxcel-surgery/src/ops/split_mtp_output.rs:330.src/lib/mlxcel-xla/src/iree.rs:52usesOsStrExtungated, butmlxcel-xlais behind the default-offxla-backendfeature.src/lib/mlxcel-core/src/weights.rs: its only flagged Unix site is the test-onlystd::os::unix::fs::symlinkat:1054; the production safetensors mmap uses cross-platformmemmap2.
Windows awareness is no longer limited to src/distributed/rdma_capabilities.rs:39: 11 non-test files now carry #[cfg(not(unix))] or target_os = "windows" branches (the files listed above with fallbacks, plus rdma_capabilities.rs and weights.rs). Whether the whole crate compiles for x86_64-pc-windows-msvc has not been checked.
Prerequisites to prepare (toolchain)
- Visual Studio 2022 with the "Desktop development with C++" workload (MSVC v143). CUDA's
nvccon Windows requires the MSVCcl.exehost compiler; MinGW/GNU is not a CUDA-supported host. - CUDA Toolkit 12.9 or 13.x (upstream excludes 12.6 on Windows because it does not compile with CUTLASS; our Linux releases target CUDA 13). Includes
nvcc, cudart, cublas, cufft, cusolver, nvrtc. - cuDNN matching the CUDA version.
- NVIDIA driver >= 550.
- CMake (latest), Git, and Git Bash (in case MLX's shell-based codegen scripts are still on the CUDA path).
- Rust toolchain with the
x86_64-pc-windows-msvctarget (NOT the GNU target; it must link MSVC-built CUDA/MLX libs). - OpenBLAS for Windows is fetched automatically by MLX's CMake at this pin, so no manual vcpkg setup is required for the BLAS path.
Phased plan
Phase 0: Environment
- Repository checks out on Windows:
src/lib/mlxcel-xla/src/aux.rs(a reserved Windows device name that madegit cloneabort withinvalid path) was renamed toauxiliary.rs, and thewindows-reserved-pathsCI job (scripts/ci/check_windows_reserved_paths.py,make verify-windows-paths) now rejects any tracked path whose name is a Windows device name (fix(xla): rename aux.rs so the repository checks out on Windows #2531, fix(xla): rename aux.rs so the repository checks out on Windows #2533). - Stand up a Windows host with an NVIDIA GPU and the toolchain above.
- Confirm
nvcc --version,cl.exe,cmake --version,rustc --version --verbose(host = msvc),nvidia-smi.
Phase 1: GATE, build MLX on Windows+CUDA (standalone, no cargo)
- Check out MLX at pinned commit
bff10220c742907f0c68e55ff174aaea56f74e3dand attempt a CUDA build with-DMLX_BUILD_CUDA=ONdirectly (no mlxcel).- Upstream CI already builds this configuration at the pin (Windows x86_64, CUDA 12.9 / 13.0), so this step is a local reproduction of a known-good build, not the main risk.
- Configure
src/lib/mlxcelverse/as the top-level CMake project with-DMLX_BUILD_CUDA=ONso themlxcelverseCPU and CUDA overlays are applied, and record which overlay files fail under MSVC +nvcc. - Focus on what remains unproven: the overlay build above, CUDA/cuDNN DLL delay-load in a static link, and whether a trivial MLX CUDA op runs on the GPU (upstream does not execute CUDA tests on Windows).
- Decision point: record whether MLX+CUDA with mlxcel's overlays can be built (with how many local patches), or whether this is blocked. If blocked, document evidence and stop; that is a valid close.
Phase 2: mlxcel build glue (build.rs)
- Add a
cfg(windows)CUDA link branch:%CUDA_PATH%\lib\x64,.libimport-lib names (includingcusolver), nostubs/. - Add Windows nvcc path resolution (
%CUDA_PATH%\bin\nvcc.exe). - Skip the Linux CPU/BLAS link on Windows; rely on MLX's fetched OpenBLAS and bundle
libopenblas.dll. - Add MSVC compile flags for the cxx bridge (
/std:c++20,/O2) so C++20 + optimization are actually applied, and decide howMLXCEL_CXX_MARCHmaps under MSVC. - Replicate the static-link CUDA delay-load (
delayimp.lib+delayload.cpp+/DELAYLOAD+MLX_CUDA_BIN_DIR/MLX_CUDNN_BIN_DIRdefines), or build MLX as a shared lib and shipmlx.dll.
Phase 3: Rust platform gating
- Audit the Unix API usages (239 lines at
56bd9cd5: 25 insrc/distributed, 125 non-test lines outside it, 58 of those insrc/server/router_cache/anchored_*); confirm every non-distributed site iscfg-gated with a working Windows fallback, and confirm nolibc::use leaks outside acfg(unix)block.- Done since the original sweep:
#[cfg(not(unix))]fallbacks exist inrouter_cache.rs,downloader/mod.rs,video.rs,media.rs,media_root.rs,listen.rs,startup.rs,cli_turn.rs. - Remaining: a
cargo check --target x86_64-pc-windows-msvc(or a Windows host build) to prove they compile, and a behavioral review of each fallback (for example, the WebUI model-library delete / publish paths without fd anchoring).
- Done since the original sweep:
- Compile out the distributed (tensor/pipeline parallel) path on Windows per the Scope premise; track the Phase 6 follow-up to restore it.
- Note:
src/distributednow has almost no Unix API use and is compiled unconditionally (src/lib.rs:23). It may compile on Windows as-is, in which case runtime disablement (refusing distributed CLI / server options on Windows) may be enough instead of a newcfg.
- Note:
- Ensure
mlxcel-serverand CLI build with distributed gated off.
Phase 4: dependent C++ crates
- Verify
sentencepiece(Cargo.toml:180,sentencepiece-sys0.13.2 builds a C++ lib via CMake) compiles under MSVC. (tokenizers,llguidance,toktrieare pure Rust and should be fine.)
Phase 5: end-to-end smoke test
-
cargo build --release --target x86_64-pc-windows-msvc --features cudaproduces both binaries. -
mlxcel --version/mlxcel-server --version. -
mlxcel download mlx-community/Qwen3-0.6B-4bitthenmlxcel generate -m ... -p "Hello" -n 16produces tokens on GPU. -
mlxcel-serverserves a/v1/chat/completionsrequest.
Phase 6: follow-ups (out of scope for first close, file separately)
- CI Windows job (CPU and, once proven, CUDA), packaging (bundle
libopenblas.dll+ CUDA/cuDNN/NVRTC DLLs per the runtime-deps doc below), optional code signing. - Restore distributed features on Windows.
- Reconcile CUDA 12.x vs 13.x version matrix with the Linux release.
Acceptance criteria
This issue is complete when either:
- A native
x86_64-pc-windows-msvc--features cudabuild ofmlxcel+mlxcel-serverbuilds and passes the Phase 5 smoke tests on an NVIDIA Windows host (end-to-end functional single-node binary; per the Scope premise, distributed inference is disabled on Windows and its absence does not block this issue; it is tracked as a Phase 6 follow-up); or - Phase 1 produces a documented go/no-go determination showing native MLX-on-Windows (with mlxcel's overlays) is not feasible at the pinned commit without unacceptable local patching, with the specific blockers and evidence recorded for a future re-attempt.
Risks & fallback
- Upstream MLX builds Windows+CUDA in CI but does not run CUDA tests there; the residual risk is mlxcel's own overlays and bridge kernels under MSVC +
nvcc, the static-link delay-load, runtime correctness on a real GPU, and carrying any Windows patches across the overlay-aware pin-bump process ("Bumping the MLX upstream pin" inCONTRIBUTING.md). - Distributed inference is unlikely to work natively on Windows initially.
- Fallback already supported: WSL2 (Ubuntu) + NVIDIA WSL CUDA driver runs the documented Linux CUDA path (
cargo build --release --features cuda) with none of the above work. This issue exists specifically because a native.exeis wanted instead of the WSL2 path.
Refresh log
-
2026-06-22: Refreshed against the current MLX pin (
a6ec712) and code after a build-feasibility investigation.- Pin updated:
84961223(~v0.31.2) →a6ec7123(2026-06-11main);build.rsandCMakeLists.txtline references updated throughout (MLX_EXPECTED_COMMITbuild.rs:178,link_cuda:342-375, nvcc hint :255-259, Linux BLAS :127-133, cxx flags :62/73-75/84-92). - Layer 1 reframed: upstream MLX now builds and CI-tests Windows CPU (
windows_build_and_test; mlx#1513 closed 2024-12-28); the CUDA backend ships Windows delay-load plumbing including the static-library case, but has no Windows+CUDA CI, so it is plumbed yet unproven rather than a hard gate. - Layer 2: added the static-link delay-load replication item (CMake
PUBLIClink options do not flow to the cargo/rustc link step). - Layer 3: "~55 Unix usages" remeasured at 130 sites (124 in
src/distributed); onlyrdma_capabilities.rs:39is Windows-aware today. - Internal docs added this session:
lablup/mlxcel-internaldocs_internal/platform/windows-cuda-build-considerations.md(build feasibility / porting) anddocs/windows-cuda-runtime-deps.md(runtime DLL packaging, ~1.0-1.3 GB bundle).
- Pin updated:
-
2026-06-25: Corrected the Layer 3 Unix-surface counts; pin and
build.rs/Cargo.tomlline references re-verified unchanged at HEAD8432ada.- The 2026-06-22 figure of "130 sites (124 in
src/distributed)" was not reproducible. At that same commit, and at today's HEAD,src/distributed/holds 39 Unix-API lines (45 occurrences), not 124. Remeasured with a precise sweep (code references only;nix::/libc::as crate paths; nonix-inside-unixsubstring inflation): ~79 sites total, 39 insrc/distributed/, 40 outside of which ~20 are test-only, leaving a non-distributed production surface of ~20 sites. - The qualitative conclusion is unchanged and in fact stronger: all hard Windows-hostile primitives (
io_uring,kqueue, RDMA, Unix sockets) live insrc/distributed/; the non-distributed surface is mild fd-hygiene (libc::O_NOFOLLOW,fcntlFD_CLOEXEC,lseekviaAsRawFd) plus cross-platformmemmap2(models/sanitize.rs,weights.rs), which is not a blocker. - Re-verified unchanged at HEAD
8432ada: pina6ec7123(build.rs:178,CMakeLists.txt:95),link_cuda:343, nvcc hint :256-258, Linux BLAS :127-132, cxx flags :62 / :73-75 / :86-90,Cargo.tomllibc :169-173 / sentencepiece :77 / memmap2 :82,media.rs:324,rdma_capabilities.rs:39.
- The 2026-06-22 figure of "130 sites (124 in
-
2026-10-22: Refreshed against HEAD
56bd9cd5and MLX pinbff10220.- Pin moved
a6ec7123→bff10220c742907f0c68e55ff174aaea56f74e3d(upstreammainof 2026-10-20). The pin's home moved fromsrc/lib/mlx-cpp/CMakeLists.txttoGIT_TAGinsrc/lib/mlxcelverse/CMakeLists.txt:208;MLX_EXPECTED_COMMITis gone (replaced bybuild_support/mlx_pin.rs+verify_fetched_mlx_head). Phase 1 checkout commit updated. - Layer 1 reframed again: upstream now CI-builds Windows x86_64 CUDA 12.9 / 13.0 (Add CI for Windows CUDA build ml-explore/mlx#3775, #3809), build only, no CUDA tests on Windows; CUDA 12.6 is excluded on Windows (CUTLASS). Prerequisite raised from "CUDA 12.x" to "12.9 or 13.x".
- Context / Layer 2: added the
mlxcelverseoverlays (overlays/cpu,overlays/cudawith 29 files) andkernels/*.cppbridge launchers as the main unproven build surface;link_cudanow also linkscusolver. Allbuild.rsline references updated (link_cuda:773-810, nvcc hint :469-473, Linux BLAS :266-272, cxx flags :163 / :212-214 / :216-229 / :235-236,MLX_BUILD_CUDA:447 / :466). - Layer 3 remeasured with the same pattern set: 239 lines, 25 in
src/distributed(RDMA probe only, already gated), 125 non-test lines outside it. The 2026-06-25 claim that every hard Unix primitive lives insrc/distributedno longer holds:src/server/router_cache/anchored_*(feat: add safe WebUI model library operations #1872) added fd-anchored*atfilesystem operations,cfg(unix)-gated with fallbacks. 11 non-test files now havecfg(not(unix))/ Windows branches.Cargo.tomlreferences updated (libc :307-311, sentencepiece :180). - Scope premise: kept, but its "transport built on io_uring / kqueue /
RawFd" rationale is struck through as outdated; Phase 3 distributed item annotated that runtime disablement may suffice. - Phase 1: added an explicit overlay build step (configure
src/lib/mlxcelverse/with CUDA on) and a GPU execution check, since a vanilla MLX build is now covered upstream. Acceptance criterion 2 now says "with mlxcel's overlays". - Surfaced (not added): a cheap first step before getting a Windows GPU host is
cargo check --target x86_64-pc-windows-msvcfor the Rust side (needs themlxcel-corebuild script to tolerate a cross check), which would settle Phase 3 without hardware.
- Pin moved
-
2026-10-22 (second pass, after
f47e061e): Added a checked Phase 0 item for the Windows checkout blocker fixed in fix(xla): rename aux.rs so the repository checks out on Windows #2533 (closes fix(xla): rename aux.rs so the repository checks out on Windows #2531):src/lib/mlxcel-xla/src/aux.rs→auxiliary.rs, guarded by the newwindows-reserved-pathsCI job andmake verify-windows-paths. This was an unstated precondition for Phases 0 and 1; no other body content changed. -
2026-10-25: Target retargeted for the spike, decided with the issue owner. The only NVIDIA Windows host available is ARM64 (NVIDIA RTX Spark N1X,
sm_121, driver 616.62), so Phases 0 to 5 ran onaarch64-pc-windows-msvcwith CUDA 13.4.3 and cuDNN 9.27 from NVIDIA'swindows-arm64redistributable archives (winget has no arm64 installer) and Visual Studio 2026. The Windows build glue resolvesx64andarm64toolkit layouts alike; x86_64 GPU validation remains open. Results and remaining gaps are in feat: build and run mlxcel natively on Windows with CUDA #2599.
Activity
fix: address review findings for the Windows CUDA build
fix(security): stop setting SO_REUSEADDR on Windows listeners
fix: harden Windows DLL loading and make lib tests build on Windows
docs: list Windows CUDA_PATH and CUDNN_PATH build variables
fix: restore the Unix allowlist-scan import in media tests
feat: build and run mlxcel natively on Windows with CUDA (lablup#2599)