unsloth/studio/backend
Daniel Han 58523dc4a9 studio: read GGUF context_length via fast header parser, set max tokens
- Fast GGUF metadata reader (~30-55ms) parses only KV header, skips
  tensor data and large arrays (tokenizer vocab etc)
- Extracts context_length and chat_template from GGUF metadata
- Returns context_length in LoadResponse for frontend to use
- Frontend sets maxTokens to actual context_length for GGUFs (e.g.
  262144 for Qwen3.5-9B, 131072 for Qwen2.5-7B)
- Max Tokens slider shows "Max" and is locked for GGUFs
- Auto-load path also uses actual context_length from load response
- Toast auto-dismiss (5s) and close button for auto-load toast
2026-03-16 11:41:09 +00:00
..
assets Final cleanup 2026-03-12 18:28:04 +00:00
auth fix: remove old comments (#4292) 2026-03-14 16:50:13 +04:00
core studio: read GGUF context_length via fast header parser, set max tokens 2026-03-16 11:41:09 +00:00
loggers Final cleanup 2026-03-12 18:28:04 +00:00
models studio: read GGUF context_length via fast header parser, set max tokens 2026-03-16 11:41:09 +00:00
plugins Final cleanup 2026-03-12 18:28:04 +00:00
requirements fix: remove old comments (#4292) 2026-03-14 16:50:13 +04:00
routes studio: read GGUF context_length via fast header parser, set max tokens 2026-03-16 11:41:09 +00: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 vision detection subprocess using undefined logger 2026-03-16 02:46:56 -07:00
__init__.py Final cleanup 2026-03-12 18:28:04 +00:00
colab.py Final cleanup 2026-03-12 18:28:04 +00:00
main.py Fix studio frontend build producing empty Tailwind CSS 2026-03-15 22:00:00 -07:00
run.py fix: Ctrl+C not terminating backend on Linux (#4316) 2026-03-16 11:58:09 +04:00