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 installer floor to 2026.4.7 (#5134)
Daniel Han2bd6d544ff45
diff --git a/install.ps1 b/install.ps1index 3fc9ac46903..7f98fc5cb82 100644--- a/install.ps1+++ b/install.ps1@@ -912,7 +912,7 @@ shell.Run cmd, 0, Falseif ($SkipTorch) {# No-torch: install unsloth + unsloth-zoo with --no-deps, then# runtime deps (typer, safetensors, transformers, etc.) with --no-deps.- $baseInstallExit = Invoke-InstallCommand { uv pip install --python $VenvPython --no-deps --reinstall-package unsloth --reinstall-package unsloth-zoo "unsloth>=2026.4.5" unsloth-zoo }+ $baseInstallExit = Invoke-InstallCommand { uv pip install --python $VenvPython --no-deps --reinstall-package unsloth --reinstall-package unsloth-zoo "unsloth>=2026.4.7" unsloth-zoo }if ($baseInstallExit -eq 0) {$NoTorchReq = Find-NoTorchRuntimeFileif ($NoTorchReq) {@@ -920,7 +920,7 @@ shell.Run cmd, 0, False}}} else {- $baseInstallExit = Invoke-InstallCommand { uv pip install --python $VenvPython --reinstall-package unsloth --reinstall-package unsloth-zoo "unsloth>=2026.4.5" unsloth-zoo }+ $baseInstallExit = Invoke-InstallCommand { uv pip install --python $VenvPython --reinstall-package unsloth --reinstall-package unsloth-zoo "unsloth>=2026.4.7" unsloth-zoo }}if ($baseInstallExit -ne 0) {Write-Host "[ERROR] Failed to install unsloth (exit code $baseInstallExit)" -ForegroundColor Red@@ -950,7 +950,7 @@ shell.Run cmd, 0, Falseif ($SkipTorch) {# No-torch: install unsloth + unsloth-zoo with --no-deps, then# runtime deps (typer, safetensors, transformers, etc.) with --no-deps.- $baseInstallExit = Invoke-InstallCommand { uv pip install --python $VenvPython --no-deps --upgrade-package unsloth --upgrade-package unsloth-zoo "unsloth>=2026.4.5" unsloth-zoo }+ $baseInstallExit = Invoke-InstallCommand { uv pip install --python $VenvPython --no-deps --upgrade-package unsloth --upgrade-package unsloth-zoo "unsloth>=2026.4.7" unsloth-zoo }if ($baseInstallExit -eq 0) {$NoTorchReq = Find-NoTorchRuntimeFileif ($NoTorchReq) {@@ -958,7 +958,7 @@ shell.Run cmd, 0, False}}} elseif ($StudioLocalInstall) {- $baseInstallExit = Invoke-InstallCommand { uv pip install --python $VenvPython --upgrade-package unsloth "unsloth>=2026.4.5" unsloth-zoo }+ $baseInstallExit = Invoke-InstallCommand { uv pip install --python $VenvPython --upgrade-package unsloth "unsloth>=2026.4.7" unsloth-zoo }} else {$baseInstallExit = Invoke-InstallCommand { uv pip install --python $VenvPython --upgrade-package unsloth "$PackageName" }}@@ -979,7 +979,7 @@ shell.Run cmd, 0, False# Fallback: GPU detection failed to produce a URL -- let uv resolve torchsubstep "installing unsloth (this may take a few minutes)..."if ($StudioLocalInstall) {- $baseInstallExit = Invoke-InstallCommand { uv pip install --python $VenvPython unsloth-zoo "unsloth>=2026.4.5" --torch-backend=auto }+ $baseInstallExit = Invoke-InstallCommand { uv pip install --python $VenvPython unsloth-zoo "unsloth>=2026.4.7" --torch-backend=auto }if ($baseInstallExit -ne 0) {Write-Host "[ERROR] Failed to install unsloth (exit code $baseInstallExit)" -ForegroundColor Redreturndiff --git a/install.sh b/install.shindex 6915893ddf3..0352887de1c 100755--- a/install.sh+++ b/install.sh@@ -1316,7 +1316,7 @@ if [ "$_MIGRATED" = true ]; then# to prevent transitive torch resolution.run_install_cmd "install unsloth (migrated no-torch)" uv pip install --python "$_VENV_PY" --no-deps \--reinstall-package unsloth --reinstall-package unsloth-zoo \- "unsloth>=2026.4.5" unsloth-zoo+ "unsloth>=2026.4.7" unsloth-zoo_NO_TORCH_RT="$(_find_no_torch_runtime)"if [ -n "$_NO_TORCH_RT" ]; thenrun_install_cmd "install no-torch runtime deps" uv pip install --python "$_VENV_PY" --no-deps -r "$_NO_TORCH_RT"@@ -1324,7 +1324,7 @@ if [ "$_MIGRATED" = true ]; thenelserun_install_cmd "install unsloth (migrated)" uv pip install --python "$_VENV_PY" \--reinstall-package unsloth --reinstall-package unsloth-zoo \- "unsloth>=2026.4.5" unsloth-zoo+ "unsloth>=2026.4.7" unsloth-zoofiif [ "$STUDIO_LOCAL_INSTALL" = true ]; thensubstep "overlaying local repo (editable)..."@@ -1487,7 +1487,7 @@ elif [ -n "$TORCH_INDEX_URL" ]; then# runtime deps (typer, safetensors, transformers, etc.) with --no-deps.run_install_cmd "install unsloth (no-torch)" uv pip install --python "$_VENV_PY" --no-deps \--upgrade-package unsloth --upgrade-package unsloth-zoo \- "unsloth>=2026.4.5" unsloth-zoo+ "unsloth>=2026.4.7" unsloth-zoo_NO_TORCH_RT="$(_find_no_torch_runtime)"if [ -n "$_NO_TORCH_RT" ]; thenrun_install_cmd "install no-torch runtime deps" uv pip install --python "$_VENV_PY" --no-deps -r "$_NO_TORCH_RT"@@ -1498,7 +1498,7 @@ elif [ -n "$TORCH_INDEX_URL" ]; thenfielif [ "$STUDIO_LOCAL_INSTALL" = true ]; thenrun_install_cmd "install unsloth (local)" uv pip install --python "$_VENV_PY" \- --upgrade-package unsloth "unsloth>=2026.4.5" unsloth-zoo+ --upgrade-package unsloth "unsloth>=2026.4.7" unsloth-zoosubstep "overlaying local repo (editable)..."run_install_cmd "overlay local repo" uv pip install --python "$_VENV_PY" -e "$_REPO_ROOT" --no-depselse@@ -1525,7 +1525,7 @@ else# Fallback: GPU detection failed to produce a URL -- let uv resolve torchsubstep "installing unsloth (this may take a few minutes)..."if [ "$STUDIO_LOCAL_INSTALL" = true ]; then- run_install_cmd "install unsloth (auto torch backend)" uv pip install --python "$_VENV_PY" unsloth-zoo "unsloth>=2026.4.5" --torch-backend=auto+ run_install_cmd "install unsloth (auto torch backend)" uv pip install --python "$_VENV_PY" unsloth-zoo "unsloth>=2026.4.7" --torch-backend=autosubstep "overlaying local repo (editable)..."run_install_cmd "overlay local repo" uv pip install --python "$_VENV_PY" -e "$_REPO_ROOT" --no-depselse