Skip to content

Show incomplete downloads so their cache can be finished or deleted - #627

Merged
Lazarus-931 merged 2 commits into
Blaizzy:mainfrom
Lazarus-931:fix/incomplete-download-cleanup
Sep 28, 2026
Merged

Lazarus-931 merged 2 commits into
Blaizzy:mainfrom
Lazarus-931:fix/incomplete-download-cleanup

Conversation

@Lazarus-931

Copy link
Copy Markdown
Contributor

fixes #624

when a download fails, partial files in hf cache are left, and discovery hides incomplete snapshots, so the model never appeared in the list and could not be deleted from the app (#624).

this pr adds a custom ui that makes it obvious the model is partially downloaded from the downloads page and the option to continue downloading or to remove the cache.

overall seems like something to have in-native, easier then manually doing so

verified locally with local incomplete checkpoints:

Screenshot 2026-09-28 at 8 49 14 AM

A failed download left its partial files in the Hugging Face cache, but
discovery hides incomplete snapshots, so the model never appeared in the
list and could not be deleted from the app (Blaizzy#624).

Installed now lists cached repos that hold partial blobs or are missing
indexed shards, marked with an orange half-filled circle. The row's menu
offers Finish Download, which resumes into the existing cache, and
Delete Cache, which reuses the installed-model delete path. Failed
downloads now post a library change so the row appears immediately.
@Lazarus-931
Lazarus-931 merged commit 871b9fc into Blaizzy:main Sep 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

download failures dont clean up

2 participants