unsloth/studio/backend
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
..
assets Add Gemma 4 model sampling defaults (#4838) 2026-04-03 13:57:15 -07:00
auth Studio: Expose openai and anthropic compatible external API end points (#4956) 2026-04-13 21:08:11 +04:00
core studio: ExportBackend.export_gguf batch call + try/finally relocation 2026-04-14 23:12:59 +04:00
loggers Final cleanup 2026-03-12 18:28:04 +00:00
models studio: add normalize_gguf_quantization_method helper + tests 2026-04-14 22:31:20 +04:00
plugins Bump Data Designer to 0.5.4 (removes litellm dependency) (#4569) 2026-03-25 02:01:43 -07:00
requirements Pin kernels==0.12.1 to avoid huggingface_hub dataclass conflict (#5000) 2026-04-13 20:42:02 +04:00
routes studio: route /export/gguf through quantization_method normalizer 2026-04-14 22:39:02 +04:00
state Final cleanup 2026-03-12 18:28:04 +00:00
storage feat: custom scan folders for GGUF model discovery (#4723) 2026-03-31 06:40:31 -07:00
tests studio: add normalize_gguf_quantization_method helper + tests 2026-04-14 22:31:20 +04:00
utils [Studio] Show non exported models in chat UI (#4892) 2026-04-14 15:03:58 +04:00
__init__.py Final cleanup 2026-03-12 18:28:04 +00:00
_platform_compat.py Fix Studio crash on Anaconda/conda-forge Python (#4484) 2026-03-22 05:36:55 -07:00
colab.py Fix/studio colab button message: Add fallback message for Colab Studio button when proxy URL fails (#4866) 2026-04-05 21:57:45 -07:00
main.py studio: fix api-keys access + refresh (#5005) 2026-04-13 23:48:51 +04:00
run.py Studio: Expose openai and anthropic compatible external API end points (#4956) 2026-04-13 21:08:11 +04:00
startup_banner.py studio: unify Windows installer/setup logging style, verbosity controls, and startup messaging (#4651) 2026-03-30 00:53:23 -07:00