Skip to content

[Bug] Unsloth no-longer loads models into GPU Memory (Windows) #5830

Closed

Description

@windotsu
  1. Did you update? pip install --upgrade unsloth unsloth_zoo | Yes, and uninstall + restart + reinstall using ps1
  2. Colab or Kaggle | local
  3. Number GPUs used, use nvidia-smi | 1 - (5090)
  4. Which notebook? Please link! | N/A
  5. Which Unsloth version, TRL version, transformers version, PyTorch version? | App v0.1.42-beta (2026.5.8), Transformers 5.3.0 pre-installed, cu130 (Windows 10), llama-server (version: 9371 (f12cc6d0f) | built with Clang 19.1.5 for Windows x86_64)
  6. Which trainer? SFTTrainer, GRPOTrainer | N/A

Unsloth no longer loads models into GPU memory.

Previous update from around less than 1 week ago was working properly on windows, Updated today to the latest version and Unsloth will only load models into system memory rather than GPU memory which previously worked.
Tested with both my standard model and a smaller one, both failed to load into GPU.

Note: Manually running ".unsloth\llama.cpp\build\bin\Release\llama-server.exe" results in "device_info:" only CPU showing up, with CUDA0 missing.

Log:

INFO:     Started server process [33460]
INFO:     Waiting for application startup.
Hardware detected: CUDA -- NVIDIA GeForce RTX 5090
INFO:     Application startup complete.
INFO:     Unsloth Studio running on http://127.0.0.1:8888

...
TRIMMED
...

{"timestamp": "2026-05-28T01:04:11.273778Z", "level": "info", "event": "Detected remote GGUF repo 'unsloth/Qwen3.6-27B-MTP-GGUF', variant=UD-Q4_K_XL, vision=True"}
{"timestamp": "2026-05-28T01:04:11.285051Z", "level": "info", "event": "Loaded default model defaults from C:\\Users\\TRIMMED\\.unsloth\\studio\\unsloth_studio\\Lib\\site-packages\\studio\\backend\\assets\\configs\\model_defaults\\default.yaml"}{"timestamp": "2026-05-28T01:04:11.296554Z", "level": "info", "event": "request_completed", "method": "POST", "path": "/api/inference/validate", "status_code": 200, "process_time_ms": 140.19}
{"timestamp": "2026-05-28T01:04:11.455257Z", "level": "info", "event": "Detected remote GGUF repo 'unsloth/Qwen3.6-27B-MTP-GGUF', variant=UD-Q4_K_XL, vision=True"}
{"timestamp": "2026-05-28T01:04:11.678043Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": 2.28}
{"timestamp": "2026-05-28T01:04:11.899469Z", "level": "info", "event": "Resolving GGUF: unsloth/Qwen3.6-27B-MTP-GGUF/Qwen3.6-27B-UD-Q4_K_XL.gguf"}
{"timestamp": "2026-05-28T01:04:11.955640Z", "level": "info", "event": "GGUF resolved from cache: C:\\Users\\TRIMMED\\.cache\\huggingface\\hub\\models--unsloth--Qwen3.6-27B-MTP-GGUF\\snapshots\\5cb35eb3dcbf52dbce5f87dbc64df6aaffadcace\\Qwen3.6-27B-UD-Q4_K_XL.gguf"}
{"timestamp": "2026-05-28T01:04:12.006341Z", "level": "info", "event": "Downloading mmproj: unsloth/Qwen3.6-27B-MTP-GGUF/mmproj-F16.gguf"}
{"timestamp": "2026-05-28T01:04:12.191459Z", "level": "info", "event": "GGUF metadata: context_length=262144"}
{"timestamp": "2026-05-28T01:04:12.191748Z", "level": "info", "event": "GGUF metadata: chat_template=8057 chars"}
{"timestamp": "2026-05-28T01:04:12.193004Z", "level": "info", "event": "GGUF metadata: model supports reasoning (enable_thinking)"}
{"timestamp": "2026-05-28T01:04:12.193496Z", "level": "info", "event": "GGUF metadata: model supports preserve_thinking"}
{"timestamp": "2026-05-28T01:04:12.194744Z", "level": "info", "event": "GGUF metadata: model supports tool calling"}
{"timestamp": "2026-05-28T01:04:12.255572Z", "level": "info", "event": "Context auto-reduced: 262144 -> 73472 (model: 16.7 GB, est. KV cache: 4.8 GB)"}
{"timestamp": "2026-05-28T01:04:12.255802Z", "level": "info", "event": "GGUF size: 16.7 GB, est. KV cache: 4.8 GB, context: 73472, GPUs free: [(0, 25849)], selected: [0], fit: False"}
{"timestamp": "2026-05-28T01:04:12.259883Z", "level": "info", "event": "Spec decoding: draft-mtp (MTP-only)"}
{"timestamp": "2026-05-28T01:04:12.260050Z", "level": "info", "event": "Reasoning model: {'enable_thinking': True} by default"}
{"timestamp": "2026-05-28T01:04:12.260592Z", "level": "info", "event": "Using mmproj for vision: C:\\Users\\TRIMMED\\.cache\\huggingface\\hub\\models--unsloth--Qwen3.6-27B-MTP-GGUF\\snapshots\\5cb35eb3dcbf52dbce5f87dbc64df6aaffadcace\\mmproj-F16.gguf"}
{"timestamp": "2026-05-28T01:04:12.261073Z", "level": "info", "event": "Starting llama-server: C:\\Users\\TRIMMED\\.unsloth\\llama.cpp\\build\\bin\\Release\\llama-server.exe -m C:\\Users\\TRIMMED\\.cache\\huggingface\\hub\\models--unsloth--Qwen3.6-27B-MTP-GGUF\\snapshots\\5cb35eb3dcbf52dbce5f87dbc64df6aaffadcace\\Qwen3.6-27B-UD-Q4_K_XL.gguf --port 1552 -c 73472 --parallel 1 --flash-attn on --no-context-shift -ngl -1 --threads -1 --jinja --spec-type draft-mtp --spec-draft-n-max 2 --chat-template-kwargs {\"enable_thinking\": true} --mmproj C:\\Users\\TRIMMED\\.cache\\huggingface\\hub\\models--unsloth--Qwen3.6-27B-MTP-GGUF\\snapshots\\5cb35eb3dcbf52dbce5f87dbc64df6aaffadcace\\mmproj-F16.gguf"}


...
TRIMMED
...

{"timestamp": "2026-05-28T01:09:20.818071Z", "level": "info", "event": "Detected remote GGUF repo 'unsloth/gemma-4-E2B-it-GGUF', variant=UD-Q4_K_XL, vision=True"}
{"timestamp": "2026-05-28T01:09:20.822577Z", "level": "info", "event": "Loaded default model defaults from C:\\Users\\TRIMMED\\.unsloth\\studio\\unsloth_studio\\Lib\\site-packages\\studio\\backend\\assets\\configs\\model_defaults\\default.yaml"}
{"timestamp": "2026-05-28T01:09:20.826764Z", "level": "info", "event": "request_completed", "method": "POST", "path": "/api/inference/validate", "status_code": 200, "process_time_ms": 134.76}
{"timestamp": "2026-05-28T01:09:20.988077Z", "level": "info", "event": "Detected remote GGUF repo 'unsloth/gemma-4-E2B-it-GGUF', variant=UD-Q4_K_XL, vision=True"}
{"timestamp": "2026-05-28T01:09:21.199856Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": 1.74}
{"timestamp": "2026-05-28T01:09:21.446047Z", "level": "info", "event": "Resolving GGUF: unsloth/gemma-4-E2B-it-GGUF/gemma-4-E2B-it-UD-Q4_K_XL.gguf"}
{"timestamp": "2026-05-28T01:09:21.487972Z", "level": "info", "event": "GGUF resolved from cache: C:\\Users\\TRIMMED\\.cache\\huggingface\\hub\\models--unsloth--gemma-4-E2B-it-GGUF\\snapshots\\90f9618340396838ee7ff5b0ba2da27da62953d3\\gemma-4-E2B-it-UD-Q4_K_XL.gguf"}
{"timestamp": "2026-05-28T01:09:30.142689Z", "level": "info", "event": "GGUF metadata: context_length=131072"}
{"timestamp": "2026-05-28T01:09:30.142908Z", "level": "info", "event": "GGUF metadata: chat_template=16804 chars"}
{"timestamp": "2026-05-28T01:09:30.144369Z", "level": "info", "event": "GGUF metadata: model supports reasoning (enable_thinking)"}
{"timestamp": "2026-05-28T01:09:30.145115Z", "level": "info", "event": "GGUF metadata: model supports tool calling"}
{"timestamp": "2026-05-28T01:09:30.200535Z", "level": "info", "event": "GGUF size: 3.0 GB, est. KV cache: 0.8 GB, context: 131072, GPUs free: [(0, 26561)], selected: [0], fit: False"}
{"timestamp": "2026-05-28T01:09:30.201061Z", "level": "info", "event": "Reasoning model: {'enable_thinking': True} by default"}
{"timestamp": "2026-05-28T01:09:30.202085Z", "level": "info", "event": "Using mmproj for vision: C:\\Users\\TRIMMED\\.cache\\huggingface\\hub\\models--unsloth--gemma-4-E2B-it-GGUF\\snapshots\\90f9618340396838ee7ff5b0ba2da27da62953d3\\mmproj-F16.gguf"}
{"timestamp": "2026-05-28T01:09:30.202582Z", "level": "info", "event": "Starting llama-server: C:\\Users\\TRIMMED\\.unsloth\\llama.cpp\\build\\bin\\Release\\llama-server.exe -m C:\\Users\\TRIMMED\\.cache\\huggingface\\hub\\models--unsloth--gemma-4-E2B-it-GGUF\\snapshots\\90f9618340396838ee7ff5b0ba2da27da62953d3\\gemma-4-E2B-it-UD-Q4_K_XL.gguf --port 2037 -c 131072 --parallel 1 --flash-attn on --no-context-shift -ngl -1 --threads -1 --jinja --spec-default --chat-template-kwargs {\"enable_thinking\": true} --mmproj C:\\Users\\TRIMMED\\.cache\\huggingface\\hub\\models--unsloth--gemma-4-E2B-it-GGUF\\snapshots\\90f9618340396838ee7ff5b0ba2da27da62953d3\\mmproj-F16.gguf"}

Activity

  1. nand2 commented on May 28, 2026

    @nand2

    I confirm the following bug (windows - rtx 5090 - cuda 13.2)
    Seems like we got the CPU-only version of llama-server.

  2. mmathew23 commented on May 28, 2026

    @mmathew23
    Contributor

    @nand2 @windotsu

    Could you try saving this script to a ps1 file and running to help debug?

    # Unsloth Studio -- llama.cpp prebuilt resolver diagnostic
    # Read-only. Queries your GPU + GitHub release metadata to show how the
    # installer chooses between the CUDA (GPU) and CPU llama.cpp bundles.
    # Does NOT download, install, or change anything. Produces a redacted log
    # that is safe to share back on the GitHub issue.
    
    $ErrorActionPreference = "Continue"
    $stamp = Get-Date -Format "yyyyMMdd-HHmmss"
    $log   = Join-Path $env:TEMP ("unsloth-llama-resolve-{0}.log" -f $stamp)
    
    # Default install location. If you set UNSLOTH_STUDIO_HOME, edit this path.
    $py = "$HOME\.unsloth\studio\unsloth_studio\Scripts\python.exe"
    
    if (-not (Test-Path $py)) {
        Write-Host "Could not find the Studio venv Python at:"
        Write-Host "  $py"
        Write-Host "If you installed to a custom UNSLOTH_STUDIO_HOME, edit the `$py line in this script."
        exit 1
    }
    
    # 1. Torch's view of the GPU (CUDA build + compute capability).
    & "$py" -c "import torch; print('TORCH', torch.__version__, 'CUDA', torch.version.cuda, 'AVAIL', torch.cuda.is_available(), 'CAP', torch.cuda.get_device_capability() if torch.cuda.is_available() else None)" *>&1 | Tee-Object -FilePath $log
    
    # 2. Driver-reported CUDA version and compute capability.
    nvidia-smi *>&1 | Tee-Object -FilePath $log -Append
    nvidia-smi --query-gpu=index,uuid,compute_cap --format=csv,noheader *>&1 | Tee-Object -FilePath $log -Append
    
    # 3. Host detection + the exact Windows CUDA asset list the installer would build.
    & "$py" -X utf8 -c @"
    import json
    import studio.install_llama_prebuilt as m
    
    h = m.detect_host()
    print('HOST', json.dumps({
        'system': h.system, 'machine': h.machine,
        'driver_cuda_version': h.driver_cuda_version,
        'compute_caps': h.compute_caps,
        'has_physical_nvidia': h.has_physical_nvidia,
        'has_usable_nvidia': h.has_usable_nvidia,
        'visible_cuda_devices': h.visible_cuda_devices,
    }))
    print('pick_windows_cuda_runtime =', m.pick_windows_cuda_runtime(h))
    print('compatible_windows_runtime_lines =', m.compatible_windows_runtime_lines(h))
    det, dirs = m.detected_windows_runtime_lines()
    print('detected_windows_runtime_lines =', det)
    print('windows_runtime_dirs =', m.windows_runtime_dirs())
    print('torch_pref =', m.detect_torch_cuda_runtime_preference(h).runtime_line)
    
    tag = m.resolve_requested_install_tag('latest')
    print('RESOLVED_UPSTREAM_TAG', tag)
    assets = m.github_release_assets(m.UPSTREAM_REPO, tag)
    win_assets = sorted(n for n in assets if 'win-cuda' in n or 'win-cpu' in n or 'cudart' in n)
    print('UPSTREAM_WIN_ASSETS', win_assets)
    
    attempts = m.windows_cuda_attempts(
        h, tag, assets, m.detect_torch_cuda_runtime_preference(h).runtime_line
    )
    print('WIN_CUDA_ATTEMPTS', [a.name for a in attempts])
    for a in attempts:
        for line in (a.selection_log or []):
            print('SEL', line)
    "@ *>&1 | Tee-Object -FilePath $log -Append
    
    # ── Redact before sharing ──
    $redacted = "$log.redacted.txt"
    $text = Get-Content $log -Raw
    foreach ($p in @(
        @($env:TEMP,"<TEMP>"), @($env:LOCALAPPDATA,"<LOCALAPPDATA>"),
        @($env:USERPROFILE,"<USERPROFILE>"), @($env:USERNAME,"<USERNAME>")
    )) {
        if ($p[0]) { $text = $text -replace [regex]::Escape($p[0]), $p[1] }
    }
    $text = $text -replace '(https?://)[^/@\s:]+(:[^/@\s]+)?@', '$1<REDACTED>@'
    $text = $text -replace '(ghp_|github_pat_|hf_)[A-Za-z0-9_=-]+', '<REDACTED_TOKEN>'
    Set-Content -Path $redacted -Value $text -Encoding UTF8
    
    Write-Host ""
    Write-Host "Done. Please SKIM this file, then attach it to the issue:"
    Write-Host "  $redacted"
    

    This script inspects your GPU and checks which llama.cpp bundle the installer would pick, but it doesn't download, install, or change anything. It writes a redacted log that's safe to paste here.
    To run it:

    Save the attached unsloth-llama-resolve-debug.ps1 somewhere easy to find, like your Downloads folder. (If your browser saved it as .txt, rename it so it ends in .ps1.)
    Open PowerShell — press Win + X and pick Windows PowerShell or Terminal.
    Run it, pointing at wherever you saved it:

    powershell -ExecutionPolicy Bypass -File "$HOME\Downloads\unsloth-llama-resolve-debug.ps1"
    

    When it finishes it prints a path ending in .redacted.txt. Open that file, give it a quick skim, and attach it here.

  3. noahterbest commented on May 28, 2026

    @noahterbest

    Confirmed this issue as well using 4090, windows 11. Cuda 13.2
    The llamacpp build that is packaged with this update doesn't support CUDA. it's a CPU only build.
    Rebuilding manually with a CUDA version fixed the issue for me.

  4. mmathew23 commented on May 28, 2026

    @mmathew23
    Contributor

    @noahterbest would be great if you could run the diagnostic script above to help us resolve the issue so future updates are seamless on the gpu.

  5. noahterbest commented on May 28, 2026

    @noahterbest

    @noahterbest would be great if you could run the diagnostic script above to help us resolve the issue so future updates are seamless on the gpu.

    Sure thing, here's my redacted output.

    TORCH 2.10.0+cu130 CUDA 13.0 AVAIL True CAP (8, 9)
    Thu May 28 11:23:10 2026       
    +-----------------------------------------------------------------------------------------+
    | NVIDIA-SMI 596.36                 Driver Version: 596.36         CUDA Version: 13.2     |
    +-----------------------------------------+------------------------+----------------------+
    | GPU  Name                  Driver-Model | Bus-Id          Disp.A | Volatile Uncorr. ECC |
    | Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
    |                                         |                        |               MIG M. |
    |=========================================+========================+======================|
    |   0  NVIDIA GeForce RTX 4090      WDDM  |   00000000:09:00.0  On |                  Off |
    | 30%   51C    P8             31W /  495W |   23414MiB /  24564MiB |     38%      Default |
    |                                         |                        |                  N/A |
    +-----------------------------------------+------------------------+----------------------+
    
    +-----------------------------------------------------------------------------------------+
    | Processes:                                                                              |
    |  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
    |        ID   ID                                                               Usage      |
    |=========================================================================================|
    |    0   N/A  N/A            2516    C+G   ...2txyewy\CrossDeviceResume.exe      N/A      |
    |    0   N/A  N/A            2912    C+G   ...IA App\CEF\NVIDIA Overlay.exe      N/A      |
    |    0   N/A  N/A            4132    C+G   ...AcrobatNotificationClient.exe      N/A      |
    |    0   N/A  N/A            6276    C+G   ...indows\System32\ShellHost.exe      N/A      |
    |    0   N/A  N/A            6632    C+G   C:\Windows\explorer.exe               N/A      |
    |    0   N/A  N/A           10604    C+G   ...IA App\CEF\NVIDIA Overlay.exe      N/A      |
    |    0   N/A  N/A           10904    C+G   ...y\StartMenuExperienceHost.exe      N/A      |
    |    0   N/A  N/A           13600    C+G   ..._cw5n1h2txyewy\SearchHost.exe      N/A      |
    |    0   N/A  N/A           16672    C+G   ....0.3967.83\msedgewebview2.exe      N/A      |
    |    0   N/A  N/A           17148    C+G   ...yb3d8bbwe\WindowsTerminal.exe      N/A      |
    |    0   N/A  N/A           17880    C+G   ....0.3967.83\msedgewebview2.exe      N/A      |
    |    0   N/A  N/A           18512    C+G   ...5n1h2txyewy\TextInputHost.exe      N/A      |
    |    0   N/A  N/A           18620      C   ...\bin\Release\llama-server.exe      N/A      |
    +-----------------------------------------------------------------------------------------+
    0, GPU-3ba041b2-9ece-9297-f370-c829afef3943, 8.9
    HOST {"system": "Windows", "machine": "amd64", "driver_cuda_version": [13, 2], "compute_caps": ["89"], "has_physical_nvidia": true, "has_usable_nvidia": true, "visible_cuda_devices": null}
    pick_windows_cuda_runtime = 13.1
    compatible_windows_runtime_lines = ['cuda13', 'cuda12']
    detected_windows_runtime_lines = ['cuda13']
    windows_runtime_dirs = ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v13.2\\bin\\x64', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v13.2\\bin', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v13.0\\bin\\x64', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v13.0\\bin', 'C:\\Program Files (x86)\\VMware\\VMware Workstation\\bin', 'C:\\VulkanSDK\\1.3.239.0\\Bin', 'C:\\Program Files (x86)\\Razer\\ChromaBroadcast\\bin', 'C:\\Program Files\\Razer\\ChromaBroadcast\\bin', 'C:\\Program Files\\Common Files\\Oracle\\Java\\javapath_target_699379375', 'C:\\Windows\\System32', 'C:\\Windows', 'C:\\Windows\\System32\\wbem', 'C:\\Windows\\System32\\WindowsPowerShell\\v1.0', 'C:\\Windows\\System32\\OpenSSH', 'C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common', 'C:\\Users\\<USERNAME>\\AppData\\Local\\Microsoft\\WindowsApps', 'C:\\ProgramData\\chocolatey\\bin', 'C:\\Program Files\\PuTTY', 'C:\\Program Files\\dotnet', 'C:\\Program Files\\NVIDIA Corporation\\NVIDIA App\\NvDLISR', 'C:\\Program Files\\Git\\cmd', 'C:\\Users\\<USERNAME>\\.local\\bin', 'C:\\Program Files\\CMake\\bin', 'C:\\Program Files\\nodejs', 'C:\\Program Files\\NVIDIA Corporation\\Nsight Compute 2026.1.1', 'C:\\Users\\<USERNAME>\\.unsloth\\studio\\bin', 'C:\\Users\\<USERNAME>\\AppData\\Local\\Programs\\Python\\Python313\\Scripts', 'C:\\Users\\<USERNAME>\\AppData\\Local\\Programs\\Python\\Python313', 'C:\\Users\\<USERNAME>\\AppData\\Local\\Programs\\Python\\Launcher', 'C:\\Users\\<USERNAME>\\AppData\\Local\\Programs\\Microsoft VS Code\\bin', 'C:\\Program Files (x86)\\Nmap', 'C:\\ffmpeg', 'C:\\Users\\<USERNAME>\\AppData\\Local\\Programs\\cursor\\resources\\app\\bin', 'C:\\Users\\<USERNAME>\\AppData\\Local\\Programs\\Ollama', 'C:\\Users\\<USERNAME>\\AppData\\Local\\Microsoft\\WinGet\\Links', 'C:\\Users\\<USERNAME>\\AppData\\Roaming\\npm', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v13.2\\lib\\x64', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v13.0\\lib\\x64', 'C:\\Users\\<USERNAME>\\.unsloth\\studio\\unsloth_studio\\Lib\\site-packages\\torch\\lib']
    torch_pref = cuda13
    RESOLVED_UPSTREAM_TAG b9222
    UPSTREAM_WIN_ASSETS ['cudart-llama-bin-win-cuda-12.4-x64.zip', 'cudart-llama-bin-win-cuda-13.1-x64.zip', 'llama-b9222-bin-win-cpu-arm64.zip', 'llama-b9222-bin-win-cpu-x64.zip', 'llama-b9222-bin-win-cuda-12.4-x64.zip', 'llama-b9222-bin-win-cuda-13.1-x64.zip']
    WIN_CUDA_ATTEMPTS ['llama-b9222-bin-win-cuda-13.1-x64.zip']
    SEL windows_cuda_selection: driver_runtime=13.1
    SEL windows_cuda_selection: detected_runtime_lines=cuda13
    SEL windows_cuda_selection: runtime_dirs cuda13=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.2\bin\x64,C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.0\bin\x64,<USERPROFILE>\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\lib
    SEL windows_cuda_selection: runtime_dirs cuda12=none
    SEL windows_cuda_selection: host_runtime_order=cuda13
    SEL windows_cuda_selection: torch_preferred_runtime_line=cuda13 reordered_attempts
    SEL windows_cuda_selection: normal_runtime_order=cuda13
    SEL windows_cuda_selection: attempt_runtime_order=cuda13
    SEL windows_cuda_selection: selected llama-b9222-bin-win-cuda-13.1-x64.zip runtime=13.1
    SEL windows_cuda_selection: paired runtime archive cudart-llama-bin-win-cuda-13.1-x64.zip
    
    
  6. windotsu commented on May 30, 2026

    @windotsu
    Author

    @mmathew23 unsloth-llama-resolve log

    TORCH 2.10.0+cu130 CUDA 13.0 AVAIL True CAP (12, 0)
    Sat <USERNAME>y 30 01:17:43 2026       
    +-----------------------------------------------------------------------------------------+
    | NVIDIA-SMI 581.42                 Driver Version: 581.42         CUDA Version: 13.0     |
    +-----------------------------------------+------------------------+----------------------+
    | GPU  Name                  Driver-Model | Bus-Id          Disp.A | Volatile Uncorr. ECC |
    | Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
    |                                         |                        |               MIG M. |
    |=========================================+========================+======================|
    |   0  NVIDIA GeForce RTX 5090      WDDM  |   00000000:0F:00.0  On |                  N/A |
    | 38%   59C    P0            121W /  437W |   11645MiB /  32607MiB |     18%      Default |
    |                                         |                        |                  N/A |
    +-----------------------------------------+------------------------+----------------------+
    
    +-----------------------------------------------------------------------------------------+
    | Processes:                                                                              |
    |  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
    |        ID   ID                                                               Usage      |
    |=========================================================================================|
    |REMOVED                                                                                  |
    +-----------------------------------------------------------------------------------------+
    0, GPU-d0d2f76f-6754-443e-57d2-6c453b64aff8, 12.0
    HOST {"system": "Windows", "<USERNAME>chine": "amd64", "driver_cuda_version": [13, 0], "compute_caps": ["120"], "has_physical_nvidia": true, "has_usable_nvidia": true, "visible_cuda_devices": null}
    pick_windows_cuda_runtime = 13.1
    compatible_windows_runtime_lines = ['cuda13', 'cuda12']
    detected_windows_runtime_lines = ['cuda13']
    windows_runtime_dirs = ['C:\\bin\\lla<USERNAME>', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v13.0\\bin', 'C:\\Python313\\Scripts', 'C:\\Python313', 'C:\\Windows\\System32', 'C:\\Windows', 'C:\\Windows\\System32\\wbem', 'C:\\Windows\\System32\\WindowsPowerShell\\v1.0', 'C:\\Windows\\System32\\OpenSSH', 'C:\\Program Files\\Git\\cmd', 'C:\\Program Files\\Git\\mingw64\\bin', 'C:\\Program Files\\Git\\usr\\bin', 'C:\\Program Files\\NVIDIA Corporation\\NVIDIA app\\NvDLISR', 'C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common', 'C:\\Program Files\\eSpeak NG', 'C:\\Program Files (x86)\\Windows Kits\\10\\Windows Perfor<USERNAME>nce Toolkit', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v13.0', 'C:\\Program Files\\Docker\\Docker\\resources\\bin', 'C:\\Users\\<USERNAME>\\.unsloth\\studio\\bin', 'C:\\Users\\<USERNAME>\\AppData\\Local\\Microsoft\\WinGet\\Links', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v13.0\\lib\\x64', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.8\\lib\\x64', 'C:\\Users\\<USERNAME>\\.unsloth\\studio\\unsloth_studio\\Lib\\site-packages\\torch\\lib', 'C:\\Users\\<USERNAME>\\AppData\\Roaming\\Python\\Python313\\site-packages\\torch\\lib']
    torch_pref = cuda13
    RESOLVED_UPSTREAM_TAG b9222
    UPSTREAM_WIN_ASSETS ['cudart-lla<USERNAME>-bin-win-cuda-12.4-x64.zip', 'cudart-lla<USERNAME>-bin-win-cuda-13.1-x64.zip', 'lla<USERNAME>-b9222-bin-win-cpu-arm64.zip', 'lla<USERNAME>-b9222-bin-win-cpu-x64.zip', 'lla<USERNAME>-b9222-bin-win-cuda-12.4-x64.zip', 'lla<USERNAME>-b9222-bin-win-cuda-13.1-x64.zip']
    WIN_CUDA_ATTEMPTS ['lla<USERNAME>-b9222-bin-win-cuda-13.1-x64.zip']
    SEL windows_cuda_selection: driver_runtime=13.1
    SEL windows_cuda_selection: detected_runtime_lines=cuda13
    SEL windows_cuda_selection: runtime_dirs cuda13=C:\bin\lla<USERNAME>,<USERPROFILE>\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\lib
    SEL windows_cuda_selection: runtime_dirs cuda12=none
    SEL windows_cuda_selection: host_runtime_order=cuda13
    SEL windows_cuda_selection: torch_preferred_runtime_line=cuda13 reordered_attempts
    SEL windows_cuda_selection: nor<USERNAME>l_runtime_order=cuda13
    SEL windows_cuda_selection: attempt_runtime_order=cuda13
    SEL windows_cuda_selection: selected lla<USERNAME>-b9222-bin-win-cuda-13.1-x64.zip runtime=13.1
    SEL windows_cuda_selection: paired runtime archive cudart-lla<USERNAME>-bin-win-cuda-13.1-x64.zip
    
    
  7. danielhanchen commented on Jun 18, 2026

    @danielhanchen
    Member

    This should be fixed now - sorry on the delay - please update Unsloth Studio to the latest via curl -fsSL https://unsloth.ai/install.sh | sh for Linux, Mac, WSL or irm https://unsloth.ai/install.ps1 | iex for Windows - if it's not fixed yet, it'll be in the next Studio release - if it's still not working after that, please open another issue - appreciate it again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions