unsloth/studio/backend/utils
Lee Jackson 8cbd16786b
Studio: Enable deleting fine-tuned chat models (#5234)
* feat: enable deleting fine-tuned chat models

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix: tighten fine-tuned model delete guards

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix: harden fine-tuned model deletion edge cases

* fix: reject gguf export delete without variant; surface 503 on backend probe failure

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix: narrow loaded-model delete guard by gguf_variant

* fix: clear inference state when cancelling model load

* fix: verify deletion completed and prune empty parent dirs

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Roland Tannous <rolandtannous@gravityq.ai>
2026-05-04 00:28:58 +04:00
..
datasets Add Qwen3.6 support (#5257) 2026-05-02 23:30:57 +04:00
hardware Add tauri (#5144) 2026-04-23 04:50:10 -07:00
inference Fix Windows local GGUF model loading crash (#4730) 2026-04-01 01:38:09 -07:00
models Studio: Enable deleting fine-tuned chat models (#5234) 2026-05-04 00:28:58 +04:00
paths Studio: add folder browser modal for Custom Folders (#5035) 2026-04-15 08:04:33 -07:00
.gitkeep root studio folder 2026-02-02 09:13:49 +00:00
__init__.py Final cleanup 2026-03-12 18:28:04 +00:00
cache_cleanup.py fix(studio): prevent ModuleNotFoundError in dataset.map() on Windows (#4473) 2026-03-22 06:11:24 -07:00
downsample.py feat(studio): training history persistence and past runs viewer (#4501) 2026-03-25 00:58:55 -07:00
subprocess_compat.py Add tauri (#5144) 2026-04-23 04:50:10 -07:00
transformers_version.py Add Qwen3.6 support (#5257) 2026-05-02 23:30:57 +04:00
utils.py Final cleanup 2026-03-12 18:28:04 +00:00
wheel_utils.py [Studio] Install flash attn at setup time for linux (#4979) 2026-04-14 16:40:17 +04:00