unsloth/studio/backend/requirements/base.txt
Daniel Han a484032f92 fix(studio): temporarily install unsloth and unsloth_zoo from git main
The latest PyPI releases of unsloth and unsloth_zoo do not include
recent fixes needed by Studio (Gemma 4 support, compiler patches).
Switch all install paths to pull from git main until the next PyPI
release is cut.

Changes:
- install.sh: add _DEFAULT_UNSLOTH_PKG / _DEFAULT_ZOO_PKG defaults,
  replace 7 hardcoded "unsloth>=2026.3.18" / "unsloth-zoo" references
- install.ps1: same pattern with $DefaultUnslothPkg / $DefaultZooPkg
- install_python_stack.py: add _DEFAULT_UNSLOTH_PKG / _DEFAULT_ZOO_PKG,
  update the no-torch install path
- base.txt: switch from package names to git+https URLs

To revert: change the defaults back to "unsloth>=2026.3.18" and
"unsloth-zoo" in all four files and restore base.txt to package names.
2026-04-02 18:02:59 +00:00

6 lines
293 B
Text

# Core unsloth packages
# Temporarily install from git main instead of PyPI to pick up latest
# fixes (Gemma 4 support, Studio patches). Revert to package names
# once the next PyPI release is cut.
git+https://github.com/unslothai/unsloth_zoo.git
git+https://github.com/unslothai/unsloth.git