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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| export.py | ||
| orchestrator.py | ||
| worker.py | ||