Repository navigation
Conversation
popfido
marked this pull request as ready for review
August 22, 2026 15:23
popfido
force-pushed
the
fix/local-cache-model-management-2749
branch
from
August 31, 2026 03:29
fe31bfb to
9a7ff08
Compare
popfido
force-pushed
the
fix/local-cache-model-management-2749
branch
3 times, most recently
from
September 10, 2026 07:13
2747208 to
da43869
Compare
popfido
force-pushed
the
fix/local-cache-model-management-2749
branch
from
September 19, 2026 07:01
da43869 to
6e197f9
Compare
popfido
force-pushed
the
fix/local-cache-model-management-2749
branch
from
October 10, 2026 15:10
6e197f9 to
03d3183
Compare
3 tasks done
Owner
|
@popfido Your report in #2749 was right, and the removal path in this PR is what I ended up shipping. I put a smaller version of it on main in #4548, with you as co-author on the commit. It lists Hugging Face cache models in the web Model Manager with a badge, removes the cache repo as one unit on delete, and warns that other apps sharing the cache will need to download it again. I'm closing this one instead of merging it. Main moved a lot since your last rebase (#4431 and #4508 landed on the same files), and that part is on me, not you. The exposed profile rows also go beyond #2749, so I'd rather look at that UX on its own if you still want it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/admin/api/modelsthe Model Manager catalog and expose explicit removal capabilitiesRoot cause
The manager listed storage through
/admin/api/hf/models, while deletion searched only configured flat and organization layouts. Runtime-discoveredmodels--Org--Repo/snapshots/<revision>entries therefore rendered as deletable but returned404: Model not found. The macOS catalog also did not decode source/capability metadata and offered the same disk action for virtual and profile rows.UX
Local cache: “Remove from local cache” plus the shared-cache warningVirtual: no destructive actionProfile: delete the profile relationship onlyValidation
tests/test_admin_api_key.py tests/test_hf_downloader.pyModelsScreenSortingTestsrerungit diff --checkpassFixes #2749