[GH-ISSUE #3927] DeepSeek setup: pack_gguf.py picks up the Qwen mmproj from the shared models folder and stops #1678

Closed
opened 2026-11-04 01:53:08 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @anbow1 on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3927

Summary

python setup.py --family deepseek41 --model IST-DAS-2.25bpw stops at Step 6 ("preparing the model for Strata") when the
Qwen3.8-Flash-Next vision GGUF is in the same models folder:

G:\Strata-data\models\mmproj-Qwen3.8-Flash-Next-BF16.gguf: not a DeepSeek-V4.1 vision GGUF (projector 'qwen3vl_merger')
[X] command failed (exit 1): python.exe

Cause

tools/dsv41/pack_gguf.py (~line 734): without --mmproj it takes the first mmproj*.gguf in <model>/...
DeepSeek's model folder is G:\Strata-data\models\deepseek-v4.1-flash-IST-DAS-2.25bpw, so <model>/.. is the shared
models folder, where a Qwen install keeps its own mmproj-Qwen3.8-Flash-Next-BF16.gguf. The script finds it and
exits on the projector check. Setup does not download a DeepSeek mmproj, so any PC that has Qwen with vision installed
hits this.

Suggested fix (either)

  • Glob only DeepSeek vision files (e.g. mmproj*DeepSeek*.gguf), or
  • when the auto-found file's projector is not deepseek41v, skip it with a warning instead of SystemExit
    (keep the hard error only when --mmproj was passed explicitly), or
  • have setup pass the mmproj path (or an explicit "no mmproj") instead of relying on the folder scan.

Workaround

Rename the Qwen file so it doesn't start with mmproj, run setup again, then rename it back.

Environment

Windows 11, RTX 5090 32 GB, 128 GB DDR5, Strata from git (main @ 8183c6b6, 2026-10-24), Python 3.13.
Full command from setup:
pack_gguf.py --model G:\Strata-data\models\deepseek-v4.1-flash-IST-DAS-2.25bpw --shards ...IQ2_XS-0000{1..4}-of-00004.gguf --engram ...Engram-IQ4_NL.gguf --engram-meta ...UD-Q8_K_XL-00001-of-00009.gguf --dspark-gguf ...dspark-...-Q8_0.gguf --out G:\Strata-data\packs\deepseek-v4.1-flash-ist-das-2.25bpw

Originally created by @anbow1 on GitHub (Oct 24, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3927 ### Summary `python setup.py --family deepseek41 --model IST-DAS-2.25bpw` stops at Step 6 ("preparing the model for Strata") when the Qwen3.8-Flash-Next vision GGUF is in the same models folder: G:\Strata-data\models\mmproj-Qwen3.8-Flash-Next-BF16.gguf: not a DeepSeek-V4.1 vision GGUF (projector 'qwen3vl_merger') [X] command failed (exit 1): python.exe ### Cause `tools/dsv41/pack_gguf.py` (~line 734): without `--mmproj` it takes the first `mmproj*.gguf` in `<model>/..`. DeepSeek's model folder is `G:\Strata-data\models\deepseek-v4.1-flash-IST-DAS-2.25bpw`, so `<model>/..` is the shared `models` folder, where a Qwen install keeps its own `mmproj-Qwen3.8-Flash-Next-BF16.gguf`. The script finds it and exits on the projector check. Setup does not download a DeepSeek mmproj, so any PC that has Qwen with vision installed hits this. ### Suggested fix (either) - Glob only DeepSeek vision files (e.g. `mmproj*DeepSeek*.gguf`), or - when the auto-found file's projector is not `deepseek41v`, skip it with a warning instead of `SystemExit` (keep the hard error only when `--mmproj` was passed explicitly), or - have setup pass the mmproj path (or an explicit "no mmproj") instead of relying on the folder scan. ### Workaround Rename the Qwen file so it doesn't start with `mmproj`, run setup again, then rename it back. ### Environment Windows 11, RTX 5090 32 GB, 128 GB DDR5, Strata from git (main @ 8183c6b6, 2026-10-24), Python 3.13. Full command from setup: `pack_gguf.py --model G:\Strata-data\models\deepseek-v4.1-flash-IST-DAS-2.25bpw --shards ...IQ2_XS-0000{1..4}-of-00004.gguf --engram ...Engram-IQ4_NL.gguf --engram-meta ...UD-Q8_K_XL-00001-of-00009.gguf --dspark-gguf ...dspark-...-Q8_0.gguf --out G:\Strata-data\packs\deepseek-v4.1-flash-ist-das-2.25bpw`
bsakaguchi 2026-11-04 01:53:08 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 24, 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".

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:6380942318 --> @github-actions[bot] commented on GitHub (Oct 24, 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". 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

@Niko1221 commented on GitHub (Oct 24, 2026):

This is fixed in Strata 0.2.4.2. Please update to the latest release (in the Terminal: strata update; in the app: download the newest installer from the releases page). If it still happens on the latest version, reply here and we will reopen it. Thank you for the report.

<!-- gh-comment-id:6383440266 --> @Niko1221 commented on GitHub (Oct 24, 2026): This is fixed in Strata 0.2.4.2. Please update to the latest release (in the Terminal: `strata update`; in the app: download the newest installer from the releases page). If it still happens on the latest version, reply here and we will reopen it. Thank you for the report.
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#1678
No description provided.