[PR #3606] [CLOSED] [Other] setup: --gguf-dir files for Qwen3.6-35B-A3B no longer need a .done mark made by setup #4708

Closed
opened 2026-11-07 15:38:29 +07:00 by bsakaguchi · 0 comments
Owner

📋 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_path treats a file as present only when
<file>.done exists, and that mark is written only by setup's own download or by verify_sha256, which this
branch 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-dir an existing file (and the mmproj) goes to verify_sha256(..., own=True), which
already 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 the
model's disk estimate, the model's download gate and the mmproj's gate. Without --gguf-dir nothing changes.

Validation:
Passed: python -m unittest tools.test_setup_qwen36 tools.test_setup_ownfiles (28 tests, OK) on 9de04cd4 plus
this change, Windows 11, mocked downloads/engine. The new
test_gguf_dir_takes_the_persons_own_files_that_have_no_finish_mark fails without the change (the disk-space
refusal above) and passes with it. test_gguf_dir_without_the_file_still_says_it_is_missing passes.
Failed: none observed.
Not run: a full START-HERE.bat install after the change (the fix was found with the real command on
RTX 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-dir path was not touched.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/3606 **Author:** [@ai-bits](https://github.com/ai-bits) **Created:** 10/21/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/own-path-gguf-dir-no-done-mark` --- ### 📝 Commits (1) - [`e865b93`](https://github.com/Niko1221/Strata/commit/e865b93084f513a1b9efc4e3ce22aab433236fe2) [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) <details> <summary>View changed files</summary> 📝 `setup.py` (+5 -3) 📝 `tools/test_setup_qwen36.py` (+19 -0) </details> ### 📄 Description Problem and result: `START-HERE.bat --family qwen36 --model UD-Q4_K_XL --gguf-dir <folder>` stops with "<folder>\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_path` treats a file as present only when `<file>.done` exists, and that mark is written only by setup's own download or by `verify_sha256`, which this branch 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-dir` an existing file (and the mmproj) goes to `verify_sha256(..., own=True)`, which already 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 the model's disk estimate, the model's download gate and the mmproj's gate. Without `--gguf-dir` nothing changes. Validation: Passed: `python -m unittest tools.test_setup_qwen36 tools.test_setup_ownfiles` (28 tests, OK) on 9de04cd4 plus this change, Windows 11, mocked downloads/engine. The new `test_gguf_dir_takes_the_persons_own_files_that_have_no_finish_mark` fails without the change (the disk-space refusal above) and passes with it. `test_gguf_dir_without_the_file_still_says_it_is_missing` passes. Failed: none observed. Not run: a full `START-HERE.bat` install after the change (the fix was found with the real command on RTX 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-dir` path was not touched. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:38:29 +07:00
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#4708
No description provided.