Skip to content

[Bug] llama update failed #9970

Closed
Closed

Description

@mosinnik

name: Unsloth Studio Bug
about: Report a problem with the Unsloth Studio desktop app or web UI
title: "[Bug] llama update failed"
labels: bug
assignees: ""

Environment

Where are you using Unsloth?

  • [+] Unsloth desktop application
  • Unsloth web UI (unsloth studio)
  • Unsloth CLI
  • Python package or notebook
  • Colab or Kaggle

Operating system and version:

GPU model(s) and accelerator backend:

Versions:
Unsloth
Версия Unsloth
v0.1.804-beta
Версия пакета
2026.8.22
Версия настольного приложения
0.1.804-beta
Версия llama.cpp
b10639-mix-f6f92fe

What happened?

Steps to reproduce:
I got notification in studio that llama.cpp need update

Image

When I run update I got error "llama update: failed" and long string. From logs I see only two related messages:

11:49:17 [INFO] [backend] {"timestamp": "2026-08-29T11:49:17.353041Z", "level": "info", "event": "llama update: installing", "cmd": "C:\\Users\\user\\.unsloth\\studio\\unsloth_studio\\Scripts\\python.exe C:\\Users\\user\\.unsloth\\studio\\unsloth_studio\\Lib\\site-packages\\studio\\install_llama_prebuilt.py --install-dir C:\\Users\\user\\.unsloth\\llama.cpp --llama-tag latest --published-repo unslothai/llama.cpp --published-release-tag b10679-mix-67dfc8b"}
11:49:23 [INFO] [backend] {"timestamp": "2026-08-29T11:49:23.980641Z", "level": "warning", "event": "llama update: failed", "error": "installer exited 2: le\\Java\\javapath_target_1425671,C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath_target_1602062,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:\\kubectl,C:\\Program Files\\7-Zip,C:\\Program Files\\PuTTY,C:\\Program Files\\Git\\cmd,E:\\apache-maven-3.6.3\\bin,E:\\apache-ant-1.10.14\\bin,C:\\Program Files\\dotnet,C:\\nodejs,C:\\ffmpeg,C:\\Program Files\\NVIDIA Corporation\\Nsight Compute 2025.1.0,E:\\git\\hsdis,C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit,C:\\Program Files\\Docker\\Docker\\resources\\bin,C:\\Program Files\\DTrace,C:\\ProgramData\\chocolatey\\bin,C:\\Program Files\\NVIDIA Corporation\\NVIDIA App\\NvDLISR,C:\\Python310,C:\\Users\\user\\.unsloth\\studio\\bin,C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python313\\Scripts,C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python313,C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Launcher,C:\\Users\\user\\.local\\bin,C:\\Users\\user\\.cargo\\bin,C:\\Users\\user\\AppData\\Local\\Microsoft\\WindowsApps,C:\\Program Files (x86)\\Nmap,C:\\Users\\user\\.cache\\lm-studio\\bin,C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.8\\lib\\x64,C:\\Users\\user\\.unsloth\\studio\\unsloth_studio\\Lib\\site-packages\\torch\\lib\nwindows_runtime_lines=cuda13,cuda12\nwindows_runtime_dirs_cuda13=C:\\Users\\user\\.unsloth\\studio\\unsloth_studio\\Lib\\site-packages\\torch\\lib\nwindows_runtime_dirs_cuda12=C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.8\\bin"}

If I run same command in cmd then I see problem

C:\Users\user>C:\Users\user\.unsloth\studio\unsloth_studio\Scripts\python.exe C:\Users\user\.unsloth\studio\unsloth_studio\Lib\site-packages\studio\install_llama_prebuilt.py --install-dir C:\Users\user\.unsloth\llama.cpp --llama-tag latest --published-repo unslothai/llama.cpp --published-release-tag b10679-mix-67dfc8b
[llama-prebuilt] existing llama.cpp install detected at C:\Users\user\.unsloth\llama.cpp; validating staged prebuilt update before replacement
[llama-prebuilt] fetch failed (1/4) for https://api.github.com/repos/unslothai/llama.cpp/releases/tags/b10679-mix-67dfc8b: HTTP Error 403: rate limit exceeded; retrying
[llama-prebuilt] fetch failed (2/4) for https://api.github.com/repos/unslothai/llama.cpp/releases/tags/b10679-mix-67dfc8b: HTTP Error 403: rate limit exceeded; retrying
[llama-prebuilt] fetch failed (3/4) for https://api.github.com/repos/unslothai/llama.cpp/releases/tags/b10679-mix-67dfc8b: HTTP Error 403: rate limit exceeded; retrying
[llama-prebuilt] prebuilt install path failed; falling back to source build
[llama-prebuilt] prebuilt fallback reason: failed to inspect published releases in unslothai/llama.cpp: GitHub API returned 403 for https://api.github.com/repos/unslothai/llama.cpp/releases/tags/b10679-mix-67dfc8b; set GH_TOKEN or GITHUB_TOKEN to avoid GitHub API rate limits
platform=Windows machine=amd64
driver_cuda_version=(13, 3)
compute_caps=120
cuda_visible_devices=unset
has_physical_nvidia=True
has_usable_nvidia=True
chosen_asset=none
asset_source=none
nvidia-smi:
Sat Aug 29 14:52:47 2026
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 610.88                 KMD Version: 610.88        CUDA UMD Version: 13.3     |
+-----------------------------------------+------------------------+----------------------+
| 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 5060 Ti   WDDM  |   00000000:01:00.0  On |                  N/A |
|  0%   55C    P0             27W /  180W |    1373MiB /  16311MiB |      1%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   1  NVIDIA GeForce RTX 5060 Ti   WDDM  |   00000000:03:00.0 Off |                  N/A |
|  0%   38C    P8              4W /  180W |       0MiB /  16311MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
windows_runtime_dirs=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\bin,C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\libnvvp,C:\Program Files\Common Files\Oracle\Java\javapath_target_1425671,C:\Program Files (x86)\Common Files\Oracle\Java\javapath_target_1602062,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:\kubectl,C:\Program Files\7-Zip,C:\Program Files\PuTTY,C:\Program Files\Git\cmd,E:\apache-maven-3.6.3\bin,E:\apache-ant-1.10.14\bin,C:\Program Files\dotnet,C:\nodejs,C:\ffmpeg,C:\Program Files\NVIDIA Corporation\Nsight Compute 2025.1.0,E:\git\hsdis,C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit,C:\Program Files\Docker\Docker\resources\bin,C:\Program Files\DTrace,C:\ProgramData\chocolatey\bin,C:\Program Files\NVIDIA Corporation\NVIDIA App\NvDLISR,C:\Python310,C:\Users\user\.unsloth\studio\bin,C:\Users\user\AppData\Local\Programs\Python\Python313\Scripts,C:\Users\user\AppData\Local\Programs\Python\Python313,C:\Users\user\AppData\Local\Programs\Python\Launcher,C:\Users\user\.local\bin,C:\Users\user\.cargo\bin,C:\Users\user\AppData\Local\Microsoft\WindowsApps,C:\Program Files (x86)\Nmap,C:\Users\user\.cache\lm-studio\bin,C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\lib\x64,C:\Users\user\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\lib
windows_runtime_lines=cuda13,cuda12
windows_runtime_dirs_cuda13=C:\Users\user\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\lib
windows_runtime_dirs_cuda12=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\bin

So need some sophisticated stdout parser to say user that problem with github access or add some other workaround

Activity

  1. added
    feature request
    on Aug 29, 2026
  2. Souravrajvi0 commented on Aug 29, 2026

    @Souravrajvi0
    Contributor

    Reproduced this. Pinned release-tag updates hit api.github.com and 403 without GH_TOKEN/GITHUB_TOKEN. Installer exits 2; setup.ps1 would source-build on that but Studio does not.

    The garbled error was us keeping the last 1500 chars of stdout — the windows_runtime_dirs PATH dump covered the real "set GH_TOKEN" message.

    Fix in #9980: CDN path for pinned tags + show the fallback reason instead of the tail.

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

    bugfeature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions