You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Studio Windows: Blackwell on a sub-13.3 driver has no GPU-capable prebuilt (ggml cuda-12.4 predates sm_120) #5887
Follow-up to #5879 (driver-version gating of the Windows CUDA prebuilt selector).
On Windows, ggml-org currently publishes only cuda-12.4 and cuda-13.3. With the gating from #5879, a Blackwell GPU (sm_120) on a driver advertising < 13.3 (13.0 / 13.1 / 13.2) is gated out of cuda-13.3 and falls back to cuda-12.4. But cuda-12.4 predates Blackwell (native sm_120 support landed in CUDA 12.8), so it cannot offload on sm_120 and runs CPU only.
This is not a regression from #5879: before it, the same box requested the hardcoded 13.1, missed, and fell to cuda-12.4 too. It is a gap in the available ggml-org Windows assets.
Empirical confirmation
Validated on an RTX PRO 6000 Blackwell (sm_120), driver 580.82.07 (nvidia-smi "CUDA Version: 13.0"), Ubuntu 22.04:
A cuda12 build compiled for archs 700-890 only (the analog of ggml cuda-12.4) produces no kernel image for sm_120, so it does not offload (empty output / stalled warmup).
A cuda12 build compiled with 12.8 (archs incl. 1200) offloads to the GPU and generates coherently.
Linux is unaffected: unsloth's own cuda12-newer bundle is built with 12.8 and covers sm_120.
Bisected ggml-org/llama.cpp releases to pin when the Windows Blackwell path actually broke.
Boundary (UTC, both on 2026-05-27):
b9360 13:13 - last release shipping llama-bin-win-cuda-13.1 (the last non-13.3 Blackwell-capable Windows build).
b9365 17:05 - first release shipping llama-bin-win-cuda-13.3. ggml skipped 13.2; the cuda13 minor went straight 13.1 -> 13.3.
ggml shipped 12.4 + 13.1 continuously before this (250 of the last ~300 releases carried 13.1). So the gap is created entirely by ggml's b9365 bump, not by anything on our side.
Why 12.4 cannot cover the gap (confirmed in ggml/src/ggml-cuda/CMakeLists.txt): the build appends 120a-real (sm_120) only when CUDAToolkit_VERSION >= 12.8, and 121a-real only at >= 12.9. So:
cuda-12.4 build: no sm_120, never offloads on Blackwell.
cuda-13.1 and cuda-13.3 builds: include 120a-real/121a-real, do offload on Blackwell.
So until b9360 a Blackwell box on a 13.1/13.2 driver got GPU on Windows (it could run the 13.1 build, which covers sm_120). After b9365 that build is gone, the box is gated off 13.3, and the only sub-13.3 Windows asset is 12.4 (CPU).
Cleanest restore is ggml publishing a sub-13.3 Blackwell asset (a cuda-12.8 or cuda-13.0 Windows build) so option 2 here is the low-risk path. Option 1 (try gated 13.3, keep only if #5858's offload check passes) recovers the MVC-capable subset in the meantime.
Addressed the 13.1/13.2-driver case in #5879 (commit dd3bed8). The selector now deterministically pins b9360's cuda-13.1 build as a GPU fallback: on the upstream install path, when a Blackwell (sm_120/sm_121) host is gated off the in-release 13.3 build but its driver can run 13.1, the pin is inserted ahead of cuda-12.4, with verified sha256 for both the llama and cudart archives. It self-disables the moment a release publishes a driver-runnable cuda13 build, so it is not a permanent hardcode.
Resulting order for a 13.1/13.2 Blackwell host: [b9360 cuda-13.1, cuda-12.4, windows-cpu] (GPU first, graceful CPU degradation preserved).
Residual (still open): a Blackwell host on a 13.0 or 12.x driver stays CPU-only, since b9360 ships 13.1 which those drivers cannot run and no older sub-13.1 win-cuda-13 build exists. That sliver is a driver-update matter, or is closed by option 2 here (ggml-org publishing a cuda-12.8 / cuda-13.0 Windows build).
Landed in #5879 (merged as 5076837). The 13.1/13.2-driver Blackwell case now gets the pinned b9360 cuda-13.1 GPU build on both install paths. Leaving this open for the residual 13.0/12.x-driver sliver, which closes via a driver update, ggml-org shipping a sub-13.3 Windows build, or the GPU-offload check in #5858.
This issue should be fixed now - sorry on the delay - reinstall the latest - Linux / WSL / Mac curl -fsSL https://unsloth.ai/install.sh | sh or Windows irm https://unsloth.ai/install.ps1 | iex - if the issue is still there, please open another issue - appreciate it again!
Activity
danielhanchen commentedon May 31, 2026
Bisected ggml-org/llama.cpp releases to pin when the Windows Blackwell path actually broke.
Boundary (UTC, both on 2026-05-27):
b936013:13 - last release shippingllama-bin-win-cuda-13.1(the last non-13.3 Blackwell-capable Windows build).b936517:05 - first release shippingllama-bin-win-cuda-13.3. ggml skipped 13.2; the cuda13 minor went straight 13.1 -> 13.3.ggml shipped
12.4+13.1continuously before this (250 of the last ~300 releases carried 13.1). So the gap is created entirely by ggml's b9365 bump, not by anything on our side.Why 12.4 cannot cover the gap (confirmed in
ggml/src/ggml-cuda/CMakeLists.txt): the build appends120a-real(sm_120) only whenCUDAToolkit_VERSION >= 12.8, and121a-realonly at>= 12.9. So:cuda-12.4build: no sm_120, never offloads on Blackwell.cuda-13.1andcuda-13.3builds: include120a-real/121a-real, do offload on Blackwell.So until
b9360a Blackwell box on a 13.1/13.2 driver got GPU on Windows (it could run the 13.1 build, which covers sm_120). Afterb9365that build is gone, the box is gated off 13.3, and the only sub-13.3 Windows asset is 12.4 (CPU).Cleanest restore is ggml publishing a sub-13.3 Blackwell asset (a
cuda-12.8orcuda-13.0Windows build) so option 2 here is the low-risk path. Option 1 (try gated 13.3, keep only if #5858's offload check passes) recovers the MVC-capable subset in the meantime.danielhanchen commentedon May 31, 2026
Addressed the 13.1/13.2-driver case in #5879 (commit dd3bed8). The selector now deterministically pins b9360's
cuda-13.1build as a GPU fallback: on the upstream install path, when a Blackwell (sm_120/sm_121) host is gated off the in-release13.3build but its driver can run13.1, the pin is inserted ahead ofcuda-12.4, with verified sha256 for both the llama and cudart archives. It self-disables the moment a release publishes a driver-runnable cuda13 build, so it is not a permanent hardcode.Resulting order for a 13.1/13.2 Blackwell host:
[b9360 cuda-13.1, cuda-12.4, windows-cpu](GPU first, graceful CPU degradation preserved).Residual (still open): a Blackwell host on a
13.0or12.xdriver stays CPU-only, since b9360 ships13.1which those drivers cannot run and no older sub-13.1 win-cuda-13 build exists. That sliver is a driver-update matter, or is closed by option 2 here (ggml-org publishing acuda-12.8/cuda-13.0Windows build).danielhanchen commentedon May 31, 2026
Landed in #5879 (merged as 5076837). The 13.1/13.2-driver Blackwell case now gets the pinned b9360 cuda-13.1 GPU build on both install paths. Leaving this open for the residual 13.0/12.x-driver sliver, which closes via a driver update, ggml-org shipping a sub-13.3 Windows build, or the GPU-offload check in #5858.
studio: make NVIDIA prebuilt selection track CUDA version bumps (Wind…
Studio: extend the pinned Blackwell GPU fallback to CUDA 13.0 drivers (…
danielhanchen commentedon Jun 17, 2026
This issue should be fixed now - sorry on the delay - reinstall the latest - Linux / WSL / Mac
curl -fsSL https://unsloth.ai/install.sh | shor Windowsirm https://unsloth.ai/install.ps1 | iex- if the issue is still there, please open another issue - appreciate it again!