mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #3606] [CLOSED] [Other] setup: --gguf-dir files for Qwen3.6-35B-A3B no longer need a .done mark made by setup #4708
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#4708
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/3606
Author: @ai-bits
Created: 10/21/2026
Status: ❌ Closed
Base:
main← Head:fix/own-path-gguf-dir-no-done-mark📝 Commits (1)
e865b93[Other] setup: --gguf-dir files for Qwen3.6-35B-A3B no longer need a .done mark made by setup📊 Changes
2 files changed (+24 additions, -3 deletions)
View changed files
📝
setup.py(+5 -3)📝
tools/test_setup_qwen36.py(+19 -0)📄 Description
Problem and result:
START-HERE.bat --family qwen36 --model UD-Q4_K_XL --gguf-dir <folder>stops with"\Qwen3.6-35B-A3B-UD-Q4_K_XL.gguf is missing" when the file is there, with the pinned size, but was
downloaded by another tool (LM Studio here).
install_own_pathtreats a file as present only when<file>.doneexists, and that mark is written only by setup's own download or byverify_sha256, which thisbranch never reaches for such a file. The same gate also made the free-disk check ask for the full 22.9 GB on the
drive of the person's own folder.
After this change, with
--gguf-diran existing file (and the mmproj) goes toverify_sha256(..., own=True), whichalready checks size and SHA-256, leaves the file alone on a mismatch, and writes the mark. A file that is not in the
folder is still reported as missing.
Related discussion: none found. Searched open and closed issues and PRs for "gguf-dir", ".done", "qwen36"
(#3125 is a different Qwen3.6 error; #570 and #92 are about the Flash-Next shard check).
Approach:
One local helper in
install_own_path:have(p) = p.exists() and (done(p) or bool(a.gguf_dir)), used for themodel's disk estimate, the model's download gate and the mmproj's gate. Without
--gguf-dirnothing changes.Validation:
Passed:
python -m unittest tools.test_setup_qwen36 tools.test_setup_ownfiles(28 tests, OK) on9de04cd4plusthis change, Windows 11, mocked downloads/engine. The new
test_gguf_dir_takes_the_persons_own_files_that_have_no_finish_markfails without the change (the disk-spacerefusal above) and passes with it.
test_gguf_dir_without_the_file_still_says_it_is_missingpasses.Failed: none observed.
Not run: a full
START-HERE.batinstall after the change (the fix was found with the real command onRTX 4000 Ada / Windows 11 and I created the .done marks by hand to continue; the changed run is not yet
repeated), the other test files, Linux/macOS, AMD.
Limits:
The message "already downloaded" is now also printed for the person's own file; it is checked right after by
verify_sha256. Flash-Next's--gguf-dirpath was not touched.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.