mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3716] [GUI] deleting a model from the app unregisters it but leaves the GGUF files and prepared pack on disk (~110 GB) #1551
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1551
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @aishag80g-stack on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3716
Strata version
strata 0.2.1 (build 0.1.46.1; python 3.12.15)— desktop app 0.2.1, engine 0.1.46, Linux x86_64, RTX 4060 TiWhat happened
I installed a new model today (Qwen3.8-Flash-Next GSQ-RCO IQ3_XXS) through the desktop app, let it prepare the pack, loaded it, decided against it, and used the app's delete for the model. The app stopped listing the model afterwards, but the files were never removed from disk — ~110 GB stayed behind:
~/Documents/Strata/Models/IQ3_XXS/— both GGUF shards (47.0 GB + 28.8 GB), each with its.donemarker intact~/Documents/Strata/packs/iq3_xxs/— the fully prepared pack (dense.bin1.5 GB,experts.bin42.9 GB, tokenizer, index), withconversions.jsonandexperts.bin.src.jsonall completedDisk usage stayed exactly where it was before the delete (64%). I removed the two folders by hand afterwards and freed ~110 GB, so nothing else was holding them.
What I expected
Delete should remove (or at least offer to remove) the model's GGUF files and its prepared pack, matching the space it reported preparing them.
What I saw instead
The model was unregistered (
strata models listno longer shows it) but every payload file remained on disk. Note the two roots the app used on this machine, in case it matters for the repro:models dir · ~/Documents/Strata/Models,workspace · ~/Documents/Strata/Workspace~/.config/strata/settings.jsonkeeps"data_dir": "~/.local/share/strata/Strata-data"(where an earlier model, coder-IQ1_M, still lives — 55 GB, and that one is still registered)The deleted model's files had only ever lived under
~/Documents/Strata, so the deletion appears to have skipped the folder tree the desktop host actually installs into.Steps to reproduce
~/Documents/Strata/Models/<quant>/and~/Documents/Strata/packs/<quant>/— files remain, disk free unchanged.Evidence
State right after the in-app delete (files with their
.donemarkers still on disk):Environment
strata doctor: all componentsok(no PROFILE_NOT_SELECTED besides the info line)Form
strata models list/strata doctor)dfunchanged (64% → 52% only after manualrmof the two folders)okunderstrata doctor@github-actions[bot] commented on GitHub (Oct 22, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
@aishag80g-stack commented on GitHub (Oct 22, 2026):
Timeline from this machine's logs (Oct 22, local time):
~/Documents/Strata/Models/IQ3_XXScreated, shard 1 downloading.donemarkers written)iq3_xxsprepared (dense.bin,experts.bincomplete by 08:25)strata models list, but by the 08:31 host start log nothing had been removed; both folders were still fully on disk with post-deletedfunchanged at 64%.Also worth noting: none of the model's files were ever under
data_dir(~/.local/share/strata/Strata-data) — the payload landed and stayed only in~/Documents/Strata(the dirs the desktop host reported asmodels dir/workspace), whilestrata models listreads run configs from the install dir. So the delete path that unregisters the model does not appear to reach the desktop host'sDocuments/Stratatree.@therealMKD commented on GitHub (Oct 22, 2026):
Can you update to 0.2.2 and confirm it still exists? I believe this was fixed in 0.2.2, with the resolution of #3507 and #3424
This may also be intended behavior, so that you do not lose your massive downloaded model files.
@nawoa commented on GitHub (Oct 22, 2026):
It still happens today. It deletes the first GGUF in a set and leaves the rest. Obviously not intended behavior.
@therealMKD commented on GitHub (Oct 22, 2026):
@nawoa Tested it myself, and can confirm it on 0.2.2.
Weird that it deletes on but can't figure out how to get rid of the rest of them
@Niko1221 commented on GitHub (Oct 27, 2026):
Thank you and the people who tested. Part was fixed in 0.2.5 (files in another models folder). Your report and nawoa's show a second gap: only the first file of a multi-file model was removed. Fixed in 0.2.7: All files of the set go, and the person's own files stay.
Release: https://github.com/Niko1221/Strata/releases/tag/v0.2.7