[GH-ISSUE #4359] [Engine] DeepSeek V4.1-Flash IST-DAS 2.00bpw won't start on Windows: launcher leaves a stray "off" after "--eos 1" (strata-dsv41 0.1.52, exit code 2) #1927

Closed
opened 2026-11-04 01:55:22 +07:00 by bsakaguchi · 7 comments
Owner

Originally created by @Slonko65 on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4359

Problem: DeepSeek V4.1-Flash IST-DAS 2.00bpw does not start on Windows. The engine exits immediately with "unknown option off" and exit code 2. Retrying gives the same result.

Environment:

  • Strata app/Control version: 0.27
  • DeepSeek engine: 0.1.52-windows-x86_64-cuda-cuda13 (strata-dsv41.exe)
  • OS: Windows 11
  • GPU / VRAM: Rtx 406016 GB Rtx 3060 12GB
  • RAM: 64 GB
  • Free disk space: 700GB
  • Model: deepseek-v4.1-flash-ist-das-2.00bpw (pack in C:\Users<user>\Documents\Strata\packs)

Reproduce:

  1. In the Strata app, download DeepSeek V4.1-Flash IST-DAS 2.00bpw.
  2. Start the model with the default settings ("read pictures" off).
  3. The engine exits before it is ready.

Expected: The engine starts with a valid command line and loads the pack.

Actual: server_exited (exit code 1): EngineDied: the engine exited before it was ready; the engine process ended: exit code 2. The command line in the log contains "--eos 1 off", and the engine answers "unknown option off", then prints its usage text (which lists "[--vision on|off]").

Evidence (from strata-deepseek-v4.1-flash-ist-das-2.00bpw.log):

[strata] 2026-10-27 17:48:38 engine started: ...\engine-dsv41\0.1.52-windows-x86_64-cuda-cuda13\strata-dsv41.exe --serve --pack C:\Users<user>\Documents\Strata\packs\deepseek-v4.1-flash-ist-das-2.00bpw --max-context 8192 --eos 1 off --dspark auto --dspark-conf 0.65 --tp 2 --layer-split auto
unknown option off
maya-ds4 --pack /maya-ds4 [--gpus 0,1,...] [--max-context N] [--reserve-mib N] ... [--vision on|off] [--mmap-experts on|off|auto]
(second attempt at 17:53:14: identical)

Reproduction status: reproduced locally on Windows. The same failure was reported on Linux (NixOS) in the first comment below, where the cause was traced to the launcher dropping the "--vision" flag and leaving its value "off".

Originally created by @Slonko65 on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4359 Problem: DeepSeek V4.1-Flash IST-DAS 2.00bpw does not start on Windows. The engine exits immediately with "unknown option off" and exit code 2. Retrying gives the same result. Environment: - Strata app/Control version: 0.27 - DeepSeek engine: 0.1.52-windows-x86_64-cuda-cuda13 (strata-dsv41.exe) - OS: Windows 11 - GPU / VRAM: Rtx 406016 GB Rtx 3060 12GB - RAM: 64 GB - Free disk space: 700GB - Model: deepseek-v4.1-flash-ist-das-2.00bpw (pack in C:\Users\<user>\Documents\Strata\packs\) Reproduce: 1. In the Strata app, download DeepSeek V4.1-Flash IST-DAS 2.00bpw. 2. Start the model with the default settings ("read pictures" off). 3. The engine exits before it is ready. Expected: The engine starts with a valid command line and loads the pack. Actual: server_exited (exit code 1): EngineDied: the engine exited before it was ready; the engine process ended: exit code 2. The command line in the log contains "--eos 1 off", and the engine answers "unknown option off", then prints its usage text (which lists "[--vision on|off]"). Evidence (from strata-deepseek-v4.1-flash-ist-das-2.00bpw.log): [strata] 2026-10-27 17:48:38 engine started: ...\engine-dsv41\0.1.52-windows-x86_64-cuda-cuda13\strata-dsv41.exe --serve --pack C:\Users\<user>\Documents\Strata\packs\deepseek-v4.1-flash-ist-das-2.00bpw --max-context 8192 --eos 1 off --dspark auto --dspark-conf 0.65 --tp 2 --layer-split auto unknown option off maya-ds4 --pack <model>/maya-ds4 [--gpus 0,1,...] [--max-context N] [--reserve-mib N] ... [--vision on|off] [--mmap-experts on|off|auto] (second attempt at 17:53:14: identical) Reproduction status: reproduced locally on Windows. The same failure was reported on Linux (NixOS) in the first comment below, where the cause was traced to the launcher dropping the "--vision" flag and leaving its value "off".
Author
Owner

@github-actions[bot] commented on GitHub (Oct 27, 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:6453101281 --> @github-actions[bot] commented on GitHub (Oct 27, 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

@beber75 commented on GitHub (Oct 27, 2026):

Same problem on linux (I'm on Nixos)
Here is the report pproduced by strata IQ3_S:

Strata 0.2.7 — patched launcher bug (2026-10-27, applied by the assistant)

What was wrong
The desktop's own launcher (JavaScript, not the Python command line) dropped the
"--vision" flag from the engine command line but left its value "off" behind:

  ... --eos 1 off --dspark auto ...        -> engine: "unknown option off"

The DeepSeek v4.1 engines take "--vision on|off" (a flag WITH a value); the other
engines take a bare "--vision". The old code only knew the bare form, so every
deepseek-v4.1 pack failed at boot when "read pictures" was off (the default).
Seen for all three packs in ~/.config/strata/presets/history.jsonl (FAIL_BOOT,
signature contains "--eos 1 off").

Where the fix is
File: ~/.cache/appimage-run/701a0325729bbe75eb24c77aee1e45b8fc2e46a74ef1d25475cfef2a3ef1b281/usr/lib/Strata/host/server/native-control.mjs
Line: 246 (inside buildConfig)
New behaviour: "--vision " keeps the flag and forces the value to "off";
a bare "--vision" is still removed, as before.
Untouched backup: the same file with ".orig-bak" added.

To undo
cp .orig-bak

Caveat
That folder is the AppImage's extraction cache, reused across starts but deleted
when Strata is updated or the cache is cleared. After an update the patch must be
applied again (or fixed upstream in the AppImage itself).

Still to watch
After the launcher fix the engine starts with correct arguments but needs free GPU
memory: the last test hit "cudaMalloc 27 MiB on CUDA0 failed" because the RX 9070
(16 GB) was already full from the other loaded model. Unload that model first.

<!-- gh-comment-id:6455111953 --> @beber75 commented on GitHub (Oct 27, 2026): Same problem on linux (I'm on Nixos) Here is the report pproduced by strata IQ3_S: Strata 0.2.7 — patched launcher bug (2026-10-27, applied by the assistant) What was wrong The desktop's own launcher (JavaScript, not the Python command line) dropped the "--vision" flag from the engine command line but left its value "off" behind: ... --eos 1 off --dspark auto ... -> engine: "unknown option off" The DeepSeek v4.1 engines take "--vision on|off" (a flag WITH a value); the other engines take a bare "--vision". The old code only knew the bare form, so every deepseek-v4.1 pack failed at boot when "read pictures" was off (the default). Seen for all three packs in ~/.config/strata/presets/history.jsonl (FAIL_BOOT, signature contains "--eos 1 off"). Where the fix is File: ~/.cache/appimage-run/701a0325729bbe75eb24c77aee1e45b8fc2e46a74ef1d25475cfef2a3ef1b281/usr/lib/Strata/host/server/native-control.mjs Line: 246 (inside buildConfig) New behaviour: "--vision <value>" keeps the flag and forces the value to "off"; a bare "--vision" is still removed, as before. Untouched backup: the same file with ".orig-bak" added. To undo cp <that file>.orig-bak <that file> Caveat That folder is the AppImage's extraction cache, reused across starts but deleted when Strata is updated or the cache is cleared. After an update the patch must be applied again (or fixed upstream in the AppImage itself). Still to watch After the launcher fix the engine starts with correct arguments but needs free GPU memory: the last test hit "cudaMalloc 27 MiB on CUDA0 failed" because the RX 9070 (16 GB) was already full from the other loaded model. Unload that model first.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 27, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6456471884 --> @github-actions[bot] commented on GitHub (Oct 27, 2026): Thanks, this follows the format now.
Author
Owner

@darrenaddy commented on GitHub (Oct 28, 2026):

Same issue (Windows, RTX 3090Ti, 128GB RAM)
[Engine] Control 0.1.53 sends flags that engine 0.1.52 rejects (--vram-reserve-mib, --pool-workers); updater says up to date

Environment

  • Windows [version], Strata app [version]
  • Control 0.1.53 (updated today; previously at AppData\Local\Programs\Strata\control)
  • DeepSeek engine: engine-dsv41\0.1.52-windows-x86_64-cuda-cuda13
  • RTX 3090 Ti 24 GB, driver 591.86, CUDA 13.1, 127.7 GB RAM
  • Model: deepseek-v4.1-flash-ist-das-2.00bpw on D:\StrataModels

Problem

Loading fails with EngineDied: the engine exited before it was ready (engine exit code 2). Control passes options the engine doesn't recognize; the engine prints its usage text and exits.

1. --vram-reserve-mib
"GPU memory for other apps (MiB)" = 512 is labeled "Applied as --vram-reserve-mib". Engine 0.1.52 rejects it:

unknown option --vram-reserve-mib

The engine's usage text lists --reserve-mib N. Launching the engine by hand with --reserve-mib 512 and otherwise identical arguments loads the model and reaches READY.

2. --pool-workers 20
After clearing the reserve field, the next launch failed with:

unknown option --pool-workers

The flag is stored in the per-model settings file as "user_args": ["--pool-workers", "20"] and is copied into args/args_written on every launch, so editing args alone doesn't stick. It first appeared between the 08:09 and 08:18 launches; [I didn't knowingly add it / I added it via ___]. The file also has "ui_resource_profile": "work", which may be the source. --pool-workers is not in the engine's usage list.

3. Updater doesn't see a mismatch
Engine → Update component → Check for Updates reports "Up to date" for 0.1.52, so updating the app moved Control to 0.1.53 but left an engine that rejects its flags.

Workaround

Clear "GPU memory for other apps", and remove --pool-workers 20 from user_args, args, and args_written in AppData\Local\Strata\install\strata-deepseek-v4.1-flash-ist-das-2.00bpw.json.

Expected

Control should check the engine version before passing newer flags (or translate --vram-reserve-mib → --reserve-mib), or the updater should install an engine that matches Control.

Attached: engine log, app-1.server.log

strata-deepseek-v4.1-flash-ist-das-2.00bpw.log

app-1.server.log

<!-- gh-comment-id:6473633285 --> @darrenaddy commented on GitHub (Oct 28, 2026): Same issue (Windows, RTX 3090Ti, 128GB RAM) [Engine] Control 0.1.53 sends flags that engine 0.1.52 rejects (--vram-reserve-mib, --pool-workers); updater says up to date ## Environment - Windows [version], Strata app [version] - Control 0.1.53 (updated today; previously at AppData\Local\Programs\Strata\control) - DeepSeek engine: engine-dsv41\0.1.52-windows-x86_64-cuda-cuda13 - RTX 3090 Ti 24 GB, driver 591.86, CUDA 13.1, 127.7 GB RAM - Model: deepseek-v4.1-flash-ist-das-2.00bpw on D:\StrataModels ## Problem Loading fails with `EngineDied: the engine exited before it was ready` (engine exit code 2). Control passes options the engine doesn't recognize; the engine prints its usage text and exits. **1. `--vram-reserve-mib`** "GPU memory for other apps (MiB)" = 512 is labeled "Applied as --vram-reserve-mib". Engine 0.1.52 rejects it: unknown option --vram-reserve-mib The engine's usage text lists `--reserve-mib N`. Launching the engine by hand with `--reserve-mib 512` and otherwise identical arguments loads the model and reaches READY. **2. `--pool-workers 20`** After clearing the reserve field, the next launch failed with: unknown option --pool-workers The flag is stored in the per-model settings file as `"user_args": ["--pool-workers", "20"]` and is copied into `args`/`args_written` on every launch, so editing `args` alone doesn't stick. It first appeared between the 08:09 and 08:18 launches; [I didn't knowingly add it / I added it via ___]. The file also has `"ui_resource_profile": "work"`, which may be the source. `--pool-workers` is not in the engine's usage list. **3. Updater doesn't see a mismatch** Engine → Update component → Check for Updates reports "Up to date" for 0.1.52, so updating the app moved Control to 0.1.53 but left an engine that rejects its flags. ## Workaround Clear "GPU memory for other apps", and remove `--pool-workers 20` from `user_args`, `args`, and `args_written` in `AppData\Local\Strata\install\strata-deepseek-v4.1-flash-ist-das-2.00bpw.json`. ## Expected Control should check the engine version before passing newer flags (or translate `--vram-reserve-mib` → `--reserve-mib`), or the updater should install an engine that matches Control. Attached: engine log, app-1.server.log [strata-deepseek-v4.1-flash-ist-das-2.00bpw.log](https://github.com/user-attachments/files/34087776/strata-deepseek-v4.1-flash-ist-das-2.00bpw.log) [app-1.server.log](https://github.com/user-attachments/files/34087654/app-1.server.log)
Author
Owner

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

Thank you. Same cause as #4358. Cause: with picture reading off, the app removed --vision from the DeepSeek engine's arguments but left its value, so the engine got --eos 1 off and stopped with unknown option off. Fixed on our side; the fix ships in the next update (0.2.8). For DeepSeek, --vision on|off is the engine's own pair, so the app now keeps it whole; a test starts a DeepSeek load with picture reading off and checks that no word is left over.

<!-- gh-comment-id:6492042562 --> @Niko1221 commented on GitHub (Oct 29, 2026): Thank you. Same cause as #4358. Cause: with picture reading off, the app removed `--vision` from the DeepSeek engine's arguments but left its value, so the engine got `--eos 1 off` and stopped with `unknown option off`. Fixed on our side; the fix ships in the next update (0.2.8). For DeepSeek, `--vision on|off` is the engine's own pair, so the app now keeps it whole; a test starts a DeepSeek load with picture reading off and checks that no word is left over.
Author
Owner

@rovnerivan commented on GitHub (Oct 29, 2026):

Expanded Windows reproduction: DeepSeek V4.1 launch failures in Strata Desktop 0.2.7 and Terminal 0.2.7 / 0.2.5

Thank you for building and maintaining Strata and for making these large DeepSeek models usable locally. I appreciate the time spent on the engines, launcher, model preparation and Windows support. I am adding this detailed report to the existing issues rather than opening duplicate reports for symptoms that appear to overlap with #4358 and #4359.

This report expands the reproduction across both Strata Desktop and Strata Terminal, including the original 0.2.7 installation, an isolated Terminal 0.2.4.2 installation, and an isolated Terminal 0.2.5 installation. The main issue is not that the model files are missing: the recurring startup failure is that the generated engine command line contains a bare off token, which the DeepSeek engine rejects. A local workaround allowed the engine to start in Terminal 0.2.5, but it did not fix the performance problem described separately in #4219.

1. Hardware and common environment

  • OS: Windows 11 Pro 24H2.
  • GPU: NVIDIA GeForce RTX 3090, 24 GB VRAM.
  • CPU: AMD Ryzen 5 4500.
  • System memory: 32 GB DDR4.
  • Model drive: E: = WD Green 2.5-inch 2 TB SATA SSD (not NVMe).
  • DeepSeek engine initially used: strata-dsv41.exe, 0.1.52-windows-x86_64-cuda-cuda13.
  • Default local API when successfully launched: http://127.0.0.1:8080/v1.
  • Tested context: 8192 tokens.
  • Both packs are DeepSeek V4.1-Flash IST-DAS quantizations.

The 32 GB RAM and SATA SSD are below the memory/storage conditions used in some published benchmarks. I understand this can substantially reduce performance. The launcher failures below happen earlier than inference, however: the engine exits while parsing command-line arguments.

2. Models and paths used

1.75 bpw

  • Local model path passed to Terminal: E:\models\models\deepseek-v4.1-flash-IST-DAS-1.75bpw
  • Pack path used by Desktop's saved model config and by some generated engine commands: E:\models\packs\deepseek-v4.1-flash-ist-das-1.75bpw
  • Pack size reported by the plan: approximately 239.3 GB, including about 121 GB of model files, a shared approximately 111 GB n-gram/Engram table, and an approximately 8 GB DSpark drafter.

2.00 bpw

  • Pack path used by Desktop: E:\packs\deepseek-v4.1-flash-ist-das-2.00bpw
  • Pack size reported/described: approximately 257 GB, including about 138 GB of model files, the shared approximately 111 GB n-gram/Engram table, and an approximately 8 GB DSpark drafter.

The two 1.75 paths are different directories. Terminal explicitly reported that it would use the folder supplied on the command line because the same model was already registered elsewhere. It then checked the local files and reported 120.7 of 239.3 GB (50%); it completed preparation without requiring a network download. This progress display was local file checking/preparation, not evidence that it was downloading another 239 GB copy.

3. Strata Desktop 0.2.7 / build 0.1.53: UI launch bug

What the UI reported

When starting DeepSeek V4.1-Flash IST-DAS with pictures disabled, Desktop displayed a startup error of this form:

The model stopped while starting.
server_exited (exit code 1): EngineDied: the engine exited before it was ready
... the engine process ended: exit code 2 ...
unknown option off

On another attempt, Desktop displayed wording similar to:

This model is not installed, download and prepare it first

This was confusing because selecting Load had already begun the preparation process. The UI then scanned the existing local files, displayed the 50% / 120.7-of-239.3-GB progress, reported that the model was ready, and only failed when the engine was started. The local files were present and the later Terminal --plan explicitly confirmed Nothing to download: your model files are used where they are.

Exact malformed engine commands observed

The logs for the 1.75 and 2.00 configurations showed multiple variants of a command containing an extra off:

--serve --pack ... --max-context 8192 --eos 1 off --dspark auto --dspark-conf 0.65
--serve --pack ... --max-context 8192 --eos 1 --vision off --dspark auto --dspark-conf 0.65 off
--serve --pack ... --max-context 8192 --eos 1 --vision off --dspark auto off --dspark-conf 0.65
--serve --pack ... --max-context 8192 --eos 1 --vision off off --dspark-conf 0.65 --dspark auto

The engine consistently printed:

unknown option off
maya-ds4 --pack <model>/maya-ds4 ...
[--vision on|off] [--mmap-experts on|off|auto]

and exited with code 2 before loading the model weights.

One config JSON contained the intended pair --vision, off. Removing that pair from the saved model configuration allowed a subsequent Desktop engine start, with a generated command line that no longer contained the invalid standalone off. This was a diagnostic workaround, not a satisfactory permanent fix: omitting the explicit vision setting could also cause the UI to attempt to obtain the picture-reader component again. The intended behavior is to disable the picture reader while passing a valid argument list to the DeepSeek engine.

The Desktop symptom closely matches the existing report #4358 — DeepSeek-V4.1 launch fails because Strata Desktop drops the --vision flag, and the standalone unknown option off failure in #4359.

4. Strata Terminal 0.2.7 / build 0.1.53: CLI parsing and launch behavior

The normal strata command resolved to:

C:\Users\Admin\AppData\Local\Strata\terminal\current\bin\strata.ps1
strata 0.2.7 (build 0.1.53; Python 3.12.15)

4.1 CLI parsing issue with --dspark auto

The following Terminal 0.2.7 command was used to inspect a launch plan (paths shown exactly as tested):

strata launch --model-path "E:\models\models\deepseek-v4.1-flash-IST-DAS-1.75bpw" --context 8192 --kv q4_0 --speed faster --dsv41-package "$env:LOCALAPPDATA\Strata\install\engine-dsv41\0.1.52-windows-x86_64-cuda-cuda13\strata-dsv41.exe" --vision off --dspark auto --set "mmap-experts=off" --set "ssd-cache=6" --set "dspark-conf=0.65" --save-preset "DeepSeek 1.75 Clean" --plan

The CLI rejected the direct option:

strata: '--dspark' is not a strata launch option. Did you mean '--dsv41-package'? 'auto' was not expected here.

Removing the direct --dspark auto and using the CLI-supported --set "dspark=auto" form (or leaving DSpark at its default) allowed the plan to run. The plan correctly reported:

These files are DeepSeek-V4.1-Flash IST-DAS-1.75bpw; they are used where they are.
Download  Nothing to download: your model files are used where they are.
Context   8K    pictures off    parallel one at a time
Speed     Faster. Faster uses 5 of 6 experts per word.
DeepSeek engine: installed, 0.1.52.

Thus the model path, local files, requested picture-off setting and engine package were recognized by Terminal's planning stage. The CLI option syntax differs from the engine's syntax: --dspark auto was not accepted as a direct Terminal argument in this build, while the plan summarized DSpark as auto after using the supported configuration path.

4.2 Runtime still generated an orphan off

After the plan succeeded, the actual Terminal 0.2.7 launch/preparation path still failed to start the engine. The runtime reported that it was preparing the model from local files and checked 120.7 of 239.3 GB, then completed preparation and saved the settings. At engine startup it returned the same unknown option off error. An observed log line was:

[strata] ... engine started: ...\strata-dsv41.exe --serve --pack E:\models\packs\deepseek-v4.1-flash-ist-das-1.75bpw --max-context 8192 --eos 1 --dspark auto off --dspark-conf 0.65 --ssd-cache 6 --mmap-experts off --expert-profile E:\models\packs\deepseek-v4.1-flash-ist-das-1.75bpw\expert-profile.bin --experts 5 --dspark-block 3
unknown option off

This is important because it happened in Terminal as well as Desktop. The offending off was no longer in the displayed Terminal plan as a picture setting, but it was present in the final engine command. The Terminal failure was therefore not just a GUI display problem.

4.3 Runtime profile and repeated launch attempts

When attempting to launch again with the same preset while an earlier managed runtime was still recorded, Terminal returned:

The server could not start: this profile already has a live managed runtime

At one point a separate API test returned curl: (7) Failed to connect ... port 8080, and process/port inspection showed whether the engine and listener were actually still alive. This was a lifecycle/managed-runtime state issue during repeated attempts; it should not be confused with the initial unknown option off argument-parsing error.

5. Terminal 0.2.4.2 / build 0.1.49.2: older CLI cannot accept the newer launch options

Because the current 0.2.7 CLI and Desktop behavior were problematic, I installed Terminal 0.2.4.2 side-by-side in an isolated data directory (%LOCALAPPDATA%\Strata0242-test). The installation succeeded after using the release tag v0.2.4 and temporarily moving/restoring the local update-feed state file; the signed release feed and package checksum verified successfully.

Version output:

strata 0.2.4.2 (build 0.1.49.2; Python 3.12.15 ...)

The plan command failed at CLI parsing:

strata: '--speed' is not a strata launch option. Did you mean '--feed'? 'faster' was not expected here.
strata: '--dspark' is not a strata launch option. Did you mean '--dsv41-package'? 'auto' was not expected here.

I did not continue this test as a performance comparison because this release's CLI syntax predates the --speed faster / direct DSpark workflow I was trying to validate. This does not demonstrate that the older engine is inherently slower; it demonstrates that the requested command was not accepted by that version's CLI.

6. Terminal 0.2.5 / build 0.1.50: isolated install, existing engine 0.1.52, local workaround

I installed Terminal 0.2.5 side-by-side in %LOCALAPPDATA%\Strata025-test, without changing the normal strata command in PATH. Version output:

strata 0.2.5 (build 0.1.50; Python 3.12.15 ...)

The existing DeepSeek engine 0.1.52 was selected explicitly using STRATA_DSV41_EXE pointing to:

C:\Users\Admin\AppData\Local\Strata\install\engine-dsv41\0.1.52-windows-x86_64-cuda-cuda13\strata-dsv41.exe

The initial 0.2.5 launch still produced --dspark auto off and unknown option off. I first attempted a local patch to strata_cli\launch\runner.py; that did not fix the final engine command. I then patched the isolated installation's serve\server.py to remove the stray off when the DeepSeek launch args contained --dspark auto off and the vision flag was absent. This was a local experimental workaround, not an official fix; I am including it to document what finally allowed the engine to start.

After that patch, the generated command line no longer contained the orphan token and the engine loaded. The log showed:

[strata] 2026-10-29 07:35:49 engine started: ...\strata-dsv41.exe --serve --pack E:\models\packs\deepseek-v4.1-flash-ist-das-1.75bpw --max-context 8192 --eos 1 --dspark auto --dspark-conf 0.65 --ssd-cache 6 --mmap-experts off --expert-profile E:\models\packs\deepseek-v4.1-flash-ist-das-1.75bpw\expert-profile.bin --experts 5 --dspark-block 3

The engine continued through initialization and printed maya ds4 serve: GEN ..., then processed API requests. This establishes that the local pack and engine can load once the malformed argument is removed. It does not prove that the patch is the correct upstream fix.

The model was sometimes prepared from a path under E:\models\models\..., while Desktop config/logs referred to E:\models\packs\.... Terminal indicated the files were already local and used the path explicitly supplied by the user. The repeated 50% display was a local checking/preparation step; it completed and said the model was ready. Please advise how Terminal should reconcile an existing model registered under one path with the same files supplied under another path, without appearing to require another model download.

7. Final command that produced a valid Terminal 0.2.5 plan

The following plan completed successfully and said that no model download was required. This is the command before removing --plan to attempt a real launch:

$env:STRATA_DATA_DIR = "$env:LOCALAPPDATA\Strata025-test"
$env:STRATA_DSV41_EXE = "$env:LOCALAPPDATA\Strata\install\engine-dsv41\0.1.52-windows-x86_64-cuda-cuda13\strata-dsv41.exe"
$cli = "$env:LOCALAPPDATA\Strata025-test\terminal\current\bin\strata.cmd"

& $cli launch --model-path "E:\models\models\deepseek-v4.1-flash-IST-DAS-1.75bpw" --context 8192 --kv q4_0 --speed faster --vision off --set "mmap-experts=off" --set "ssd-cache=6" --set "dspark-conf=0.65" --save-preset "DeepSeek 1.75 Clean 025" --plan

The actual successful launch used the same options without --plan, with --tune skip --no-tui, after the local workaround described above. No full model download was required.

8. Request to maintainers

Could you please help with the following?

  1. Fix or confirm the root cause of the off token being detached from --vision off in Desktop 0.2.7 and Terminal 0.2.7 / 0.2.5. Is there a single argument normalization step shared by both paths, or are these separate bugs?
  2. Confirm the correct supported way to disable the picture reader for DeepSeek V4.1 in Terminal, while preserving the --vision off engine argument and avoiding any attempt to download the picture-reader component.
  3. Recommend a supported way to test / select engine 0.1.52 while using Terminal 0.2.5, or clarify whether the CLI should refuse a .exe via --dsv41-package and instead use STRATA_DSV41_EXE.
  4. Explain whether the one-time local preparation progress (120.7 of 239.3 GB, 50%) is expected when the local model is already present under another path, and how to avoid misleading download/install messaging.
  5. Please advise the best supported configuration for RAM placement, mmap-experts, ssd-cache, expert-profile, prefill chunk size, CPU threads, KV Q4 and DSpark for this 24 GB GPU / 32 GB RAM / SATA SSD setup.

For context, after the local Terminal 0.2.5 workaround, simple API requests returned correct answers, but cold-prefill remained extraordinarily slow (0.6–0.7 tokens/s on 61–71 fresh prompt tokens; decode was approximately 1.4–2.5 tokens/s in the corresponding requests). I have described the performance issue with the measurements and limitations in the related prefill issue #4219, rather than conflating it with this argument-parsing bug. I understand that my 32 GB RAM and SATA SSD are below the conditions of some published benchmarks; I would appreciate guidance on whether the magnitude of the latency is expected or indicates an additional configuration/Windows issue.

I have not obtained a clean full-response benchmark for the 2.00 bpw pack with the final Terminal 0.2.5 workaround. Some earlier 2.00 bpw tests were truncated by a small max_tokens value, so I do not want to present those as a comparable performance result.

Thank you again for the work on Strata and on making these large models accessible. I am grateful for any clarification, recommended command line, fixed build, or diagnostic you would like me to try.

<!-- gh-comment-id:6496604615 --> @rovnerivan commented on GitHub (Oct 29, 2026): # Expanded Windows reproduction: DeepSeek V4.1 launch failures in Strata Desktop 0.2.7 and Terminal 0.2.7 / 0.2.5 Thank you for building and maintaining Strata and for making these large DeepSeek models usable locally. I appreciate the time spent on the engines, launcher, model preparation and Windows support. I am adding this detailed report to the existing issues rather than opening duplicate reports for symptoms that appear to overlap with [#4358](https://github.com/Niko1221/Strata/issues/4358) and [#4359](https://github.com/Niko1221/Strata/issues/4359). This report expands the reproduction across **both Strata Desktop and Strata Terminal**, including the original 0.2.7 installation, an isolated Terminal 0.2.4.2 installation, and an isolated Terminal 0.2.5 installation. The main issue is not that the model files are missing: the recurring startup failure is that the generated engine command line contains a bare `off` token, which the DeepSeek engine rejects. A local workaround allowed the engine to start in Terminal 0.2.5, but it did not fix the performance problem described separately in [#4219](https://github.com/Niko1221/Strata/issues/4219). ## 1. Hardware and common environment - OS: Windows 11 Pro 24H2. - GPU: NVIDIA GeForce RTX 3090, 24 GB VRAM. - CPU: AMD Ryzen 5 4500. - System memory: 32 GB DDR4. - Model drive: `E:` = WD Green 2.5-inch 2 TB SATA SSD (not NVMe). - DeepSeek engine initially used: `strata-dsv41.exe`, `0.1.52-windows-x86_64-cuda-cuda13`. - Default local API when successfully launched: `http://127.0.0.1:8080/v1`. - Tested context: 8192 tokens. - Both packs are DeepSeek V4.1-Flash IST-DAS quantizations. The 32 GB RAM and SATA SSD are below the memory/storage conditions used in some published benchmarks. I understand this can substantially reduce performance. The launcher failures below happen earlier than inference, however: the engine exits while parsing command-line arguments. ## 2. Models and paths used ### 1.75 bpw - Local model path passed to Terminal: `E:\models\models\deepseek-v4.1-flash-IST-DAS-1.75bpw` - Pack path used by Desktop's saved model config and by some generated engine commands: `E:\models\packs\deepseek-v4.1-flash-ist-das-1.75bpw` - Pack size reported by the plan: approximately 239.3 GB, including about 121 GB of model files, a shared approximately 111 GB n-gram/Engram table, and an approximately 8 GB DSpark drafter. ### 2.00 bpw - Pack path used by Desktop: `E:\packs\deepseek-v4.1-flash-ist-das-2.00bpw` - Pack size reported/described: approximately 257 GB, including about 138 GB of model files, the shared approximately 111 GB n-gram/Engram table, and an approximately 8 GB DSpark drafter. The two 1.75 paths are different directories. Terminal explicitly reported that it would use the folder supplied on the command line because the same model was already registered elsewhere. It then checked the local files and reported `120.7 of 239.3 GB (50%)`; it completed preparation without requiring a network download. This progress display was local file checking/preparation, not evidence that it was downloading another 239 GB copy. ## 3. Strata Desktop 0.2.7 / build 0.1.53: UI launch bug ### What the UI reported When starting DeepSeek V4.1-Flash IST-DAS with pictures disabled, Desktop displayed a startup error of this form: ```text The model stopped while starting. server_exited (exit code 1): EngineDied: the engine exited before it was ready ... the engine process ended: exit code 2 ... unknown option off ``` On another attempt, Desktop displayed wording similar to: ```text This model is not installed, download and prepare it first ``` This was confusing because selecting Load had already begun the preparation process. The UI then scanned the existing local files, displayed the 50% / 120.7-of-239.3-GB progress, reported that the model was ready, and only failed when the engine was started. The local files were present and the later Terminal `--plan` explicitly confirmed `Nothing to download: your model files are used where they are`. ### Exact malformed engine commands observed The logs for the 1.75 and 2.00 configurations showed multiple variants of a command containing an extra `off`: ```text --serve --pack ... --max-context 8192 --eos 1 off --dspark auto --dspark-conf 0.65 ``` ```text --serve --pack ... --max-context 8192 --eos 1 --vision off --dspark auto --dspark-conf 0.65 off ``` ```text --serve --pack ... --max-context 8192 --eos 1 --vision off --dspark auto off --dspark-conf 0.65 ``` ```text --serve --pack ... --max-context 8192 --eos 1 --vision off off --dspark-conf 0.65 --dspark auto ``` The engine consistently printed: ```text unknown option off maya-ds4 --pack <model>/maya-ds4 ... [--vision on|off] [--mmap-experts on|off|auto] ``` and exited with code 2 before loading the model weights. One config JSON contained the intended pair `--vision`, `off`. Removing that pair from the saved model configuration allowed a subsequent Desktop engine start, with a generated command line that no longer contained the invalid standalone `off`. This was a diagnostic workaround, not a satisfactory permanent fix: omitting the explicit vision setting could also cause the UI to attempt to obtain the picture-reader component again. The intended behavior is to disable the picture reader while passing a valid argument list to the DeepSeek engine. The Desktop symptom closely matches the existing report [#4358 — DeepSeek-V4.1 launch fails because Strata Desktop drops the `--vision` flag](https://github.com/Niko1221/Strata/issues/4358), and the standalone `unknown option off` failure in [#4359](https://github.com/Niko1221/Strata/issues/4359). ## 4. Strata Terminal 0.2.7 / build 0.1.53: CLI parsing and launch behavior The normal `strata` command resolved to: ```text C:\Users\Admin\AppData\Local\Strata\terminal\current\bin\strata.ps1 strata 0.2.7 (build 0.1.53; Python 3.12.15) ``` ### 4.1 CLI parsing issue with `--dspark auto` The following Terminal 0.2.7 command was used to inspect a launch plan (paths shown exactly as tested): ```powershell strata launch --model-path "E:\models\models\deepseek-v4.1-flash-IST-DAS-1.75bpw" --context 8192 --kv q4_0 --speed faster --dsv41-package "$env:LOCALAPPDATA\Strata\install\engine-dsv41\0.1.52-windows-x86_64-cuda-cuda13\strata-dsv41.exe" --vision off --dspark auto --set "mmap-experts=off" --set "ssd-cache=6" --set "dspark-conf=0.65" --save-preset "DeepSeek 1.75 Clean" --plan ``` The CLI rejected the direct option: ```text strata: '--dspark' is not a strata launch option. Did you mean '--dsv41-package'? 'auto' was not expected here. ``` Removing the direct `--dspark auto` and using the CLI-supported `--set "dspark=auto"` form (or leaving DSpark at its default) allowed the plan to run. The plan correctly reported: ```text These files are DeepSeek-V4.1-Flash IST-DAS-1.75bpw; they are used where they are. Download Nothing to download: your model files are used where they are. Context 8K pictures off parallel one at a time Speed Faster. Faster uses 5 of 6 experts per word. DeepSeek engine: installed, 0.1.52. ``` Thus the model path, local files, requested picture-off setting and engine package were recognized by Terminal's planning stage. The CLI option syntax differs from the engine's syntax: `--dspark auto` was not accepted as a direct Terminal argument in this build, while the plan summarized DSpark as `auto` after using the supported configuration path. ### 4.2 Runtime still generated an orphan `off` After the plan succeeded, the actual Terminal 0.2.7 launch/preparation path still failed to start the engine. The runtime reported that it was preparing the model from local files and checked 120.7 of 239.3 GB, then completed preparation and saved the settings. At engine startup it returned the same `unknown option off` error. An observed log line was: ```text [strata] ... engine started: ...\strata-dsv41.exe --serve --pack E:\models\packs\deepseek-v4.1-flash-ist-das-1.75bpw --max-context 8192 --eos 1 --dspark auto off --dspark-conf 0.65 --ssd-cache 6 --mmap-experts off --expert-profile E:\models\packs\deepseek-v4.1-flash-ist-das-1.75bpw\expert-profile.bin --experts 5 --dspark-block 3 unknown option off ``` This is important because it happened in Terminal as well as Desktop. The offending `off` was no longer in the displayed Terminal plan as a picture setting, but it was present in the final engine command. The Terminal failure was therefore not just a GUI display problem. ### 4.3 Runtime profile and repeated launch attempts When attempting to launch again with the same preset while an earlier managed runtime was still recorded, Terminal returned: ```text The server could not start: this profile already has a live managed runtime ``` At one point a separate API test returned `curl: (7) Failed to connect ... port 8080`, and process/port inspection showed whether the engine and listener were actually still alive. This was a lifecycle/managed-runtime state issue during repeated attempts; it should not be confused with the initial `unknown option off` argument-parsing error. ## 5. Terminal 0.2.4.2 / build 0.1.49.2: older CLI cannot accept the newer launch options Because the current 0.2.7 CLI and Desktop behavior were problematic, I installed Terminal 0.2.4.2 side-by-side in an isolated data directory (`%LOCALAPPDATA%\Strata0242-test`). The installation succeeded after using the release tag `v0.2.4` and temporarily moving/restoring the local update-feed state file; the signed release feed and package checksum verified successfully. Version output: ```text strata 0.2.4.2 (build 0.1.49.2; Python 3.12.15 ...) ``` The plan command failed at CLI parsing: ```text strata: '--speed' is not a strata launch option. Did you mean '--feed'? 'faster' was not expected here. strata: '--dspark' is not a strata launch option. Did you mean '--dsv41-package'? 'auto' was not expected here. ``` I did not continue this test as a performance comparison because this release's CLI syntax predates the `--speed faster` / direct DSpark workflow I was trying to validate. This does not demonstrate that the older engine is inherently slower; it demonstrates that the requested command was not accepted by that version's CLI. ## 6. Terminal 0.2.5 / build 0.1.50: isolated install, existing engine 0.1.52, local workaround I installed Terminal 0.2.5 side-by-side in `%LOCALAPPDATA%\Strata025-test`, without changing the normal `strata` command in PATH. Version output: ```text strata 0.2.5 (build 0.1.50; Python 3.12.15 ...) ``` The existing DeepSeek engine 0.1.52 was selected explicitly using `STRATA_DSV41_EXE` pointing to: ```text C:\Users\Admin\AppData\Local\Strata\install\engine-dsv41\0.1.52-windows-x86_64-cuda-cuda13\strata-dsv41.exe ``` The initial 0.2.5 launch still produced `--dspark auto off` and `unknown option off`. I first attempted a local patch to `strata_cli\launch\runner.py`; that did not fix the final engine command. I then patched the isolated installation's `serve\server.py` to remove the stray `off` when the DeepSeek launch args contained `--dspark auto off` and the vision flag was absent. This was a local experimental workaround, not an official fix; I am including it to document what finally allowed the engine to start. After that patch, the generated command line no longer contained the orphan token and the engine loaded. The log showed: ```text [strata] 2026-10-29 07:35:49 engine started: ...\strata-dsv41.exe --serve --pack E:\models\packs\deepseek-v4.1-flash-ist-das-1.75bpw --max-context 8192 --eos 1 --dspark auto --dspark-conf 0.65 --ssd-cache 6 --mmap-experts off --expert-profile E:\models\packs\deepseek-v4.1-flash-ist-das-1.75bpw\expert-profile.bin --experts 5 --dspark-block 3 ``` The engine continued through initialization and printed `maya ds4 serve: GEN ...`, then processed API requests. This establishes that the local pack and engine can load once the malformed argument is removed. It does **not** prove that the patch is the correct upstream fix. The model was sometimes prepared from a path under `E:\models\models\...`, while Desktop config/logs referred to `E:\models\packs\...`. Terminal indicated the files were already local and used the path explicitly supplied by the user. The repeated 50% display was a local checking/preparation step; it completed and said the model was ready. Please advise how Terminal should reconcile an existing model registered under one path with the same files supplied under another path, without appearing to require another model download. ## 7. Final command that produced a valid Terminal 0.2.5 plan The following plan completed successfully and said that no model download was required. This is the command before removing `--plan` to attempt a real launch: ```powershell $env:STRATA_DATA_DIR = "$env:LOCALAPPDATA\Strata025-test" $env:STRATA_DSV41_EXE = "$env:LOCALAPPDATA\Strata\install\engine-dsv41\0.1.52-windows-x86_64-cuda-cuda13\strata-dsv41.exe" $cli = "$env:LOCALAPPDATA\Strata025-test\terminal\current\bin\strata.cmd" & $cli launch --model-path "E:\models\models\deepseek-v4.1-flash-IST-DAS-1.75bpw" --context 8192 --kv q4_0 --speed faster --vision off --set "mmap-experts=off" --set "ssd-cache=6" --set "dspark-conf=0.65" --save-preset "DeepSeek 1.75 Clean 025" --plan ``` The actual successful launch used the same options without `--plan`, with `--tune skip --no-tui`, after the local workaround described above. No full model download was required. ## 8. Request to maintainers Could you please help with the following? 1. Fix or confirm the root cause of the `off` token being detached from `--vision off` in Desktop 0.2.7 and Terminal 0.2.7 / 0.2.5. Is there a single argument normalization step shared by both paths, or are these separate bugs? 2. Confirm the correct supported way to disable the picture reader for DeepSeek V4.1 in Terminal, while preserving the `--vision off` engine argument and avoiding any attempt to download the picture-reader component. 3. Recommend a supported way to test / select engine 0.1.52 while using Terminal 0.2.5, or clarify whether the CLI should refuse a `.exe` via `--dsv41-package` and instead use `STRATA_DSV41_EXE`. 4. Explain whether the one-time local preparation progress (`120.7 of 239.3 GB`, 50%) is expected when the local model is already present under another path, and how to avoid misleading download/install messaging. 5. Please advise the best supported configuration for RAM placement, `mmap-experts`, `ssd-cache`, `expert-profile`, prefill chunk size, CPU threads, KV Q4 and DSpark for this 24 GB GPU / 32 GB RAM / SATA SSD setup. For context, after the local Terminal 0.2.5 workaround, simple API requests returned correct answers, but cold-prefill remained extraordinarily slow (0.6–0.7 tokens/s on 61–71 fresh prompt tokens; decode was approximately 1.4–2.5 tokens/s in the corresponding requests). I have described the performance issue with the measurements and limitations in [the related prefill issue #4219](https://github.com/Niko1221/Strata/issues/4219), rather than conflating it with this argument-parsing bug. I understand that my 32 GB RAM and SATA SSD are below the conditions of some published benchmarks; I would appreciate guidance on whether the magnitude of the latency is expected or indicates an additional configuration/Windows issue. I have not obtained a clean full-response benchmark for the 2.00 bpw pack with the final Terminal 0.2.5 workaround. Some earlier 2.00 bpw tests were truncated by a small `max_tokens` value, so I do not want to present those as a comparable performance result. Thank you again for the work on Strata and on making these large models accessible. I am grateful for any clarification, recommended command line, fixed build, or diagnostic you would like me to try.
Author
Owner

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

Thanks again for the report and the workaround. This is fixed in 0.2.8: with picture reading off, the app no longer leaves a stray word in the DeepSeek engine's arguments, so the model loads. Update the app and run strata update. Closing; open it again if it still stops.

<!-- gh-comment-id:6510290447 --> @Niko1221 commented on GitHub (Oct 29, 2026): Thanks again for the report and the workaround. This is fixed in 0.2.8: with picture reading off, the app no longer leaves a stray word in the DeepSeek engine's arguments, so the model loads. Update the app and run `strata update`. Closing; open it again if it still stops.
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#1927
No description provided.