Roland Tannous
985d2e43ee
Final cleanup
2026-03-12 18:28:04 +00:00
Roland Tannous
7e336049d8
Update license headers
2026-03-12 17:23:10 +00:00
Roland Tannous
ca1f260511
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
5b325ebc6e
feat: integrate structlog, configure workers for prod logging, and migrate print statements
2026-03-11 12:33:16 +00:00
Roland Tannous
a0f03d3080
Add AGPL-3.0 SPDX headers to all source files
2026-03-09 20:17:45 +00:00
Roland Tannous
c882a3d2f7
fix: propagate PYTHONPATH to child subprocesses, revert tokenizer patching
2026-03-07 11:28:24 +00:00
Roland Tannous
42bd976a2f
fix: patch TokenizersBackend by model name - Qwen3.5→Qwen2Tokenizer, GLM→PreTrainedTokenizer
2026-03-07 10:29:59 +00:00
Roland Tannous
44e9b838ae
fix: patch Qwen3.5 broken tokenizer_class TokenizersBackend across all backends
2026-03-07 09:43:25 +00:00
Roland Tannous
f101befca7
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
2cfcaa8b61
feat: broaden Qwen3.5 matching to cover entire family
2026-03-06 16:48:28 +00:00
Roland Tannous
c31e8a6ed7
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
7e59440029
fix: pin huggingface_hub==1.3.0 in .venv_t5 (satisfies transformers 5.x)
2026-03-06 06:19:28 +00:00
Roland Tannous
661ac4be96
feat: subprocess-based export, pin huggingface_hub==0.36.0
2026-03-06 06:03:09 +00:00
Roland Tannous
d55e9abcca
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
794b8fe866
fix: exclude bitsandbytes from module purge to prevent duplicate operator registration
2026-03-05 16:40:20 +00:00
Roland Tannous
4d0f7c525b
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
332e071b6c
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
7d2a8be0c0
Move transformers overlay to local .venv_overlay/, add huggingface-hub to overlay install
2026-02-22 19:34:46 +00:00
Roland Tannous
4d9ab493f7
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
66aaaa9af7
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
2f212f95a2
aggressive reload_transformers
2026-02-22 18:52:06 +00:00
Roland Tannous
f5b30448e8
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