unsloth/studio
Daniel Han fc2d577d0d Fix studio setup: venv isolation, centralized .venv_t5, uv targeting
- All platforms (including Colab) now create ~/.unsloth/studio/.venv
  with --without-pip fallback for broken ensurepip environments
- Add --python sys.executable to uv pip install in install_python_stack.py
  so uv targets the correct venv instead of system Python
- Centralize .venv_t5 bootstrap in transformers_version.py with proper
  validation (checks required packages exist, not just non-empty dir)
- Replace ~150 lines of duplicated install code across 3 worker files
  with calls to the shared _ensure_venv_t5_exists() helper
- Use uv-if-present with pip fallback; do not install uv at runtime
- Add site.addsitedir() shim in colab.py so notebook cells can import
  studio packages from the venv without system-Python double-install
- Update .venv_t5 packages: huggingface_hub 1.3.0->1.7.1, add hf_xet
- Bump transformers pin 4.57.1->4.57.6 in requirements + constraints
- Add Fast-Install helper to setup.ps1 with uv+pip fallback
- Keep Colab-specific completion banner in setup.sh
2026-03-18 07:24:03 +00:00
..
backend Fix studio setup: venv isolation, centralized .venv_t5, uv targeting 2026-03-18 07:24:03 +00:00
frontend fix(studio): use explicit Cancel for model load toast (#4377) 2026-03-17 22:39:51 -07:00
__init__.py Final cleanup 2026-03-12 18:28:04 +00:00
install_python_stack.py Fix studio setup: venv isolation, centralized .venv_t5, uv targeting 2026-03-18 07:24:03 +00:00
LICENSE.AGPL-3.0 Add AGPL-3.0 license to studio folder 2026-03-09 19:36:25 +00:00
setup.bat Final cleanup 2026-03-12 18:28:04 +00:00
setup.ps1 Fix studio setup: venv isolation, centralized .venv_t5, uv targeting 2026-03-18 07:24:03 +00:00
setup.sh Fix studio setup: venv isolation, centralized .venv_t5, uv targeting 2026-03-18 07:24:03 +00:00
Unsloth_Studio_Colab.ipynb Update Unsloth_Studio_Colab.ipynb 2026-03-17 15:42:38 -07:00