unsloth/studio/backend
Daniel Han 798e73e770 fix(studio): add tiktoken to .venv_t5 for Qwen tokenizers
Qwen-family models (Qwen3.5, etc.) use a tiktoken-based tokenizer.
When Studio routes these models through the transformers 5.x overlay
(.venv_t5), the tokenizer instantiation fails with:

  ValueError: Couldn't instantiate the backend tokenizer...
  You need to have sentencepiece or tiktoken installed

This happens because .venv_t5 was set up with only transformers and
huggingface_hub (both --no-deps). The main venv usually has tiktoken,
but on Windows it sometimes does not.

Fix: install tiktoken into .venv_t5 in both setup.sh and the runtime
fallback (_ensure_venv_t5_exists). Uses --no-deps in the runtime path
since regex/requests are always present in the main venv.
2026-03-18 10:33:45 +00:00
..
assets studio: improve onboarding UX, tooltips, and training defaults (#4355) 2026-03-17 07:46:07 -07:00
auth fix: remove old comments (#4292) 2026-03-14 16:50:13 +04:00
core feat(studio): infinite scroll for recommended models list (#4414) 2026-03-18 03:17:01 -07:00
loggers Final cleanup 2026-03-12 18:28:04 +00:00
models studio: improve onboarding UX, tooltips, and training defaults (#4355) 2026-03-17 07:46:07 -07:00
plugins Final cleanup 2026-03-12 18:28:04 +00:00
requirements Trim ~255 MB of unused packages from Studio setup (#4395) 2026-03-17 21:32:38 -07:00
routes studio: improve onboarding UX, tooltips, and training defaults (#4355) 2026-03-17 07:46:07 -07:00
state Final cleanup 2026-03-12 18:28:04 +00:00
tests fix(seed): disable remote code execution in seed inspect dataset loads (#4275) 2026-03-13 19:37:43 +04:00
utils fix(studio): add tiktoken to .venv_t5 for Qwen tokenizers 2026-03-18 10:33:45 +00:00
__init__.py Final cleanup 2026-03-12 18:28:04 +00:00
colab.py Fix/colab comment edits (#4317) 2026-03-16 16:15:46 -07:00
main.py studio: web search, KV cache dtype, training progress, inference fixes 2026-03-17 00:30:01 -07:00
run.py studio: improve onboarding UX, tooltips, and training defaults (#4355) 2026-03-17 07:46:07 -07:00