[GH-ISSUE #174] Vision encoder bug: RuntimeError: the engine exited before it was ready #92

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

Originally created by @sinand99 on GitHub (Sep 29, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/174

Reopening the issue #85
Was working fine on 0.1.24, now the same issue is happening on 0.1.27. "--prefill 512" doesn't fix it, "START-HERE.bat --vision cpu" also fails.

Log
strata-vision: warmed up at 1024 image tokens
strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows)
strata generate: native pack: G:\AI\Text\Apps\Strata-data\packs\iq3_s experts (largest blob 2.66 MB), token embedding type 23 in mapped host memory (322 MiB)
strata generate: 1466 MiB of weights loaded from G:\AI\Text\Apps\Strata-data\packs\iq3_s (302 canonical tensors skipped: served natively)
strata generate: 300 native projection matrices, 2018.88 MiB of weights
strata generate: KV streaming: 32768 of 65536 cells per QSA layer in VRAM, the K/V in 0.77 GiB of pinned RAM
strata generate: PLE on, table 320001536 rows of G:\AI\Text\Apps\Strata-data\models\IQ3_S\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf
strata mtp: draft layer loaded, 835 MiB of VRAM (experts 675, dense 111), files read in 0.38 s (2045 MiB/s)
strata generate: expert arena: locked 1302 MiB via working-set minimum + VirtualLock; cudaHostRegister of the whole arena FAILED (out of memory); 47 slices pinned (45 GiB); large pages refused for 50295996416 B (GetLargePageMinimum=2097152, VirtualAlloc error 1314); using 4 KB pages
strata generate: loaded 46.84 GiB at 2.29 GiB/s
strata generate: profile G:\AI\Text\Apps\Strata\data\expert-profile.bin: 24576 ranked pairs, built for 24576 slots
strata generate: experimental native Q5_K head, 521472000 bytes
strata generate: expert cache auto: 0.00 GiB free, 700 MiB reserved -> 0 slots
strata generate: pre-filled 0 of 0 slots from the profile; slot 0 verified
strata generate: 7 expert-pool workers + the host thread
strata generate: session is up (engine 0.1.27)
strata serve: the prompt path allocates its own buffers (too few cache slots to borrow)
strata serve: verify: needs the profile-filled VRAM expert tier (--expert-profile and --expert-cache)

Originally created by @sinand99 on GitHub (Sep 29, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/174 Reopening the issue #85 Was working fine on 0.1.24, now the same issue is happening on 0.1.27. "--prefill 512" doesn't fix it, "START-HERE.bat --vision cpu" also fails. Log strata-vision: warmed up at 1024 image tokens strata generate: this CPU has no AVX-512: the expert kernels run on AVX-2 (multi-token for the i-quant gate/up rows) strata generate: native pack: G:\AI\Text\Apps\Strata-data\packs\iq3_s experts (largest blob 2.66 MB), token embedding type 23 in mapped host memory (322 MiB) strata generate: 1466 MiB of weights loaded from G:\AI\Text\Apps\Strata-data\packs\iq3_s (302 canonical tensors skipped: served natively) strata generate: 300 native projection matrices, 2018.88 MiB of weights strata generate: KV streaming: 32768 of 65536 cells per QSA layer in VRAM, the K/V in 0.77 GiB of pinned RAM strata generate: PLE on, table 320001536 rows of G:\AI\Text\Apps\Strata-data\models\IQ3_S\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf strata mtp: draft layer loaded, 835 MiB of VRAM (experts 675, dense 111), files read in 0.38 s (2045 MiB/s) strata generate: expert arena: locked 1302 MiB via working-set minimum + VirtualLock; cudaHostRegister of the whole arena FAILED (out of memory); 47 slices pinned (45 GiB); large pages refused for 50295996416 B (GetLargePageMinimum=2097152, VirtualAlloc error 1314); using 4 KB pages strata generate: loaded 46.84 GiB at 2.29 GiB/s strata generate: profile G:\AI\Text\Apps\Strata\data\expert-profile.bin: 24576 ranked pairs, built for 24576 slots strata generate: experimental native Q5_K head, 521472000 bytes strata generate: expert cache auto: 0.00 GiB free, 700 MiB reserved -> 0 slots strata generate: pre-filled 0 of 0 slots from the profile; slot 0 verified strata generate: 7 expert-pool workers + the host thread strata generate: session is up (engine 0.1.27) strata serve: the prompt path allocates its own buffers (too few cache slots to borrow) strata serve: verify: needs the profile-filled VRAM expert tier (--expert-profile and --expert-cache)
Author
Owner

@Niko1221 commented on GitHub (Sep 30, 2026):

Thanks. The engine found no free VRAM for the expert cache (0 slots), and then the verifier cannot start; the message was unhelpful. 0.1.28 (in testing) says what to lower, and it also stops 0.1.27's larger draft head from eating the VRAM reserve (#199), which may be the cause here. Which GPU is this? Please post the log of the --vision cpu run too. Workarounds meanwhile: a smaller --max-context, --kv k8v4, or images on the CPU.

<!-- gh-comment-id:5908106714 --> @Niko1221 commented on GitHub (Sep 30, 2026): Thanks. The engine found no free VRAM for the expert cache (0 slots), and then the verifier cannot start; the message was unhelpful. 0.1.28 (in testing) says what to lower, and it also stops 0.1.27's larger draft head from eating the VRAM reserve (#199), which may be the cause here. Which GPU is this? Please post the log of the `--vision cpu` run too. Workarounds meanwhile: a smaller `--max-context`, `--kv k8v4`, or images on the CPU.
Author
Owner

@Niko1221 commented on GitHub (Sep 30, 2026):

0.1.28 says what to lower when no VRAM is left for the expert cache, and it keeps the VRAM reserve free again (#199), which may have caused this. Closing; please reopen with your GPU model and the log if it still happens after updating.

<!-- gh-comment-id:5908630453 --> @Niko1221 commented on GitHub (Sep 30, 2026): [0.1.28](https://github.com/Niko1221/Strata/releases/tag/v0.1.28) says what to lower when no VRAM is left for the expert cache, and it keeps the VRAM reserve free again (#199), which may have caused this. Closing; please reopen with your GPU model and the log if it still happens after updating.
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#92
No description provided.