unsloth/studio/backend/core
LeoBorcherding a9afb8011c Vulkan GPU picker: allow uncached Hub GGUFs, backstop diffusion at spawn
The pre-download /load and /validate Vulkan gates rejected gpu_ids whenever
_classify_diffusion_gguf was not False, but None is the ordinary first-load
case for an uncached Hub GGUF (no local header to classify yet). That 400'd
first-time remote GGUF loads and made the new Vulkan GPU picker unusable unless
the model was already cached.

Reject only a CONFIRMED diffusion GGUF (is True) at the gates. For the rare
uncached model that turns out to be diffusion after download, add a spawn-time
backstop in load_model: on a Vulkan build, drop the unmappable gpu_ids pin
before _start_diffusion_server (ggml Vulkan ordinals cannot be forwarded as the
runner's CUDA/DG token) so it serves on the default device instead of the wrong
card. Regression tests cover the relaxed gate and the spawn backstop.
2026-07-23 18:34:24 -05:00
..
data_recipe Studio: add configurable model download location (#7274) 2026-07-23 01:34:38 -07:00
export Studio: add configurable model download location (#7274) 2026-07-23 01:34:38 -07:00
inference Vulkan GPU picker: allow uncached Hub GGUFs, backstop diffusion at spawn 2026-07-23 18:34:24 -05:00
rag Studio: add configurable model download location (#7274) 2026-07-23 01:34:38 -07:00
training Studio: add local speech-to-text dictation engine (#7095) 2026-07-23 01:39:03 -07:00
__init__.py Reduce and tighten code comments and docstrings repo-wide (#6095) 2026-06-08 23:09:51 -07:00
_torchao_stub.py Reduce and tighten code comments and docstrings repo-wide (#6095) 2026-06-08 23:09:51 -07:00
import_guards.py Studio: self-heal unsloth namespace shadows; clearer failed-load messages (#6532) 2026-06-21 22:43:31 -07:00
tool_healing.py Studio: Inkling support fixes (#7153) 2026-07-15 11:22:38 -07:00