Roland Tannous
47654cb91c
Final cleanup
2026-03-12 18:28:04 +00:00
Roland Tannous
a2baf80511
Update license headers
2026-03-12 17:23:10 +00:00
Roland Tannous
6f77c63229
refactor: remove project_root passing, use self-resolved paths and ~/.unsloth/studio
...
- Workers now compute backend_path and venv_t5 locally via Path(__file__)
- Moved .venv_t5 to ~/.unsloth/studio/.venv_t5
- Added ensure_studio_directories() call on server startup
- Expanded CLI studio command into sub-app with setup subcommand
2026-03-11 20:32:18 +00:00
Roland Tannous
817f2e8dcc
feat: integrate structlog, configure workers for prod logging, and migrate print statements
2026-03-11 12:33:16 +00:00
Roland Tannous
d882678fe4
Add AGPL-3.0 SPDX headers to all source files
2026-03-09 20:17:45 +00:00
Roland Tannous
e25705a211
fix: propagate PYTHONPATH to child subprocesses, revert tokenizer patching
2026-03-07 11:28:24 +00:00
Roland Tannous
76c78afb8f
fix: patch TokenizersBackend by model name - Qwen3.5→Qwen2Tokenizer, GLM→PreTrainedTokenizer
2026-03-07 10:29:59 +00:00
Roland Tannous
d60cd2843f
fix: patch Qwen3.5 broken tokenizer_class TokenizersBackend across all backends
2026-03-07 09:43:25 +00:00
Roland Tannous
bd60562145
fix: bump transformers 5.x pin from 5.1.0 to 5.2.0 for Qwen3.5 support
2026-03-07 09:10:09 +00:00
Roland Tannous
4b7ad23b3a
feat: broaden Qwen3.5 matching to cover entire family
2026-03-06 16:48:28 +00:00
Roland Tannous
ed1e63c814
feat: add Qwen3.5-35B-A3B and Qwen3-Next to transformers 5.x model list
2026-03-06 10:54:48 +00:00
Roland Tannous
c3bc19494f
fix: pin huggingface_hub==1.3.0 in .venv_t5 (satisfies transformers 5.x)
2026-03-06 06:19:28 +00:00
Roland Tannous
6b32af0bdc
feat: subprocess-based export, pin huggingface_hub==0.36.0
2026-03-06 06:03:09 +00:00
Roland Tannous
1167be2798
refactor: consolidate version switching to .venv_t5, remove .venv_overlay
...
All version switching now uses .venv_t5/ (pre-installed by setup.sh).
The old .venv_overlay/ with runtime pip installs is removed.
ensure_transformers_version() (used only by export) now does a
lightweight sys.path swap instead of pip installing at runtime.
2026-03-06 04:37:06 +00:00
Roland Tannous
9696bd557a
fix: exclude bitsandbytes from module purge to prevent duplicate operator registration
2026-03-05 16:40:20 +00:00
Roland Tannous
5de6246142
Purge own utils/core modules and use lazy imports so is_vision_model picks up fresh AutoConfig after version switch
2026-02-22 20:04:35 +00:00
Roland Tannous
60997a75eb
Install transformers into both site-packages and overlay to fix sub-package resolution during version switch
2026-02-22 19:44:12 +00:00
Roland Tannous
7cde520176
Move transformers overlay to local .venv_overlay/, add huggingface-hub to overlay install
2026-02-22 19:34:46 +00:00
Roland Tannous
15cb9b0f37
Use sys.path overlay to switch transformers versions in-process instead of modifying site-packages
2026-02-22 19:19:12 +00:00
Roland Tannous
0050e78aa3
Fix in-memory transformers version detection and aggressive module purge for 5.1.0/4.57.1 switching
2026-02-22 19:08:18 +00:00
Roland Tannous
1c2653fcc2
aggressive reload_transformers
2026-02-22 18:52:06 +00:00
Roland Tannous
4d06258e93
Auto-switch transformers version (5.1.0/4.57.1) for Ministral-3, GLM-4.7-Flash, Qwen3-30B-A3B models with LoRA adapter resolution
2026-02-22 18:29:40 +00:00