[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

Closed
opened 2026-11-04 01:52:10 +07:00 by bsakaguchi · 6 comments
Owner

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 Ti

What 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 .done marker intact
  • ~/Documents/Strata/packs/iq3_xxs/ — the fully prepared pack (dense.bin 1.5 GB, experts.bin 42.9 GB, tokenizer, index), with conversions.json and experts.bin.src.json all completed

Disk 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 list no 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:

  • desktop host said models dir · ~/Documents/Strata/Models, workspace · ~/Documents/Strata/Workspace
  • but ~/.config/strata/settings.json keeps "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

  1. Desktop app 0.2.1 on Linux, install a multi-shard GGUF model (IQ3_XXS here, 76 GB), let it prepare the pack.
  2. Delete the model from the app.
  3. Check ~/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 .done markers still on disk):

$ du -sh ~/Documents/Strata/Models/IQ3_XXS ~/Documents/Strata/packs/iq3_xxs
71G  ~/Documents/Strata/Models/IQ3_XXS
42G  ~/Documents/Strata/packs/iq3_xxs

$ ls -la ~/Documents/Strata/Models/IQ3_XXS
Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf   47039860086  ...  + .done
Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf   28800138432  ...  + .done

$ strata models list
coder-iq1_m  present  qwen3.8-flash-next-coder-iq1_m    # deleted model no longer listed

$ df -h /
/dev/mapper/root  930G  591G  338G  64%   /     # unchanged after delete

# after removing the two folders by hand:
/dev/mapper/root  930G  481G  448G  52%   /     # ~110 GB freed

Environment

  • Strata 0.2.1 / engine 0.1.46.1
  • OS: Linux (Arch-based), Python 3.12.15
  • GPU: NVIDIA RTX 4060 Ti (CUDA), 31 GB RAM
  • strata doctor: all components ok (no PROFILE_NOT_SELECTED besides the info line)

Form

  • Area: setup / install / uninstall (model delete) — best guess, "Other" if it must be one of Engine/GUI/TUI/Benchmark/Docs
  • Desktop app, Terminal or source? Desktop app 0.2.1 (Terminal used only to verify strata models list / strata doctor)
  • Reproduction status: reproduced once, today, on a clean-ish 0.2.1 install; payload dirs confirmed on disk before and after delete, df unchanged (64% → 52% only after manual rm of the two folders)
  • Graphics card, memory and system: NVIDIA RTX 4060 Ti 8 GB (CUDA), 31 GB RAM, Linux x86_64 (Arch-based), repo-free machine — engine components all ok under strata doctor
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 Ti ### What 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 `.done` marker intact - `~/Documents/Strata/packs/iq3_xxs/` — the fully prepared pack (`dense.bin` 1.5 GB, `experts.bin` 42.9 GB, tokenizer, index), with `conversions.json` and `experts.bin.src.json` all completed Disk 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 list` no 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: - desktop host said `models dir · ~/Documents/Strata/Models`, `workspace · ~/Documents/Strata/Workspace` - but `~/.config/strata/settings.json` keeps `"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 1. Desktop app 0.2.1 on Linux, install a multi-shard GGUF model (IQ3_XXS here, 76 GB), let it prepare the pack. 2. Delete the model from the app. 3. Check `~/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 `.done` markers still on disk): ``` $ du -sh ~/Documents/Strata/Models/IQ3_XXS ~/Documents/Strata/packs/iq3_xxs 71G ~/Documents/Strata/Models/IQ3_XXS 42G ~/Documents/Strata/packs/iq3_xxs $ ls -la ~/Documents/Strata/Models/IQ3_XXS Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf 47039860086 ... + .done Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf 28800138432 ... + .done $ strata models list coder-iq1_m present qwen3.8-flash-next-coder-iq1_m # deleted model no longer listed $ df -h / /dev/mapper/root 930G 591G 338G 64% / # unchanged after delete # after removing the two folders by hand: /dev/mapper/root 930G 481G 448G 52% / # ~110 GB freed ``` ### Environment - Strata 0.2.1 / engine 0.1.46.1 - OS: Linux (Arch-based), Python 3.12.15 - GPU: NVIDIA RTX 4060 Ti (CUDA), 31 GB RAM - `strata doctor`: all components `ok` (no PROFILE_NOT_SELECTED besides the info line) ### Form - **Area:** setup / install / uninstall (model delete) — best guess, "Other" if it must be one of Engine/GUI/TUI/Benchmark/Docs - **Desktop app, Terminal or source?** Desktop app 0.2.1 (Terminal used only to verify `strata models list` / `strata doctor`) - **Reproduction status:** reproduced once, today, on a clean-ish 0.2.1 install; payload dirs confirmed on disk before and after delete, `df` unchanged (64% → 52% only after manual `rm` of the two folders) - **Graphics card, memory and system:** NVIDIA RTX 4060 Ti 8 GB (CUDA), 31 GB RAM, Linux x86_64 (Arch-based), repo-free machine — engine components all `ok` under `strata doctor`
bsakaguchi 2026-11-04 01:52:10 +07:00
Author
Owner

@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:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".
  • Fill in "Area".
  • Fill in "Desktop app, Terminal or source?".
  • Fill in "Reproduction status".
  • Fill in "Graphics card, memory and system".

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

<!-- gh-comment-id:6340472485 --> @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: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". - [ ] Fill in "Area". - [ ] Fill in "Desktop app, Terminal or source?". - [ ] Fill in "Reproduction status". - [ ] Fill in "Graphics card, memory and system". 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](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@aishag80g-stack commented on GitHub (Oct 22, 2026):

Timeline from this machine's logs (Oct 22, local time):

  • 08:07 — ~/Documents/Strata/Models/IQ3_XXS created, shard 1 downloading
  • 08:16/08:23 — both GGUF shards complete (.done markers written)
  • 08:23–08:25 — pack iq3_xxs prepared (dense.bin, experts.bin complete by 08:25)
  • ~08:25–08:31 — model deleted from the desktop app: it disappears from strata models list, but by the 08:31 host start log nothing had been removed; both folders were still fully on disk with post-delete df unchanged 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 as models dir / workspace), while strata models list reads run configs from the install dir. So the delete path that unregisters the model does not appear to reach the desktop host's Documents/Strata tree.

<!-- gh-comment-id:6340473293 --> @aishag80g-stack commented on GitHub (Oct 22, 2026): Timeline from this machine's logs (Oct 22, local time): - 08:07 — `~/Documents/Strata/Models/IQ3_XXS` created, shard 1 downloading - 08:16/08:23 — both GGUF shards complete (`.done` markers written) - 08:23–08:25 — pack `iq3_xxs` prepared (`dense.bin`, `experts.bin` complete by 08:25) - ~08:25–08:31 — model deleted from the desktop app: it disappears from `strata models list`, but by the 08:31 host start log nothing had been removed; both folders were still fully on disk with post-delete `df` unchanged 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 as `models dir` / `workspace`), while `strata models list` reads run configs from the install dir. So the delete path that unregisters the model does not appear to reach the desktop host's `Documents/Strata` tree.
Author
Owner

@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.

<!-- gh-comment-id:6345212812 --> @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.
Author
Owner

@nawoa commented on GitHub (Oct 22, 2026):

5. 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.

It still happens today. It deletes the first GGUF in a set and leaves the rest. Obviously not intended behavior.

<!-- gh-comment-id:6349769531 --> @nawoa commented on GitHub (Oct 22, 2026): > 5\. 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](https://github.com/Niko1221/Strata/issues/3507) and [#3424](https://github.com/Niko1221/Strata/issues/3424) > This may also be intended behavior, so that you do not lose your massive downloaded model files. It still happens today. It deletes the first GGUF in a set and leaves the rest. Obviously not intended behavior.
Author
Owner

@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

<!-- gh-comment-id:6349817441 --> @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
Author
Owner

@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

<!-- gh-comment-id:6445826309 --> @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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#1551
No description provided.