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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Bump install.sh / install.ps1 pins to unsloth>=2026.8.6, unsloth-zoo>=2026.8.5 (#8038)
Daniel Hane849d313b8e9
diff --git a/install.ps1 b/install.ps1index 6654d531713..e4ca0654786 100644--- a/install.ps1+++ b/install.ps1@@ -3225,7 +3225,7 @@ exit 0if ($SkipTorch) {# No-torch: install unsloth + unsloth-zoo with --no-deps, then# runtime deps (typer, safetensors, transformers, etc.) with --no-deps.- $baseInstallExit = Invoke-InstallCommandRetry -Label "install unsloth (migrated no-torch)" { uv pip install --python $VenvPython --no-deps --reinstall-package unsloth --reinstall-package unsloth-zoo "unsloth>=2026.8.5" "unsloth-zoo>=2026.8.4" }+ $baseInstallExit = Invoke-InstallCommandRetry -Label "install unsloth (migrated no-torch)" { uv pip install --python $VenvPython --no-deps --reinstall-package unsloth --reinstall-package unsloth-zoo "unsloth>=2026.8.6" "unsloth-zoo>=2026.8.5" }if ($baseInstallExit -eq 0) {# Resolve pydantic WITH deps so pip pins pydantic-core# to the matching version (no-torch-runtime.txt below@@ -3239,7 +3239,7 @@ exit 0}}} else {- $baseInstallExit = Invoke-InstallCommandRetry -Label "install unsloth (migrated)" { uv pip install --python $VenvPython --reinstall-package unsloth --reinstall-package unsloth-zoo "unsloth>=2026.8.5" "unsloth-zoo>=2026.8.4" }+ $baseInstallExit = Invoke-InstallCommandRetry -Label "install unsloth (migrated)" { uv pip install --python $VenvPython --reinstall-package unsloth --reinstall-package unsloth-zoo "unsloth>=2026.8.6" "unsloth-zoo>=2026.8.5" }}if ($baseInstallExit -ne 0) {Write-Host "[ERROR] Failed to install unsloth (exit code $baseInstallExit)" -ForegroundColor Red@@ -3366,7 +3366,7 @@ exit 0if ($SkipTorch) {# No-torch: install unsloth + unsloth-zoo with --no-deps, then# runtime deps (typer, safetensors, transformers, etc.) with --no-deps.- $baseInstallExit = Invoke-InstallCommandRetry -Label "install unsloth (no-torch)" { uv pip install --python $VenvPython --no-deps --upgrade-package unsloth --upgrade-package unsloth-zoo "unsloth>=2026.8.5" "unsloth-zoo>=2026.8.4" }+ $baseInstallExit = Invoke-InstallCommandRetry -Label "install unsloth (no-torch)" { uv pip install --python $VenvPython --no-deps --upgrade-package unsloth --upgrade-package unsloth-zoo "unsloth>=2026.8.6" "unsloth-zoo>=2026.8.5" }if ($baseInstallExit -eq 0) {# Same pydantic-with-deps trick as the migrated branch.$baseInstallExit = Invoke-InstallCommandRetry -Label "install pydantic" { uv pip install --python $VenvPython pydantic }@@ -3378,7 +3378,7 @@ exit 0}}} elseif ($StudioLocalInstall) {- $baseInstallExit = Invoke-InstallCommandRetry -Label "install unsloth (local)" { uv pip install --python $VenvPython --upgrade-package unsloth "unsloth>=2026.8.5" "unsloth-zoo>=2026.8.4" }+ $baseInstallExit = Invoke-InstallCommandRetry -Label "install unsloth (local)" { uv pip install --python $VenvPython --upgrade-package unsloth "unsloth>=2026.8.6" "unsloth-zoo>=2026.8.5" }} else {$baseInstallExit = Invoke-InstallCommandRetry -Label "install unsloth" { uv pip install --python $VenvPython --upgrade-package unsloth -- "$PackageName" }}@@ -3406,7 +3406,7 @@ exit 0Write-TauriLog "STEP" "Installing unsloth"substep "installing unsloth (this may take a few minutes)..."if ($StudioLocalInstall) {- $baseInstallExit = Invoke-InstallCommandRetry -Label "install unsloth (auto torch backend)" { uv pip install --python $VenvPython "unsloth-zoo>=2026.8.4" "unsloth>=2026.8.5" --torch-backend=auto }+ $baseInstallExit = Invoke-InstallCommandRetry -Label "install unsloth (auto torch backend)" { uv pip install --python $VenvPython "unsloth-zoo>=2026.8.5" "unsloth>=2026.8.6" --torch-backend=auto }if ($baseInstallExit -ne 0) {Write-Host "[ERROR] Failed to install unsloth (exit code $baseInstallExit)" -ForegroundColor Redreturn (Exit-InstallFailure "Failed to install unsloth (exit code $baseInstallExit)" $baseInstallExit)diff --git a/install.sh b/install.shindex f6fad59623e..0a6cb0e3d8d 100755--- a/install.sh+++ b/install.sh@@ -4151,7 +4151,7 @@ if [ "$_MIGRATED" = true ]; then# to prevent transitive torch resolution.run_install_cmd_retry "install unsloth (migrated no-torch)" uv pip install --python "$_VENV_PY" --no-deps \--reinstall-package unsloth --reinstall-package unsloth-zoo \- "unsloth>=2026.8.5" "unsloth-zoo>=2026.8.4"+ "unsloth>=2026.8.6" "unsloth-zoo>=2026.8.5"# Resolve pydantic WITH deps so pip pins pydantic-core to the# matching version (no-torch-runtime.txt below is --no-deps).# All transitive deps are torch-free.@@ -4168,7 +4168,7 @@ if [ "$_MIGRATED" = true ]; thenrun_install_cmd_retry "install unsloth (migrated)" uv pip install --python "$_VENV_PY" \${_UNSLOTH_TORCH_OVERRIDES:+--overrides "$_UNSLOTH_TORCH_OVERRIDES"} \--reinstall-package unsloth --reinstall-package unsloth-zoo \- "unsloth>=2026.8.5" "unsloth-zoo>=2026.8.4" ${_MLX_LM_EXCLUDE_ARG:-}+ "unsloth>=2026.8.6" "unsloth-zoo>=2026.8.5" ${_MLX_LM_EXCLUDE_ARG:-}[ -n "$_UNSLOTH_TORCH_OVERRIDES" ] && rm -f "$_UNSLOTH_TORCH_OVERRIDES"_UNSLOTH_TORCH_OVERRIDES=""fi@@ -4402,7 +4402,7 @@ elif [ -n "$TORCH_INDEX_URL" ]; then# runtime deps (typer, safetensors, transformers, etc.) with --no-deps.run_install_cmd_retry "install unsloth (no-torch)" uv pip install --python "$_VENV_PY" --no-deps \--upgrade-package unsloth --upgrade-package unsloth-zoo \- "unsloth>=2026.8.5" "unsloth-zoo>=2026.8.4"+ "unsloth>=2026.8.6" "unsloth-zoo>=2026.8.5"# Same pydantic-with-deps trick as the migrated branch.run_install_cmd_retry "install pydantic (with deps for compatible core)" \uv pip install --python "$_VENV_PY" pydantic@@ -4421,7 +4421,7 @@ elif [ -n "$TORCH_INDEX_URL" ]; thenelif [ "$STUDIO_LOCAL_INSTALL" = true ]; thenrun_install_cmd_retry "install unsloth (local)" uv pip install --python "$_VENV_PY" \${_UNSLOTH_TORCH_OVERRIDES:+--overrides "$_UNSLOTH_TORCH_OVERRIDES"} \- --upgrade-package unsloth "unsloth>=2026.8.5" "unsloth-zoo>=2026.8.4"+ --upgrade-package unsloth "unsloth>=2026.8.6" "unsloth-zoo>=2026.8.5"substep "overlaying local repo (editable)..."run_install_cmd "overlay local repo" uv pip install --python "$_VENV_PY" -e "$_REPO_ROOT" --no-depssubstep "overlaying unsloth-zoo from git main..."@@ -4450,7 +4450,7 @@ elsetauri_log "STEP" "Installing Unsloth"substep "installing unsloth (this may take a few minutes)..."if [ "$STUDIO_LOCAL_INSTALL" = true ]; then- run_install_cmd_retry "install unsloth (auto torch backend)" uv pip install --python "$_VENV_PY" "unsloth-zoo>=2026.8.4" "unsloth>=2026.8.5" --torch-backend=auto+ run_install_cmd_retry "install unsloth (auto torch backend)" uv pip install --python "$_VENV_PY" "unsloth-zoo>=2026.8.5" "unsloth>=2026.8.6" --torch-backend=autosubstep "overlaying local repo (editable)..."run_install_cmd "overlay local repo" uv pip install --python "$_VENV_PY" -e "$_REPO_ROOT" --no-depssubstep "overlaying unsloth-zoo from git main..."