unsloth/studio/backend/core
Roland Tannous 92f22f66c0 studio: ExportBackend.export_gguf batch call + try/finally relocation
Accept List[str] and invoke save_pretrained_gguf exactly once with the
full list. Wrap the save call in a nested try/finally so the GGUF
relocation block (cwd diff + subdir flatten + _gguf dir cleanup) runs
even when the batch call raises, ensuring partial outputs are moved
into the user's export directory instead of stranded in the repo root.

push_to_hub_gguf is also called once with the full list — unsloth
handles the list internally via save_pretrained_gguf.

Success message joins the list for readable multi-format output.

Completes the backend side of the studio GGUF batching change; frontend
still loops serial calls until the next commits.
2026-04-14 23:12:59 +04:00
..
data_recipe build(deps): bump oxc-parser (#4776) 2026-04-08 03:35:33 -07:00
export studio: ExportBackend.export_gguf batch call + try/finally relocation 2026-04-14 23:12:59 +04:00
inference Studio: Expose openai and anthropic compatible external API end points (#4956) 2026-04-13 21:08:11 +04:00
training Add AMD ROCm/HIP support across installer and hardware detection (#4720) 2026-04-10 01:56:12 -07:00
__init__.py [Studio] Show non exported models in chat UI (#4892) 2026-04-14 15:03:58 +04:00