[GH-ISSUE #3921] [Engine] The vision encoder did not start on 0.1.48 (Windows/CUDA, CPU reader): strata-vision.exe exits 0xC0000005 in ~2 s #1676

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

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

Area

[Engine] (speed, kernels, models, the server and API)

Desktop app, Terminal or source?

Terminal (the strata command), engine 0.1.48 from the signed feed. The failure is below both: it reproduces from strata-vision.exe alone, and the same traceback appears when the server is started from a generated run-*.bat.

Strata version

Terminal 0.2.4.1 (build 0.1.49.1), bundle commit c33fa7ba6d0d5b104983736b50c4e1d61f207b1b. Engine 0.1.48 (f-023-rel, commit 6f8800aefe27, CUDA 13.0). Also seen with engine 0.1.45.3.

Graphics card, memory and system

NVIDIA GeForce RTX 4060 Ti 16 GB (sm_89, driver 581.57) · 32 GB RAM · AMD Ryzen 5 7500F (AVX-512) · Windows 11 Pro build 26200 · PCIe 4.0 x8. Pictures were configured for the CPU reader (--vision cpu, the under-24 GB default).

Model, size and settings

Qwen3.8-Flash-Next Gyro-S (Qwen3.8-Flash-Next-Gyro-S-TQ1_0.gguf, 58.5 GB from agentionai/Qwen3.8-Flash-Next-Gyro-GGUF), 64K context, int8 KV, low-RAM mode, mmproj-Qwen3.8-Flash-Next-BF16.gguf.


Continues #1506 (closed as "not planned"; report of it still happening on 0.1.47 landed there on
2026-10-23) and joins #3444 / #3645 / #3697. New information here: the reader's exit code and the
fact that it does not depend on the model family (Gyro trellis GGUF), on the card (a Quadro
P6000 Pascal report and an RTX A5000 report exist), or on the app vs. Terminal — it reproduces from
strata-vision.exe alone, so it can be bisected without a server.

What happened

Starting Gyro-S with the picture reader on the CPU (--vision cpu, the default for a card under
24 GB) fails before the model is loaded:

loading the vision encoder ...
Traceback (most recent call last):
  File "...\serve\server.py", line 7750, in main
    vision = Vision(vcfg, log=..., 
  File "...\serve\server.py", line 2521, in __init__
    self._start()
  File "...\serve\server.py", line 2542, in _start
    self._start_reader()
  File "...\serve\server.py", line 2571, in _start_reader
    raise RuntimeError(vision_start_error(line, self.spawn[1]))
RuntimeError: the vision encoder did not start:

The server exits with code 1 and the model never loads. Running the reader by hand shows the actual
outcome — an access violation with no message on either stream:

strata-vision.exe --mmproj <mmproj-Qwen3.8-Flash-Next-BF16.gguf> \
                  --model <Qwen3.8-Flash-Next-Gyro-S-TQ1_0.gguf> --threads 6 --max-tokens 300
exit code: -1073741819   (0xC0000005, access violation)
stdout: (empty)   stderr: (empty)

The reader exits within a few seconds, so it dies while reading the model file, before any picture is
involved. strata-vision.exe alone (no arguments) prints its usage normally, so the package and its
DLLs are sound.

Impact: the model card says Gyro reads pictures, and 0.2.0's notes say the picture reader works on
"Gyro and the NVFP4 models" with engine 0.1.45.1 or newer, but on this machine the only way to serve
Gyro-S is --vision no. Setting up with --vision no and starting works fine; the text model is
unaffected and scores 17 tok/s.

Smallest steps to reproduce

  1. Install Qwen3.8-Flash-Next Gyro-S (pack built with --compat-bf16 --experts-bin), engine ≥ 0.1.45.3.
  2. Run the reader directly (no server needed):
"%LOCALAPPDATA%\Strata\components\engine\0.1.48-windows-x86_64-cuda-cuda13\strata-vision.exe" ^
  --mmproj "G:\...\mmproj-Qwen3.8-Flash-Next-BF16.gguf" ^
  --model  "G:\...\Qwen3.8-Flash-Next-Gyro-S-TQ1_0.gguf" ^
  --threads 6 --max-tokens 300

Expected: it starts and waits for pictures. Got: exit code -1073741819 (0xC0000005) immediately,
nothing on stdout or stderr.

  1. Or through setup: setup.py --family gyro --model Gyro-S --vision cpu --yes --no-start and then
    start the generated script; the traceback above appears and the process ends with code 1.

Reproduction status

Reproduced locally. Seen on engine 0.1.45.3 and again on 0.1.48 (same 103.2 MB strata-vision.exe
in both packages).

Strata version

Terminal 0.2.4.1 (build 0.1.49.1). Engine 0.1.48 (f-023-rel, commit 6f8800aefe27, CUDA 13.0).
Also seen with engine 0.1.45.3.

Hardware

RTX 4060 Ti 16 GB · 32 GB RAM · Windows 11 26200 · Ryzen 5 7500F (AVX-512)

Model / settings

Qwen3.8-Flash-Next Gyro-S (agentionai/Qwen3.8-Flash-Next-Gyro-GGUF,
Qwen3.8-Flash-Next-Gyro-S-TQ1_0.gguf, 58.5 GB), 64K context, picture reader on the CPU
(--vision cpu, the < 24 GB default) with mmproj-Qwen3.8-Flash-Next-BF16.gguf.

Logs

Vision reader launched directly, then polled (no server, no model load — the whole failure is here):

PS> $p = Start-Process strata-vision.exe -ArgumentList @('--mmproj',$mp,'--model',$md,'--threads','6','--max-tokens','300') -PassThru -NoNewWindow
PS> Start-Sleep 12; if (-not $p.HasExited) { "alive" } else { "exited $($p.ExitCode)" }
exited -1073741819          # 0xC0000005, nothing on stdout or stderr

Same binary in both engine packages installed here, same result on each:

0.1.45.3-windows-x86_64-cuda-cuda13\strata-vision.exe   103.2 MB   -> exit -1073741819
0.1.48-windows-x86_64-cuda-cuda13\strata-vision.exe     103.2 MB   -> exit -1073741819

strata-vision.exe with no arguments prints its usage and exits 2, so the package and its DLLs load.

Engine log for the same start (strata-gyro-gyro-s.log ends there; the engine never runs):

loading the vision encoder ...
RuntimeError: the vision encoder did not start:
  • #1506 — same signature on 0.1.40.2 (Swift 1.5 IQ3_XXS, RTX 3080); closed as not planned, with a
    0.1.47 report in the thread (2026-10-23).
  • #3444 — Gyro-S and IQ2_XS, Linux CUDA 12, engine 0.1.45.3.
  • #3645 — IQ3_S, Windows CUDA 13, engine 0.1.46, CPU reader on an RTX A5000 machine.
  • #3697 — Q2_0 on a Mac mini M4.

Together those cover Gyro and three non-Gyro GGUFs on two operating systems and four GPU
generations, which points at the reader itself rather than at one model file or one card.

Originally created by @oldwinter on GitHub (Oct 24, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3921 ### Area [Engine] (speed, kernels, models, the server and API) ### Desktop app, Terminal or source? Terminal (the `strata` command), engine 0.1.48 from the signed feed. The failure is below both: it reproduces from `strata-vision.exe` alone, and the same traceback appears when the server is started from a generated `run-*.bat`. ### Strata version Terminal 0.2.4.1 (build 0.1.49.1), bundle commit `c33fa7ba6d0d5b104983736b50c4e1d61f207b1b`. Engine 0.1.48 (`f-023-rel`, commit `6f8800aefe27`, CUDA 13.0). Also seen with engine 0.1.45.3. ### Graphics card, memory and system NVIDIA GeForce RTX 4060 Ti 16 GB (sm_89, driver 581.57) · 32 GB RAM · AMD Ryzen 5 7500F (AVX-512) · Windows 11 Pro build 26200 · PCIe 4.0 x8. Pictures were configured for the CPU reader (`--vision cpu`, the under-24 GB default). ### Model, size and settings Qwen3.8-Flash-Next Gyro-S (`Qwen3.8-Flash-Next-Gyro-S-TQ1_0.gguf`, 58.5 GB from `agentionai/Qwen3.8-Flash-Next-Gyro-GGUF`), 64K context, int8 KV, low-RAM mode, `mmproj-Qwen3.8-Flash-Next-BF16.gguf`. --- Continues #1506 (closed as "not planned"; report of it still happening on 0.1.47 landed there on 2026-10-23) and joins #3444 / #3645 / #3697. New information here: the reader's **exit code** and the fact that it does **not** depend on the model family (Gyro trellis GGUF), on the card (a Quadro P6000 Pascal report and an RTX A5000 report exist), or on the app vs. Terminal — it reproduces from `strata-vision.exe` alone, so it can be bisected without a server. ## What happened Starting Gyro-S with the picture reader on the CPU (`--vision cpu`, the default for a card under 24 GB) fails before the model is loaded: ``` loading the vision encoder ... Traceback (most recent call last): File "...\serve\server.py", line 7750, in main vision = Vision(vcfg, log=..., File "...\serve\server.py", line 2521, in __init__ self._start() File "...\serve\server.py", line 2542, in _start self._start_reader() File "...\serve\server.py", line 2571, in _start_reader raise RuntimeError(vision_start_error(line, self.spawn[1])) RuntimeError: the vision encoder did not start: ``` The server exits with code 1 and the model never loads. Running the reader by hand shows the actual outcome — an access violation with no message on either stream: ``` strata-vision.exe --mmproj <mmproj-Qwen3.8-Flash-Next-BF16.gguf> \ --model <Qwen3.8-Flash-Next-Gyro-S-TQ1_0.gguf> --threads 6 --max-tokens 300 exit code: -1073741819 (0xC0000005, access violation) stdout: (empty) stderr: (empty) ``` The reader exits within a few seconds, so it dies while reading the model file, before any picture is involved. `strata-vision.exe` alone (no arguments) prints its usage normally, so the package and its DLLs are sound. Impact: the model card says Gyro reads pictures, and 0.2.0's notes say the picture reader works on "Gyro and the NVFP4 models" with engine 0.1.45.1 or newer, but on this machine the only way to serve Gyro-S is `--vision no`. Setting up with `--vision no` and starting works fine; the text model is unaffected and scores 17 tok/s. ## Smallest steps to reproduce 1. Install Qwen3.8-Flash-Next Gyro-S (pack built with `--compat-bf16 --experts-bin`), engine ≥ 0.1.45.3. 2. Run the reader directly (no server needed): ``` "%LOCALAPPDATA%\Strata\components\engine\0.1.48-windows-x86_64-cuda-cuda13\strata-vision.exe" ^ --mmproj "G:\...\mmproj-Qwen3.8-Flash-Next-BF16.gguf" ^ --model "G:\...\Qwen3.8-Flash-Next-Gyro-S-TQ1_0.gguf" ^ --threads 6 --max-tokens 300 ``` Expected: it starts and waits for pictures. Got: exit code `-1073741819` (`0xC0000005`) immediately, nothing on stdout or stderr. 3. Or through setup: `setup.py --family gyro --model Gyro-S --vision cpu --yes --no-start` and then start the generated script; the traceback above appears and the process ends with code 1. ## Reproduction status Reproduced locally. Seen on engine 0.1.45.3 and again on 0.1.48 (same 103.2 MB `strata-vision.exe` in both packages). ## Strata version Terminal 0.2.4.1 (build 0.1.49.1). Engine 0.1.48 (`f-023-rel`, commit `6f8800aefe27`, CUDA 13.0). Also seen with engine 0.1.45.3. ## Hardware RTX 4060 Ti 16 GB · 32 GB RAM · Windows 11 26200 · Ryzen 5 7500F (AVX-512) ## Model / settings Qwen3.8-Flash-Next Gyro-S (`agentionai/Qwen3.8-Flash-Next-Gyro-GGUF`, `Qwen3.8-Flash-Next-Gyro-S-TQ1_0.gguf`, 58.5 GB), 64K context, picture reader on the CPU (`--vision cpu`, the < 24 GB default) with `mmproj-Qwen3.8-Flash-Next-BF16.gguf`. ## Logs Vision reader launched directly, then polled (no server, no model load — the whole failure is here): ``` PS> $p = Start-Process strata-vision.exe -ArgumentList @('--mmproj',$mp,'--model',$md,'--threads','6','--max-tokens','300') -PassThru -NoNewWindow PS> Start-Sleep 12; if (-not $p.HasExited) { "alive" } else { "exited $($p.ExitCode)" } exited -1073741819 # 0xC0000005, nothing on stdout or stderr ``` Same binary in both engine packages installed here, same result on each: ``` 0.1.45.3-windows-x86_64-cuda-cuda13\strata-vision.exe 103.2 MB -> exit -1073741819 0.1.48-windows-x86_64-cuda-cuda13\strata-vision.exe 103.2 MB -> exit -1073741819 ``` `strata-vision.exe` with no arguments prints its usage and exits 2, so the package and its DLLs load. Engine log for the same start (`strata-gyro-gyro-s.log` ends there; the engine never runs): ``` loading the vision encoder ... RuntimeError: the vision encoder did not start: ``` ## Related - #1506 — same signature on 0.1.40.2 (Swift 1.5 IQ3_XXS, RTX 3080); closed as not planned, with a 0.1.47 report in the thread (2026-10-23). - #3444 — Gyro-S **and** IQ2_XS, Linux CUDA 12, engine 0.1.45.3. - #3645 — IQ3_S, Windows CUDA 13, engine 0.1.46, CPU reader on an RTX A5000 machine. - #3697 — Q2_0 on a Mac mini M4. Together those cover Gyro and three non-Gyro GGUFs on two operating systems and four GPU generations, which points at the reader itself rather than at one model file or one card.
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:

  • Fill in "Area".
  • Fill in "Desktop app, Terminal or source?".
  • Fill in "Graphics card, memory and system".

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:6380548364 --> @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: - [ ] Fill in "Area". - [ ] Fill in "Desktop app, Terminal or source?". - [ ] Fill in "Graphics card, memory and system". 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

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

Thanks, this follows the format now.

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

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

Same issue here with unsltoh UD-Q3_K_XL

<!-- gh-comment-id:6484410256 --> @rugabunda commented on GitHub (Oct 29, 2026): Same issue here with unsltoh UD-Q3_K_XL
Author
Owner

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

Unless im mistaken CPU vision crashes specifically when loading split GGUF model files — the strata-vision.exe binary can't parse multi-shard GGUF headers correctly, while GPU vision works fine because it handles the model differently. Since this is a Windows/CUDA-specific engine bug from issues #1506 and #3921, the only workaround is to disable vision in the config and run the model in text-only mode.
The server is running successfully without vision enabled.

<!-- gh-comment-id:6484689756 --> @rugabunda commented on GitHub (Oct 29, 2026): Unless im mistaken CPU vision crashes specifically when loading split GGUF model files — the strata-vision.exe binary can't parse multi-shard GGUF headers correctly, while GPU vision works fine because it handles the model differently. Since this is a Windows/CUDA-specific engine bug from issues #1506 and #3921, the only workaround is to disable vision in the config and run the model in text-only mode. The server is running successfully without vision enabled.
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thanks for taking the time to report this.

Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.11. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6659801616 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thanks for taking the time to report this. Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.11. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
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#1676
No description provided.