Two bugs prevented unsloth_zoo from being installed when running setup.sh --local on Google Colab: 1. setup.sh had no argument parsing for --local. The flag was only handled by install.sh, which sets STUDIO_LOCAL_INSTALL and STUDIO_LOCAL_REPO as env vars before calling setup.sh. When the Colab notebook calls setup.sh --local directly, the flag was silently ignored. 2. The Colab no-venv path set _SKIP_PYTHON_DEPS=true, which skipped install_python_stack entirely. That function is the only place that installs unsloth + unsloth_zoo and applies the local editable overlay (install_python_stack.py lines 402-423). Fix: add --local parsing to setup.sh, and re-enable install_python_stack on Colab when --local is passed (the PyPI version check that uses $VENV_DIR/bin/python is still correctly skipped). |
||
|---|---|---|
| .. | ||
| backend | ||
| frontend | ||
| __init__.py | ||
| install_llama_prebuilt.py | ||
| install_python_stack.py | ||
| LICENSE.AGPL-3.0 | ||
| setup.bat | ||
| setup.ps1 | ||
| setup.sh | ||
| Unsloth_Studio_Colab.ipynb | ||