mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4892] [Engine] "Download and prepare" asks for the full 128 GB on an installed NVFP4 pack: the disk check looks in models\<family-tag><model> while setup writes models\<owner>--<repo> #2247
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#2247
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 @beastrobin on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4892
Area
[Engine] (speed, kernels, models, the server and API)
Desktop app, Terminal or source?
Desktop app ("Download and prepare" on the Models page), checked against
tools/strata_mcp.pyWhat happened
Asking to prepare an NVFP4 pack that is already fully on disk (120 GB, 6
.ggufshards,pack/prepared, all.donemarks) is refused for lack of disk space:That data dir already holds the whole pack. The check looks in a folder setup never writes:
tools/strata_mcp.py:2365-2368setup.pystores ready-made packs under<models>\<owner>--<repo>, the repository layout, not under the family tag:ready_where()(setup.py:3281-3285),prepared_dir()(setup.py:3288-3290), and setup itself prints that path atsetup.py:9969("The model files go in ...").On this machine:
MODELS["NVFP4"]["repo"]isMaximilian228/Qwen3.8-Flash-Next-NVFP4-GPTQ-Strata,download_gbis128.0, and the family tag is"nvfp4-", sohave_diris alwaysmodels\nvfp4-NVFP4.partlyis therefore alwaysFalsefor this pack and the "already downloaded" branch (8 GB) is never taken — the tool asks for the full 128 GB download plus headroom on top of the 120 GB already sitting on that drive. The 137 GB in the message is exactly128 + 8 + 1.gguf_dirdoes not cover this case: it is a separate parameter for files fetched by hand, and there is nothing to pass for a pack setup installed itself.Expected: the readiness probe should use the layout setup writes —
MODELS[model]["repo"].replace("/", "--")(orready_where()/prepared_dir()), with the tag-based folder kept as the fallback for the families that really do use it. An installed pack would then reportpartly_downloaded: true,disk_needed_gb: 9, and the card would offer a repair rather than a 128 GB download.Related: #4891 — an engine update leaving stale absolute paths in the run config can make an installed model show as "not installed", which is how this dialog gets reached in the first place. The two together are what a user sees as "it forgot all my models and now says the disk is too small".
Smallest steps or command that reproduce it
D:\Strata-data— setup writesmodels\Maximilian228--Qwen3.8-Flash-Next-NVFP4-GPTQ-Strata.vision.exepath from #4891, or any doctor failure), so it offers "Download and prepare".disk_usage("D:\Strata-data")→ 113.7 GiB free (122 GB decimal), whilehave_dirdoes not exist and the repo folder does.Reproduction status
Reproduced locally
Strata version
0.2.9, Control 0.1.55, engine 0.1.55-windows-x86_64-cuda-cuda13
Graphics card, memory and system
RTX PRO 6000 Blackwell Workstation Edition 96 GB (driver 610.74), 256 GB RAM, Windows 11 Pro
Model, size and settings
Qwen3.8-Flash-Next NVFP4 GPTQ (
Maximilian228/Qwen3.8-Flash-Next-NVFP4-GPTQ-Strata, 128 GB download, 6 shards), vision on, data dirD:\Strata-dataLogs
@XiaoBinGan commented on GitHub (Nov 1, 2026):
Reproduced on
main(c62d5e3a) from a pure-Python call totools/strata_mcp.py: no GPU, no model, no network.install_plan()computedhave_dir = <data>/models/<family tag><model>(models/nvfp4-NVFP4). A ready-made pack iswritten by setup under
<models>/<owner>--<repo>(setup.pyready_where()), so the probe never saw it. With the packfolder on disk and six
*.gguffiles in it:With the change (setup's own expected-file list, whose ready-pack branch already goes through
ready_where(); thetag-folder scan stays as the fallback):
I will send a PR with this and a regression test in
tools/test_strata_mcp.py(the new test fails onmainwithAssertionError: False is not true : the pack's files are on this disk, and passes with the change), keeping themodels/<tag>lookup for the regular downloads that really use it.