unsloth/studio/backend/utils
Roland Tannous b5cfd0952c fix: use subprocess with transformers 5.x for vision detection
Models like GLM-4.7-Flash have architectures (glm4_moe_lite) that
AutoConfig in the main process (transformers 4.57.x) can't recognize.
Instead of a raw config.json workaround, run the AutoConfig check in
a subprocess with .venv_t5/ activated — same pattern as training and
inference workers. This is more robust and consistent.
2026-03-06 04:51:23 +00:00
..
datasets fix: check for http(s) prefix instead of bare string type for URL detection 2026-03-05 06:10:10 +00:00
hardware Force num_proc=1 on Windows to avoid slow spawn overhead 2026-03-01 13:05:10 +00:00
inference added the inference fetching from model mappers 2026-02-15 02:48:53 -07:00
models fix: use subprocess with transformers 5.x for vision detection 2026-03-06 04:51:23 +00:00
paths fix lora: outputs path local 2026-02-15 16:58:24 +01:00
.gitkeep root studio folder 2026-02-02 09:13:49 +00:00
cache_cleanup.py feat: clear unsloth_compiled_cache on startup, shutdown, and between model loads 2026-02-23 07:26:22 +00:00
transformers_version.py refactor: consolidate version switching to .venv_t5, remove .venv_overlay 2026-03-06 04:37:06 +00:00
utils.py replace torch MPS with MLX 2026-02-11 16:04:35 +00:00