[GH-ISSUE #1553] IQ3_XXS tier: engine + server exit silently on ~161k-token prompts at --max-context 262144 (IQ3_S / UD-IQ4_XS unaffected on the same box) #619

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

Originally created by @noahark on GitHub (Oct 8, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1553

Summary

The IQ3_XXS tier dies silently — the engine process and the serve.server wrapper both exit with no diagnostic anywhere — when a request arrives with a ~161k-token prompt, with --max-context 262144 (inside the model's trained range, no rope scaling). Reproduced 2/2 with full engine restarts between attempts. The other two tiers on the same box, same --max-context, same request bodies, are unaffected — including one that shares the pack + 2-shard GSQ-RCO layout.

Environment

  • Windows 10 Enterprise LTSC 2021 (19044), dual Xeon E5-2696 v3, 128 GB DDR3L-1600
  • Tesla V100-PCIE-32GB (sm_70, TCC), single GPU, driver 582.78
  • Strata v0.1.40.3, official prebuilt strata-windows-x64-cuda12.zip
  • Tier installed 2026-10-03 (--model IQ3_XXS --family qwen --vision gpu --context 131072); for this test only --max-context was raised to 262144 in the tier args. Full engine args:
--pack D:\strata-data\packs\iq3_xxs
--native D:\models\strata\IQ3_XXS\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf
--ple-gguf D:\models\strata\IQ3_XXS\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf
--expert-profile data\expert-profile.bin --expert-cache auto --prefill auto
--spec 4 --mtp D:\strata-data\mtp\rt --max-context 262144
--kv int8 --kv-resident 32768 --vision --vram-reserve-mib 700
--pcie-frac 0.33 --spec-min-p 0.70

Repro

  1. Start the tier; /v1/models reports n_ctx: 262144; load is normal (experts 39.97 GiB into RAM, GPU expert cache 14,504 experts / 23.54 GiB — VRAM sits at ~31.7 of 32 GB after load).
  2. A ~1k-token chat completion works normally (52-55 tok/s decode).
  3. Send a chat completion with a ~161k-token prompt (synthetic Chinese document summary workload; the exact body tokenizes to 161,633): the connection is reset mid-request, the port stops listening, and both strata.exe and the serve.server wrapper process are gone.

Threshold bracket

Ascending ladder on a fresh instance — all of these pass: 47,975 / 96,545 / 129,119 / 151,478 prompt tokens (decode 53.4 / 69.4 / 73.3 / 61.2 tok/s). The failure lands between 151,478 and 161,633.

Diagnostics — there are none

  • server stderr log: empty.
  • server stdout log: ends at the previous request's completion line; the dying request produces not even the "reading the prompt" progress line.
  • Windows Application event log / WER: no record for strata.exe at the crash timestamps.

Isolation on the same box (same --max-context 262144, same request bodies)

tier expert source installed 161,633-tok prompt 258,139-tok prompt
IQ3_XXS pack experts.bin + 2-shard GSQ-RCO (--native+--ple-gguf) 2026-10-03 engine dies (2/2) n/a
IQ3_S pack experts.bin + 2-shard GSQ-RCO (--native+--ple-gguf) 2026-10-05 OK — 57.8 tok/s OK — 51.3 tok/s
UD-IQ4_XS GGUF-direct 3-shard (--native only) 2026-10-05 OK — 34.6 tok/s OK — 36.9 tok/s

So it is not the pack path per se (IQ3_S packs and runs 258k fine), not the 2-shard GSQ-RCO mechanism (IQ3_S uses the same layout), and not the prompt size per se (UD/S serve the identical body). What remains specific to the failing tier from the outside: the oldest pack build (2026-10-03, created by the then-current setup version — the other two packs are two days newer), and/or the XXS tier's VRAM headroom at 262144 (it sits closest to the 32 GB ceiling; a prompt-scaled buffer could tip it over without an OOM message reaching the logs).

Happy to rerun with an instrumented build, a freshly rebuilt IQ3_XXS pack, --kv q4_0, or a capped --expert-cache if any of those would discriminate.

(Bench protocol: the synthetic-doc summary workload from the community bench kit — 400-token generation, reasoning_budget_tokens 400, seed 42, server-side timings. Raw runs available on request.)

Originally created by @noahark on GitHub (Oct 8, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/1553 ## Summary The IQ3_XXS tier dies silently — the engine process and the `serve.server` wrapper both exit with **no diagnostic anywhere** — when a request arrives with a ~161k-token prompt, with `--max-context 262144` (inside the model's trained range, no rope scaling). Reproduced 2/2 with full engine restarts between attempts. The other two tiers on the same box, same `--max-context`, same request bodies, are unaffected — including one that shares the pack + 2-shard GSQ-RCO layout. ## Environment - Windows 10 Enterprise LTSC 2021 (19044), dual Xeon E5-2696 v3, 128 GB DDR3L-1600 - Tesla V100-PCIE-32GB (sm_70, TCC), single GPU, driver 582.78 - Strata **v0.1.40.3**, official prebuilt `strata-windows-x64-cuda12.zip` - Tier installed 2026-10-03 (`--model IQ3_XXS --family qwen --vision gpu --context 131072`); for this test only `--max-context` was raised to 262144 in the tier args. Full engine args: ``` --pack D:\strata-data\packs\iq3_xxs --native D:\models\strata\IQ3_XXS\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf --ple-gguf D:\models\strata\IQ3_XXS\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf --expert-profile data\expert-profile.bin --expert-cache auto --prefill auto --spec 4 --mtp D:\strata-data\mtp\rt --max-context 262144 --kv int8 --kv-resident 32768 --vision --vram-reserve-mib 700 --pcie-frac 0.33 --spec-min-p 0.70 ``` ## Repro 1. Start the tier; `/v1/models` reports `n_ctx: 262144`; load is normal (experts 39.97 GiB into RAM, GPU expert cache 14,504 experts / 23.54 GiB — VRAM sits at ~31.7 of 32 GB after load). 2. A ~1k-token chat completion works normally (52-55 tok/s decode). 3. Send a chat completion with a **~161k-token prompt** (synthetic Chinese document summary workload; the exact body tokenizes to 161,633): the connection is reset mid-request, the port stops listening, and both `strata.exe` and the `serve.server` wrapper process are gone. ## Threshold bracket Ascending ladder on a fresh instance — all of these pass: **47,975 / 96,545 / 129,119 / 151,478** prompt tokens (decode 53.4 / 69.4 / 73.3 / 61.2 tok/s). The failure lands between **151,478 and 161,633**. ## Diagnostics — there are none - server stderr log: empty. - server stdout log: ends at the previous request's completion line; the dying request produces **not even the "reading the prompt" progress line**. - Windows Application event log / WER: **no record** for strata.exe at the crash timestamps. ## Isolation on the same box (same `--max-context 262144`, same request bodies) | tier | expert source | installed | 161,633-tok prompt | 258,139-tok prompt | |---|---|---|---|---| | IQ3_XXS | pack `experts.bin` + 2-shard GSQ-RCO (`--native`+`--ple-gguf`) | 2026-10-03 | **engine dies (2/2)** | n/a | | IQ3_S | pack `experts.bin` + 2-shard GSQ-RCO (`--native`+`--ple-gguf`) | 2026-10-05 | OK — 57.8 tok/s | OK — 51.3 tok/s | | UD-IQ4_XS | GGUF-direct 3-shard (`--native` only) | 2026-10-05 | OK — 34.6 tok/s | OK — 36.9 tok/s | So it is **not** the pack path per se (IQ3_S packs and runs 258k fine), not the 2-shard GSQ-RCO mechanism (IQ3_S uses the same layout), and not the prompt size per se (UD/S serve the identical body). What remains specific to the failing tier from the outside: the oldest pack build (2026-10-03, created by the then-current setup version — the other two packs are two days newer), and/or the XXS tier's VRAM headroom at 262144 (it sits closest to the 32 GB ceiling; a prompt-scaled buffer could tip it over without an OOM message reaching the logs). Happy to rerun with an instrumented build, a freshly rebuilt IQ3_XXS pack, `--kv q4_0`, or a capped `--expert-cache` if any of those would discriminate. *(Bench protocol: the synthetic-doc summary workload from the community bench kit — 400-token generation, `reasoning_budget_tokens` 400, seed 42, server-side timings. Raw runs available on request.)*
Author
Owner

@noahark commented on GitHub (Oct 8, 2026):

Root cause found — request-time VRAM exhaustion, and the engine's own startup warning points straight at it.

The tier's engine log (strata-iq3_xxs.log — the per-tier stderr log the wrapper keeps) from the crash sessions shows the whole picture at load:

strata generate: expert cache auto: 24.41 GiB free, 700 MiB reserved (+184 MiB for the draft head) -> 10851 slots
strata generate: expert cache 14504 slots, 23.54 GiB of VRAM
strata serve: prompt chunk auto: 8192 tokens, a 384-slot ring
strata serve: the prompt path borrows 2619 CUDA0 cache slots (4.25 GiB)
strata serve: 451 MiB of VRAM free with everything loaded
strata serve: that is little room for the verify windows' buffers under WDDM; if the engine exits right
               after this line, --prefill auto:8192 (a smaller prompt chunk borrows fewer cache slots)
               or a larger --vram-reserve-mib leaves more

The dying request leaves zero lines in the engine log — the process exits before any per-request output, with nothing on stderr and no WER record.

Minimal knob repro on the failing tier (every other arg unchanged; single cold ~161k-token request fired right after load):

--vram-reserve-mib VRAM free at load cold ~161k prompt
700 (what --vision gpu writes) 451 MiB engine exits silently — 161,633 tok, 2/2
2000 ~2.9 GiB OK — 162,632 tok: 1197 tok/s prefill, 47.7 tok/s decode, accept 0.77

So --vram-reserve-mib 2000 (or a smaller --prefill chunk) is a working workaround for this tier at 262144.

Two things look fix-worthy from the outside:

  1. The runtime allocation failure is silent. The engine clearly knows this failure mode — it prints the advice above at startup — but when the failure actually happens mid-prompt it exits without emitting anything, to stderr, the engine log, or WER. Logging the same advice on the real failure (or the CUDA error itself) would have turned this from a multi-hour mystery into a 5-minute config change.
  2. --expert-cache auto at --max-context 262144 fills the card to ~450 MiB free, which the deep-prompt path then needs back. Notably, IQ3_S and UD-IQ4_XS on this same box also sit at 444–451 MiB free and survive 258k prompts, so the floor is not conservative enough specifically for this tier's prompt-path demand (XXS here: 14,504-slot cache, prompt-path borrow 2,619 slots / 4.25 GiB). Sizing the auto reserve by the prompt-path borrow, or scaling it with --max-context, would prevent the class rather than warn about it.

(The wrapper side stays equally silent, for what it's worth — the client just gets ECONNRESET and the port is gone.)

Happy to test any candidate fix against this repro (2/2 on the default config, passes with the reserve raised).

<!-- gh-comment-id:6059414961 --> @noahark commented on GitHub (Oct 8, 2026): **Root cause found — request-time VRAM exhaustion, and the engine's own startup warning points straight at it.** The tier's engine log (`strata-iq3_xxs.log` — the per-tier stderr log the wrapper keeps) from the crash sessions shows the whole picture at load: ``` strata generate: expert cache auto: 24.41 GiB free, 700 MiB reserved (+184 MiB for the draft head) -> 10851 slots strata generate: expert cache 14504 slots, 23.54 GiB of VRAM strata serve: prompt chunk auto: 8192 tokens, a 384-slot ring strata serve: the prompt path borrows 2619 CUDA0 cache slots (4.25 GiB) strata serve: 451 MiB of VRAM free with everything loaded strata serve: that is little room for the verify windows' buffers under WDDM; if the engine exits right after this line, --prefill auto:8192 (a smaller prompt chunk borrows fewer cache slots) or a larger --vram-reserve-mib leaves more ``` The dying request leaves **zero lines** in the engine log — the process exits before any per-request output, with nothing on stderr and no WER record. **Minimal knob repro on the failing tier (every other arg unchanged; single cold ~161k-token request fired right after load):** | `--vram-reserve-mib` | VRAM free at load | cold ~161k prompt | |---|---|---| | 700 (what `--vision gpu` writes) | 451 MiB | **engine exits silently** — 161,633 tok, 2/2 | | 2000 | ~2.9 GiB | **OK** — 162,632 tok: 1197 tok/s prefill, 47.7 tok/s decode, accept 0.77 | So `--vram-reserve-mib 2000` (or a smaller `--prefill` chunk) is a working workaround for this tier at 262144. Two things look fix-worthy from the outside: 1. **The runtime allocation failure is silent.** The engine clearly knows this failure mode — it prints the advice above at startup — but when the failure actually happens mid-prompt it exits without emitting anything, to stderr, the engine log, or WER. Logging the same advice on the real failure (or the CUDA error itself) would have turned this from a multi-hour mystery into a 5-minute config change. 2. **`--expert-cache auto` at `--max-context 262144` fills the card to ~450 MiB free, which the deep-prompt path then needs back.** Notably, IQ3_S and UD-IQ4_XS on this same box also sit at 444–451 MiB free and survive 258k prompts, so the floor is not conservative enough specifically for this tier's prompt-path demand (XXS here: 14,504-slot cache, prompt-path borrow 2,619 slots / 4.25 GiB). Sizing the auto reserve by the prompt-path borrow, or scaling it with `--max-context`, would prevent the class rather than warn about it. (The wrapper side stays equally silent, for what it's worth — the client just gets ECONNRESET and the port is gone.) Happy to test any candidate fix against this repro (2/2 on the default config, passes with the reserve raised).
Author
Owner

@noahark commented on GitHub (Oct 8, 2026):

Correction + follow-up: the "root cause" in my previous comment over-claimed, and the crash has since stopped reproducing. Status below.

What still stands:

  • The knob experiment: at --vram-reserve-mib 700 the ~161k prompt killed the tier 2/2 (two full restarts, 18:55 and 19:07 local); at --vram-reserve-mib 2000 a 162,632-token prompt passes. So the failure is strongly correlated with how full the card is — --vram-reserve-mib 2000 remains a verified-safe configuration for IQ3_XXS @ 262144 on this box.
  • IQ3_S (same pack + 2-shard layout) and UD-IQ4_XS still pass the identical 161,633- and 258,139-token bodies at the same --max-context.

What I have to walk back: the previous comment asserted the mechanism (request-time VRAM exhaustion inside the engine). The failing allocation and the death order (engine vs python wrapper — the wrapper ties the engine to a kill-on-close job object, so either dying first looks the same from the client) were never actually pinned, and tonight the crash refuses to reproduce:

run (local) reserve trace protocol result
18:55, 19:07 700 off 1k req → 161,633-tok req silent double death, 2/2
19:16 700 off 48k→96k→129k→151,478 ascending all pass
19:5x 2000 off direct 161k-class pass
21:02 700 on 1k → 161,633 pass (140.6 s)
21:02 700 on direct 161,633 (no warm request) pass (142.5 s)
21:10 700 off 1k → 161,633 (exact crash cadence) pass (144.1 s)

The 21:02/21:10 runs are byte-identical to the crash runs where it matters: the load banner prints the same numbers (auto 24.41 GiB free → 14,504 slots / 23.54 GiB, prompt path borrows 2,619 slots / 4.25 GiB, 451 MiB free), the request body is the same 161,633 tokens, the ordering is the same. The crash condition existed in a ~13-minute window and is gone.

For the next occurrence I now have a rig ready: a monitor holding pre-opened handles on wrapper/engine/vision to record the death order and exit codes, STRATA_TRACE=1, client wall-clock, and the per-tier engine stderr log (which is where a per-request trace lands). For the record, the trace of a healthy 161,633-token request on this tier:

strata trace: request 161633 0
strata trace: prompt start 161632 -1
strata trace: lent 2619 slots for 8192 tokens in 1.1 ms
strata trace: prompt chunk 0 of 161628 ... (20 chunks of 8192)
strata trace: refill start 2619 -1
strata trace: refilled 2619 slots on 1 stage(s) in 391.7 ms
strata trace: prompt done (slots refilled) -1 -1

Two questions for anyone who knows the codebase better than I do:

  1. Is there anything time-varying you'd expect to make the borrow/refill path fragile in one window and not another (driver state, thermal, page-cache-cold first load of the day, another process touching the card)? The crashes came right after this box's UD-IQ4_XS instance had been unloaded; the surviving runs came after several more load/unload cycles.
  2. Any additional env or flag you'd want set when it next happens? The rig above takes about a minute to arm; I'll keep it ready whenever this tier runs 262144.

Not changing the report's practical takeaway: 131072 (the shipped default) never showed this, and 262144 on this tier is safe with the reserve raised.

<!-- gh-comment-id:6060678375 --> @noahark commented on GitHub (Oct 8, 2026): **Correction + follow-up: the "root cause" in my previous comment over-claimed, and the crash has since stopped reproducing. Status below.** What still stands: - The knob experiment: at `--vram-reserve-mib 700` the ~161k prompt killed the tier 2/2 (two full restarts, 18:55 and 19:07 local); at `--vram-reserve-mib 2000` a 162,632-token prompt passes. So the failure is strongly correlated with how full the card is — `--vram-reserve-mib 2000` remains a verified-safe configuration for IQ3_XXS @ 262144 on this box. - IQ3_S (same pack + 2-shard layout) and UD-IQ4_XS still pass the identical 161,633- and 258,139-token bodies at the same `--max-context`. What I have to walk back: the previous comment asserted the mechanism (request-time VRAM exhaustion inside the engine). The failing allocation and the death order (engine vs python wrapper — the wrapper ties the engine to a kill-on-close job object, so either dying first looks the same from the client) were never actually pinned, and tonight the crash refuses to reproduce: | run (local) | reserve | trace | protocol | result | |---|---|---|---|---| | 18:55, 19:07 | 700 | off | 1k req → 161,633-tok req | **silent double death, 2/2** | | 19:16 | 700 | off | 48k→96k→129k→151,478 ascending | all pass | | 19:5x | 2000 | off | direct 161k-class | pass | | 21:02 | 700 | **on** | 1k → 161,633 | pass (140.6 s) | | 21:02 | 700 | on | direct 161,633 (no warm request) | pass (142.5 s) | | 21:10 | 700 | **off** | 1k → 161,633 (exact crash cadence) | pass (144.1 s) | The 21:02/21:10 runs are byte-identical to the crash runs where it matters: the load banner prints the same numbers (auto 24.41 GiB free → 14,504 slots / 23.54 GiB, prompt path borrows 2,619 slots / 4.25 GiB, **451 MiB free**), the request body is the same 161,633 tokens, the ordering is the same. The crash condition existed in a ~13-minute window and is gone. For the next occurrence I now have a rig ready: a monitor holding pre-opened handles on wrapper/engine/vision to record the death **order and exit codes**, `STRATA_TRACE=1`, client wall-clock, and the per-tier engine stderr log (which is where a per-request trace lands). For the record, the trace of a healthy 161,633-token request on this tier: ``` strata trace: request 161633 0 strata trace: prompt start 161632 -1 strata trace: lent 2619 slots for 8192 tokens in 1.1 ms strata trace: prompt chunk 0 of 161628 ... (20 chunks of 8192) strata trace: refill start 2619 -1 strata trace: refilled 2619 slots on 1 stage(s) in 391.7 ms strata trace: prompt done (slots refilled) -1 -1 ``` Two questions for anyone who knows the codebase better than I do: 1. Is there anything time-varying you'd expect to make the borrow/refill path fragile in one window and not another (driver state, thermal, page-cache-cold first load of the day, another process touching the card)? The crashes came right after this box's UD-IQ4_XS instance had been unloaded; the surviving runs came after several more load/unload cycles. 2. Any additional env or flag you'd want set when it next happens? The rig above takes about a minute to arm; I'll keep it ready whenever this tier runs 262144. Not changing the report's practical takeaway: 131072 (the shipped default) never showed this, and 262144 on this tier is safe with the reserve raised.
Author
Owner

@noahark commented on GitHub (Oct 8, 2026):

Follow-up on the workaround sample size: with --vram-reserve-mib 2000 (all other args unchanged, --max-context 262144), the IQ3_XXS tier has now passed the full ascending ladder on a fresh instance, with STRATA_TRACE=1 on and a pre-held-handle monitor watching wrapper/engine/vision (no deaths recorded):

prompt tokens prefill tok/s decode tok/s (vs own 1k) draft accept
980 442 53.8 (100%) 0.74
161,633 1232.7 54.9 (102%) 0.77
210,425 961.5 58.8 (109%) 0.763
258,139 867.5 56.5 (105%) 0.751

So the reserve-2000 configuration now has: one isolated 162,632-token pass (earlier) plus this full-depth ladder — zero failures, zero decay through 258k. At 2000 the load banner reads 13,697 cache slots / 22.27 GiB (vs 14,504 / 23.54 at 700), the prompt-path borrow is unchanged (2,591 slots / 4.25 GiB), and free VRAM after load is 1,754 MiB (vs 451).

The open question from my last comment stands unchanged (what made 700 fail 2/2 in that 18:55-19:07 window and pass 4/4 later — still not reproduced since, monitor-ready if it returns). This just upgrades the practical guidance from "passed once" to "passed a full 258k ladder" for anyone hitting the same shape on a 32 GB card.

<!-- gh-comment-id:6061286570 --> @noahark commented on GitHub (Oct 8, 2026): Follow-up on the workaround sample size: with `--vram-reserve-mib 2000` (all other args unchanged, `--max-context 262144`), the IQ3_XXS tier has now passed the **full ascending ladder** on a fresh instance, with `STRATA_TRACE=1` on and a pre-held-handle monitor watching wrapper/engine/vision (no deaths recorded): | prompt tokens | prefill tok/s | decode tok/s (vs own 1k) | draft accept | |---|---|---|---| | 980 | 442 | 53.8 (100%) | 0.74 | | 161,633 | 1232.7 | 54.9 (102%) | 0.77 | | 210,425 | 961.5 | 58.8 (109%) | 0.763 | | 258,139 | 867.5 | 56.5 (105%) | 0.751 | So the reserve-2000 configuration now has: one isolated 162,632-token pass (earlier) plus this full-depth ladder — zero failures, zero decay through 258k. At 2000 the load banner reads 13,697 cache slots / 22.27 GiB (vs 14,504 / 23.54 at 700), the prompt-path borrow is unchanged (2,591 slots / 4.25 GiB), and free VRAM after load is 1,754 MiB (vs 451). The open question from my last comment stands unchanged (what made 700 fail 2/2 in that 18:55-19:07 window and pass 4/4 later — still not reproduced since, monitor-ready if it returns). This just upgrades the practical guidance from "passed once" to "passed a full 258k ladder" for anyone hitting the same shape on a 32 GB card.
Author
Owner

@noahark commented on GitHub (Oct 8, 2026):

One more pass at reproduction, this time attacking the precondition space — result: still zero reproductions, but the card's margin is now measured.

All rounds at --vram-reserve-mib 700 (the historically failing value) + --max-context 262144, STRATA_TRACE=1, pre-held-handle monitor on wrapper/engine/vision, 1 Hz nvidia-smi sampling, per-round log archival:

round precondition / protocol result
R1 fresh instance, 1k → 2 s → 161,633 → 210,425 → 258,139 full depth passes (161k 63.5, 208k 59.5, 258k 59.8 tok/s)
R2 fresh instance, direct 161,633 (no warm request) pass (147.6 s)
R4a predecessor was a generation-serving XXS, then fresh instance + protocol pass
R4b predecessor was a generation-serving UD-IQ4_XS (loaded, real 636-token generation, killed, XXS loaded immediately — the exact state before both historical crashes), then protocol full depth passes (161k 63.1, 208k 59.6, 258k 59.4 tok/s)

The UD-predecessor hypothesis is now excluded: that exact sequence completes the full 258k ladder. Tonight's totals at reserve 700: the 2 historical crashes (18:55/19:07) followed by 9 consecutive passes at the 161k class and two complete full-depth ladders — under every protocol variant (direct, after-warm, ascending) and every predecessor state we could reconstruct.

The VRAM margin at the default reserve, for what it's worth: with everything loaded the engine reports 451 MiB free, and the 1 Hz sampler caught deep-prompt peaks at 32,373 MiB of 32,768 used (~395 MiB free). So at 700 the tier routinely operates within ~400 MiB of the cliff during deep prompts and normally does not step over — whatever pushed it over twice in that early window is still unidentified (and not any precondition we could reconstruct).

Practical reading stands: at 131072 (the shipped default) this has never been seen; at 262144 the default reserve leaves ~400 MiB of headroom at peak and works in practice, but --vram-reserve-mib 2000 moves the margin to ~2.9 GiB for a ~5% smaller expert cache (13,697 vs 14,504 slots) — a reasonable belt-and-suspenders for anyone running 32 GB cards at full context. The capture rig stays armed locally; if it ever fires, the death order and exit codes will land in this issue same day.

<!-- gh-comment-id:6062561125 --> @noahark commented on GitHub (Oct 8, 2026): One more pass at reproduction, this time attacking the precondition space — result: still zero reproductions, but the card's margin is now measured. All rounds at `--vram-reserve-mib 700` (the historically failing value) + `--max-context 262144`, `STRATA_TRACE=1`, pre-held-handle monitor on wrapper/engine/vision, 1 Hz `nvidia-smi` sampling, per-round log archival: | round | precondition / protocol | result | |---|---|---| | R1 | fresh instance, 1k → 2 s → 161,633 → 210,425 → 258,139 | **full depth passes** (161k 63.5, 208k 59.5, 258k 59.8 tok/s) | | R2 | fresh instance, direct 161,633 (no warm request) | pass (147.6 s) | | R4a | predecessor was a *generation-serving* XXS, then fresh instance + protocol | pass | | R4b | predecessor was a *generation-serving* UD-IQ4_XS (loaded, real 636-token generation, killed, XXS loaded immediately — the exact state before both historical crashes), then protocol | **full depth passes** (161k 63.1, 208k 59.6, 258k 59.4 tok/s) | The UD-predecessor hypothesis is now excluded: that exact sequence completes the full 258k ladder. Tonight's totals at reserve 700: the 2 historical crashes (18:55/19:07) followed by **9 consecutive passes at the 161k class and two complete full-depth ladders** — under every protocol variant (direct, after-warm, ascending) and every predecessor state we could reconstruct. The VRAM margin at the default reserve, for what it's worth: with everything loaded the engine reports 451 MiB free, and the 1 Hz sampler caught deep-prompt peaks at **32,373 MiB of 32,768 used (~395 MiB free)**. So at 700 the tier routinely operates within ~400 MiB of the cliff during deep prompts and normally does not step over — whatever pushed it over twice in that early window is still unidentified (and not any precondition we could reconstruct). Practical reading stands: at 131072 (the shipped default) this has never been seen; at 262144 the default reserve leaves ~400 MiB of headroom at peak and works in practice, but `--vram-reserve-mib 2000` moves the margin to ~2.9 GiB for a ~5% smaller expert cache (13,697 vs 14,504 slots) — a reasonable belt-and-suspenders for anyone running 32 GB cards at full context. The capture rig stays armed locally; if it ever fires, the death order and exit codes will land in this issue same day.
Author
Owner

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

Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.

If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.

<!-- gh-comment-id:6156132796 --> @Niko1221 commented on GitHub (Oct 13, 2026): Thanks for the report. To keep the tracker current we are closing issues older than three days: [0.1.44](https://github.com/Niko1221/Strata/releases/tag/v0.1.44) is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1. If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.
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#619
No description provided.