unsloth/studio/backend/core
Daniel Han 973532786a Fix studio crash on Mac by deferring unsloth_zoo import
Move `from unsloth_zoo.rl_environments import check_signal_escape_patterns`
from module-level to inside `_check_code_safety()` and wrap it in a
try/except for NotImplementedError. The top-level import triggers
`unsloth_zoo.__init__` which calls `get_device_type()` at module scope,
raising NotImplementedError on Apple Silicon. On Mac the safety check
gracefully skips since unsloth_zoo is unavailable, while GGUF inference
via llama.cpp continues to work.
2026-03-18 15:58:21 +00:00
..
data_recipe Improve AI Assist: Update default model, model output parsing, logging, and dataset mapping UX (#4323) 2026-03-16 16:04:35 +04:00
export Combine studio setup fixes: frontend caching, venv isolation, Windows CPU support (#4413) 2026-03-18 03:52:25 -07:00
inference Fix studio crash on Mac by deferring unsloth_zoo import 2026-03-18 15:58:21 +00:00
training Combine studio setup fixes: frontend caching, venv isolation, Windows CPU support (#4413) 2026-03-18 03:52:25 -07:00
__init__.py Combine studio setup fixes: frontend caching, venv isolation, Windows CPU support (#4413) 2026-03-18 03:52:25 -07:00