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: pin unsloth>=2026.3.11 in install.sh and install.ps1 (#4556)

Daniel Hanacc881452f11
diff --git a/install.ps1 b/install.ps1
index d438e5ed2db..52386dd2fd7 100644
--- a/install.ps1
+++ b/install.ps1
@@ -275,7 +275,7 @@ function Install-UnslothStudio {
}
Write-Host "==> Installing unsloth (this may take a few minutes)..."
- uv pip install --python $VenvPython --upgrade-package unsloth unsloth
+ uv pip install --python $VenvPython --upgrade-package unsloth "unsloth>=2026.3.11"
if ($LASTEXITCODE -ne 0) {
Write-Host "[ERROR] Failed to install unsloth (exit code $LASTEXITCODE)" -ForegroundColor Red
return
diff --git a/install.sh b/install.sh
index 18db3469f4c..3d8e08612c3 100755
--- a/install.sh
+++ b/install.sh
@@ -235,7 +235,7 @@ fi
# ── Install unsloth directly into the venv (no activation needed) ──
echo "==> Installing unsloth (this may take a few minutes)..."
-uv pip install --python "$VENV_NAME/bin/python" unsloth --torch-backend=auto
+uv pip install --python "$VENV_NAME/bin/python" "unsloth>=2026.3.11" --torch-backend=auto
# ── Run studio setup ──
# Ensure the venv's Python is on PATH for setup.sh's Python discovery.