unsloth/studio
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
..
backend fix(studio): add tiktoken to .venv_t5 for Qwen tokenizers 2026-03-18 10:33:45 +00:00
frontend feat(studio): infinite scroll for recommended models list (#4414) 2026-03-18 03:17:01 -07:00
__init__.py Final cleanup 2026-03-12 18:28:04 +00:00
install_python_stack.py studio: improve Colab notebook, redesign ready popup, and clean up install output (#4339) 2026-03-16 21:39:25 -07: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 studio: improve onboarding UX, tooltips, and training defaults (#4355) 2026-03-17 07:46:07 -07:00
setup.sh fix(studio): add tiktoken to .venv_t5 for Qwen tokenizers 2026-03-18 10:33:45 +00:00
Unsloth_Studio_Colab.ipynb Update Unsloth_Studio_Colab.ipynb 2026-03-17 15:42:38 -07:00