Repository navigation
Description
- Pip install unsloth executed without problem
- unsloth studio setup executed
-> Failure, see attached log:
Log:
+==============================================+
| Unsloth Studio Setup (Windows) |
+==============================================+
[OK] NVIDIA GPU detected
[OK] Windows Long Paths enabled
[OK] Git found: git version 2.44.0.windows.1
CMake not found -- installing via winget...
[OK] CMake installed
Visual Studio Build Tools not found -- installing via winget...
(This is a one-time install, may take several minutes)
Gefunden Visual Studio BuildTools 2022 [Microsoft.VisualStudio.2022.BuildTools] Version 17.14.28
Diese Anwendung wird von ihrem Besitzer an Sie lizenziert.
Microsoft ist nicht verantwortlich und erteilt keine Lizenzen für Pakete von Drittanbietern.
Download läuft https://aka.ms/vs/17/release/626741582_-1218794322/vs_BuildTools.exe
██████████████████████████████ 4.25 MB / 4.25 MB
Der Installer-Hash wurde erfolgreich überprüft
Paketinstallation wird gestartet...
Erfolgreich installiert
[OK] Visual Studio 17 2022 detected via filesystem (BuildTools)
cl.exe: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.44.35207\bin\Hostx64\x64\cl.exe
Driver supports up to CUDA 13.1
GPU Compute Capability = 8.9 (sm_89)
[DEBUG] Checking CUDA compatibility: toolkit=12.6 arch=sm_89
[OK] Using existing CUDA Toolkit at CUDA_PATH (nvcc: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6\bin\nvcc.exe)
Persisted CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6 to user environment
Set CUDA_PATH_V12_6 (cleared other CUDA_PATH_V* vars)
Persisted CUDA bin dir to user PATH
[INFO] CUDA VS integration missing -- copying .targets files...
[WARN] Could not copy CUDA VS integration files (may need admin)
Manual fix: copy contents of
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6\extras\visual_studio_integration\MSBuildExtensions
into:
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\BuildCustomizations
[OK] CUDA Toolkit: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6\bin\nvcc.exe
CUDA_PATH = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6
CudaToolkitDir = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6
[WARN] Node/npm not found.
Installing Node.js LTS via winget...
Gefunden Node.js (LTS) [OpenJS.NodeJS.LTS] Version 24.14.0
Diese Anwendung wird von ihrem Besitzer an Sie lizenziert.
Microsoft ist nicht verantwortlich und erteilt keine Lizenzen für Pakete von Drittanbietern.
Download läuft https://nodejs.org/dist/v24.14.0/node-v24.14.0-x64.msi
██████████████████████████████ 30.7 MB / 30.7 MB
Der Installer-Hash wurde erfolgreich überprüft
Paketinstallation wird gestartet...
Das Installationsprogramm fordert die Ausführung als Administrator an. Es wird ein Prompt erwartet.
Erfolgreich installiert
[OK] Node v24.14.0 | npm 11.9.0
[OK] Python Python 3.11.5
--- System prerequisites ready ---
Building frontend...
[OK] Frontend built to frontend/dist
Installing OXC validator runtime...
[OK] OXC validator runtime installed
Setting up Python environment...
[OK] Using python (Python 3.11.5)
Creating virtual environment at C:\Users<redacted>.unsloth\studio.venv...
[OK] TORCHINDUCTOR_CACHE_DIR set to C:\tc (avoids MAX_PATH issues)
Installing PyTorch with CUDA support (cu130)...
Installing Triton for Windows...
[OK] Triton for Windows installed (enables torch.compile)
Running ordered dependency installation...
[====================] 10/10 finalizing
✅ Python dependencies installed
Pre-installing transformers 5.x for newer model support...
[OK] Transformers 5.x pre-installed to .venv_t5/
Installing OpenSSL dev (for HTTPS in llama-server)...
Die Quelle "msstore" erfordert, dass Sie die folgenden Vereinbarungen vor der Verwendung anzeigen.
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
Die Quelle erfordert, dass die geografische Region des aktuellen Computers aus 2 Buchstaben an den Back-End-Dienst gesendet wird, damit er ordnungsgemäß funktioniert (z. B. „US“).
Gefunden OpenSSL [ShiningLight.OpenSSL.Dev] Version 3.6.1
Diese Anwendung wird von ihrem Besitzer an Sie lizenziert.
Microsoft ist nicht verantwortlich und erteilt keine Lizenzen für Pakete von Drittanbietern.
Dieses Paket erfordert folgende Abhängigkeiten:
- Pakete
Microsoft.VCRedist.2015+.x64
Download läuft https://slproweb.com/download/Win64OpenSSL-3_6_1.msi
██████████████████████████████ 248 MB / 248 MB
Der Installer-Hash wurde erfolgreich überprüft
Paketinstallation wird gestartet...
Erfolgreich installiert
[OK] OpenSSL dev installed at C:\Program Files\OpenSSL-Win64
Building llama.cpp with CUDA support...
This typically takes 5-10 minutes on first build.
Cloning llama.cpp...
--- cmake configure ---
[FAILED] llama.cpp build failed at step: cmake configure (0m 30.2s)
To retry: delete C:\Users<redacted>.unsloth\llama.cpp and re-run setup.
Activity
FatheredPuma81 commentedon Mar 18, 2026
Yep same thing... but in English!
danielhanchen commentedon Mar 18, 2026
I'm fixing - apologies!
Combine studio setup fixes: frontend caching, venv isolation, Windows…
sp93 commentedon Mar 18, 2026
I found a fix
https://github.com/unslothai/unsloth/issues/4378#issuecomment-4083268398
Corosauce commentedon Mar 21, 2026
Yep still broken for me too, windows 10:
https://gist.github.com/Corosauce/f2c0a8eb53272b653e281a1e07a3edbd
edit: installer didnt like my embedded python 3.11 in path, removing that then installing python 3.12 and running the parts that failed including venv setup got things working, unsloth studio already looks really great!
Combine studio setup fixes: frontend caching, venv isolation, Windows…
XeonG commentedon May 19, 2026
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
cmake installed
Visual Studio Build Tools not found -- installing via winget...
(This is a one-time install, may take several minutes)
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
[ERROR] Visual Studio Build Tools could not be found or installed.
Manual install:
1. winget install Microsoft.VisualStudio.2022.BuildTools --source winget
2. Open Visual Studio Installer -> Modify -> check "Desktop development with C++"
[ERROR] unsloth studio setup failed (exit code 1)
restoring previous environment after failed install...
restored previous environment
it is installed
winget install Microsoft.VisualStudio.2022.BuildTools --source winget
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
danielhanchen commentedon Jun 18, 2026
This should be fixed now - sorry on the delay - please update Unsloth Studio to the latest via
curl -fsSL https://unsloth.ai/install.sh | shfor Linux, Mac, WSL orirm https://unsloth.ai/install.ps1 | iexfor 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!