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
install: overlay unsloth-zoo from git main on --local (#5242)
Roland Tannouse4e89f41c15a
diff --git a/install.ps1 b/install.ps1index dcd86eb0197..ab43bcdc520 100644--- a/install.ps1+++ b/install.ps1@@ -1089,6 +1089,12 @@ shell.Run cmd, 0, FalseWrite-Host "[ERROR] Failed to overlay local repo (exit code $overlayExit)" -ForegroundColor Redreturn (Exit-InstallFailure "Failed to overlay local repo (exit code $overlayExit)" $overlayExit)}+ substep "overlaying unsloth-zoo from git main..."+ $zooOverlayExit = Invoke-InstallCommand { uv pip install --python $VenvPython --no-deps --reinstall-package unsloth-zoo "unsloth-zoo @ git+https://github.com/unslothai/unsloth-zoo" }+ if ($zooOverlayExit -ne 0) {+ Write-Host "[ERROR] Failed to overlay unsloth-zoo (exit code $zooOverlayExit)" -ForegroundColor Red+ return (Exit-InstallFailure "Failed to overlay unsloth-zoo (exit code $zooOverlayExit)" $zooOverlayExit)+ }}} elseif ($TorchIndexUrl) {if ($SkipTorch) {@@ -1132,6 +1138,12 @@ shell.Run cmd, 0, FalseWrite-Host "[ERROR] Failed to overlay local repo (exit code $overlayExit)" -ForegroundColor Redreturn (Exit-InstallFailure "Failed to overlay local repo (exit code $overlayExit)" $overlayExit)}+ substep "overlaying unsloth-zoo from git main..."+ $zooOverlayExit = Invoke-InstallCommand { uv pip install --python $VenvPython --no-deps --reinstall-package unsloth-zoo "unsloth-zoo @ git+https://github.com/unslothai/unsloth-zoo" }+ if ($zooOverlayExit -ne 0) {+ Write-Host "[ERROR] Failed to overlay unsloth-zoo (exit code $zooOverlayExit)" -ForegroundColor Red+ return (Exit-InstallFailure "Failed to overlay unsloth-zoo (exit code $zooOverlayExit)" $zooOverlayExit)+ }}} else {# Fallback: GPU detection failed to produce a URL -- let uv resolve torch@@ -1149,6 +1161,12 @@ shell.Run cmd, 0, FalseWrite-Host "[ERROR] Failed to overlay local repo (exit code $overlayExit)" -ForegroundColor Redreturn (Exit-InstallFailure "Failed to overlay local repo (exit code $overlayExit)" $overlayExit)}+ substep "overlaying unsloth-zoo from git main..."+ $zooOverlayExit = Invoke-InstallCommand { uv pip install --python $VenvPython --no-deps --reinstall-package unsloth-zoo "unsloth-zoo @ git+https://github.com/unslothai/unsloth-zoo" }+ if ($zooOverlayExit -ne 0) {+ Write-Host "[ERROR] Failed to overlay unsloth-zoo (exit code $zooOverlayExit)" -ForegroundColor Red+ return (Exit-InstallFailure "Failed to overlay unsloth-zoo (exit code $zooOverlayExit)" $zooOverlayExit)+ }} else {$baseInstallExit = Invoke-InstallCommand { uv pip install --python $VenvPython --torch-backend=auto -- "$PackageName" }if ($baseInstallExit -ne 0) {diff --git a/install.sh b/install.shindex 18c6bba5891..a9861a108f2 100755--- a/install.sh+++ b/install.sh@@ -1501,6 +1501,10 @@ if [ "$_MIGRATED" = true ]; thenif [ "$STUDIO_LOCAL_INSTALL" = true ]; thensubstep "overlaying local repo (editable)..."run_install_cmd "overlay local repo" uv pip install --python "$_VENV_PY" -e "$_REPO_ROOT" --no-deps+ substep "overlaying unsloth-zoo from git main..."+ run_install_cmd "overlay unsloth-zoo (git main)" uv pip install --python "$_VENV_PY" \+ --no-deps --reinstall-package unsloth-zoo \+ "unsloth-zoo @ git+https://github.com/unslothai/unsloth-zoo"fi# AMD ROCm: install bitsandbytes even in migrated environments so# existing ROCm installs gain the AMD bitsandbytes build without a@@ -1668,12 +1672,20 @@ elif [ -n "$TORCH_INDEX_URL" ]; thenif [ "$STUDIO_LOCAL_INSTALL" = true ]; thensubstep "overlaying local repo (editable)..."run_install_cmd "overlay local repo" uv pip install --python "$_VENV_PY" -e "$_REPO_ROOT" --no-deps+ substep "overlaying unsloth-zoo from git main..."+ run_install_cmd "overlay unsloth-zoo (git main)" uv pip install --python "$_VENV_PY" \+ --no-deps --reinstall-package unsloth-zoo \+ "unsloth-zoo @ git+https://github.com/unslothai/unsloth-zoo"fielif [ "$STUDIO_LOCAL_INSTALL" = true ]; thenrun_install_cmd "install unsloth (local)" uv pip install --python "$_VENV_PY" \--upgrade-package unsloth "unsloth>=2026.4.8" unsloth-zoosubstep "overlaying local repo (editable)..."run_install_cmd "overlay local repo" uv pip install --python "$_VENV_PY" -e "$_REPO_ROOT" --no-deps+ substep "overlaying unsloth-zoo from git main..."+ run_install_cmd "overlay unsloth-zoo (git main)" uv pip install --python "$_VENV_PY" \+ --no-deps --reinstall-package unsloth-zoo \+ "unsloth-zoo @ git+https://github.com/unslothai/unsloth-zoo"elserun_install_cmd "install unsloth" uv pip install --python "$_VENV_PY" \--upgrade-package unsloth -- "$PACKAGE_NAME"@@ -1702,6 +1714,10 @@ elserun_install_cmd "install unsloth (auto torch backend)" uv pip install --python "$_VENV_PY" unsloth-zoo "unsloth>=2026.4.8" --torch-backend=autosubstep "overlaying local repo (editable)..."run_install_cmd "overlay local repo" uv pip install --python "$_VENV_PY" -e "$_REPO_ROOT" --no-deps+ substep "overlaying unsloth-zoo from git main..."+ run_install_cmd "overlay unsloth-zoo (git main)" uv pip install --python "$_VENV_PY" \+ --no-deps --reinstall-package unsloth-zoo \+ "unsloth-zoo @ git+https://github.com/unslothai/unsloth-zoo"elserun_install_cmd "install unsloth (auto torch backend)" uv pip install --python "$_VENV_PY" --torch-backend=auto -- "$PACKAGE_NAME"fi