Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

fix: detect AMD/no-NVIDIA GPU early in Windows installer and guard unsloth.exe existence (#4478)

Leo Borcherding239ca986437c
diff --git a/install.ps1 b/install.ps1
index 6bf37e39dbc..02baa97b974 100644
--- a/install.ps1
+++ b/install.ps1
@@ -98,6 +98,13 @@ function Install-UnslothStudio {
# CUDA Toolkit, Node.js, and other dependencies automatically via winget.
Write-Host "==> Running unsloth studio setup..."
$UnslothExe = Join-Path $VenvName "Scripts\unsloth.exe"
+ if (-not (Test-Path $UnslothExe)) {
+ Write-Host "[ERROR] unsloth CLI was not installed correctly." -ForegroundColor Red
+ Write-Host " Expected: $UnslothExe" -ForegroundColor Yellow
+ Write-Host " This usually means an older unsloth version was installed that does not include the Studio CLI." -ForegroundColor Yellow
+ Write-Host " Try re-running the installer or see: https://github.com/unslothai/unsloth?tab=readme-ov-file#-quickstart" -ForegroundColor Yellow
+ return
+ }
& $UnslothExe studio setup
if ($LASTEXITCODE -ne 0) {
Write-Host "[ERROR] unsloth studio setup failed (exit code $LASTEXITCODE)" -ForegroundColor Red