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 pin to unsloth>=2026.8.19 (#9422)
Daniel Han255c04e30984
diff --git a/install.ps1 b/install.ps1index dc64ba60652..4c27393fafa 100644--- a/install.ps1+++ b/install.ps1@@ -5574,7 +5574,7 @@ exit 0$_desktopMinVer = if ($env:UNSLOTH_DESKTOP_BACKEND_VERSION) { $env:UNSLOTH_DESKTOP_BACKEND_VERSION.Trim() } else { "" }$_unslothDesktopInstallSpec = if ($_desktopMinVer) { "unsloth>=$_desktopMinVer" } else { $null }- $_unslothReleaseInstallSpec = if ($_unslothDesktopInstallSpec) { $_unslothDesktopInstallSpec } else { "unsloth>=2026.8.18" }+ $_unslothReleaseInstallSpec = if ($_unslothDesktopInstallSpec) { $_unslothDesktopInstallSpec } else { "unsloth>=2026.8.19" }if ($_Migrated) {# Migrated env: force-reinstall unsloth+unsloth-zoo for a clean state, preserving@@ -5584,7 +5584,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)" { & $script:UvExe pip install --python $VenvPython --no-deps --reinstall-package unsloth --reinstall-package unsloth-zoo "$_unslothReleaseInstallSpec" "unsloth-zoo>=2026.8.12" }+ $baseInstallExit = Invoke-InstallCommandRetry -Label "install unsloth (migrated no-torch)" { & $script:UvExe pip install --python $VenvPython --no-deps --reinstall-package unsloth --reinstall-package unsloth-zoo "$_unslothReleaseInstallSpec" "unsloth-zoo>=2026.8.13" }if ($baseInstallExit -eq 0) {# Resolve pydantic WITH deps so pip pins pydantic-core# to the matching version (no-torch-runtime.txt below@@ -5598,7 +5598,7 @@ exit 0}}} else {- $baseInstallExit = Invoke-InstallCommandRetry -Label "install unsloth (migrated)" { & $script:UvExe pip install --python $VenvPython --reinstall-package unsloth --reinstall-package unsloth-zoo "$_unslothReleaseInstallSpec" "unsloth-zoo>=2026.8.12" }+ $baseInstallExit = Invoke-InstallCommandRetry -Label "install unsloth (migrated)" { & $script:UvExe pip install --python $VenvPython --reinstall-package unsloth --reinstall-package unsloth-zoo "$_unslothReleaseInstallSpec" "unsloth-zoo>=2026.8.13" }}if ($baseInstallExit -ne 0) {Write-StudioLine "[ERROR] Failed to install unsloth (exit code $baseInstallExit)" -ForegroundColor Red@@ -5725,7 +5725,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)" { & $script:UvExe pip install --python $VenvPython --no-deps --upgrade-package unsloth --upgrade-package unsloth-zoo "$_unslothReleaseInstallSpec" "unsloth-zoo>=2026.8.12" }+ $baseInstallExit = Invoke-InstallCommandRetry -Label "install unsloth (no-torch)" { & $script:UvExe pip install --python $VenvPython --no-deps --upgrade-package unsloth --upgrade-package unsloth-zoo "$_unslothReleaseInstallSpec" "unsloth-zoo>=2026.8.13" }if ($baseInstallExit -eq 0) {# Same pydantic-with-deps trick as the migrated branch.$baseInstallExit = Invoke-InstallCommandRetry -Label "install pydantic" { & $script:UvExe pip install --python $VenvPython pydantic }@@ -5737,7 +5737,7 @@ exit 0}}} elseif ($StudioLocalInstall) {- $baseInstallExit = Invoke-InstallCommandRetry -Label "install unsloth (local)" { & $script:UvExe pip install --python $VenvPython --upgrade-package unsloth "$_unslothReleaseInstallSpec" "unsloth-zoo>=2026.8.12" }+ $baseInstallExit = Invoke-InstallCommandRetry -Label "install unsloth (local)" { & $script:UvExe pip install --python $VenvPython --upgrade-package unsloth "$_unslothReleaseInstallSpec" "unsloth-zoo>=2026.8.13" }} else {$_unslothPkg = if ($PackageName -eq "unsloth" -and $_unslothDesktopInstallSpec) { $_unslothDesktopInstallSpec } else { $PackageName }$baseInstallExit = Invoke-InstallCommandRetry -Label "install unsloth" { & $script:UvExe pip install --python $VenvPython --upgrade-package unsloth -- "$_unslothPkg" }@@ -5766,7 +5766,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)" { & $script:UvExe pip install --python $VenvPython "unsloth-zoo>=2026.8.12" "$_unslothReleaseInstallSpec" --torch-backend=auto }+ $baseInstallExit = Invoke-InstallCommandRetry -Label "install unsloth (auto torch backend)" { & $script:UvExe pip install --python $VenvPython "unsloth-zoo>=2026.8.13" "$_unslothReleaseInstallSpec" --torch-backend=auto }if ($baseInstallExit -ne 0) {Write-StudioLine "[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 907e2fc08b3..aaf8bf212ff 100755--- a/install.sh+++ b/install.sh@@ -4944,7 +4944,7 @@ _unsloth_desktop_install_spec=""if [ -n "${UNSLOTH_DESKTOP_BACKEND_VERSION:-}" ]; then_unsloth_desktop_install_spec="unsloth>=${UNSLOTH_DESKTOP_BACKEND_VERSION}"fi-_unsloth_release_install_spec="${_unsloth_desktop_install_spec:-unsloth>=2026.8.18}"+_unsloth_release_install_spec="${_unsloth_desktop_install_spec:-unsloth>=2026.8.19}"if [ "$_MIGRATED" = true ]; then# Migrated env: force-reinstall unsloth+unsloth-zoo for a clean state, preserving@@ -4958,7 +4958,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_release_install_spec" "unsloth-zoo>=2026.8.12"+ "$_unsloth_release_install_spec" "unsloth-zoo>=2026.8.13"# 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.@@ -4973,7 +4973,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_release_install_spec" "unsloth-zoo>=2026.8.12"+ "$_unsloth_release_install_spec" "unsloth-zoo>=2026.8.13"[ -n "$_UNSLOTH_TORCH_OVERRIDES" ] && rm -f "$_UNSLOTH_TORCH_OVERRIDES"_UNSLOTH_TORCH_OVERRIDES=""fi@@ -5207,7 +5207,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_release_install_spec" "unsloth-zoo>=2026.8.12"+ "$_unsloth_release_install_spec" "unsloth-zoo>=2026.8.13"# 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@@ -5226,7 +5226,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_release_install_spec" "unsloth-zoo>=2026.8.12"+ --upgrade-package unsloth "$_unsloth_release_install_spec" "unsloth-zoo>=2026.8.13"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..."@@ -5259,7 +5259,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.12" "$_unsloth_release_install_spec" --torch-backend=auto+ run_install_cmd_retry "install unsloth (auto torch backend)" uv pip install --python "$_VENV_PY" "unsloth-zoo>=2026.8.13" "$_unsloth_release_install_spec" --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..."