mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5449] [Engine] 0.1.55+: the new 12-token verify window faults deterministically at startup on sm_86 with an IQ3_S native pack — 0.1.54 (5-token windows) runs fine on the same box #3257
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3257
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ccmspringming on GitHub (Nov 7, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5449
Environment
iq_packof the same version line--max-context 196608 --kv int8 --vision --parallel 1 --spec 3 --expert-cache 6800 --kv-resident 32768 --prefill 8192 --vram-reserve-mib 700strata:0.2.8(engine 0.1.54, works),strata:0.2.9(engine 0.1.55),strata:0.2.11(engine 0.1.57)What changed between the working and the failing engine
This is the whole difference I can see in the logs, at startup, same config, same pack, same machine:
window up to 5 tokens, 69.7 MiB of device bufferswindow up to 12 tokens, 110.2 MiB of device buffersillegal memory accessbefore the first requestSymptom (deterministic, 5/5 reboots)
Note the shape: the capture succeeds and reports
upload no error, sync no error; the fault comes when the window is executed. The launcher then reportsprobe_http_400and exits with code 6.Matrix (all 196608 context, KV int8, same pack)
verify: layer 2 never rangverify: layer 26 never rangSTRATA_GDN_TC=0+STRATA_GDN_CONVL2=0illegal memory accessSTRATA_SH_STREAM=0STRATA_CPU_IQ_ALL_EXACT1=0Ruled out
STRATA_SH_STREAM=0: no effect on 0.1.57. (Separately, on 0.1.54 it is harmful on this pack — see below.)STRATA_CPU_IQ_ALL_EXACT1=0: no effect. TheGATE=… active=1line still prints immediately before the fault.The one 0.1.57 configuration that boots still cannot serve long prompts
With
spec 2 + prefill 8192it comes up and behaves well on short and medium work:But the first ~30K-token prompt kills it:
Container exits
(6). That is the #1468 family ("prefill copy_i32: illegal memory access on long prompts when the prefill chunk is large"), but here the chunk is 8192, not auto:32768.Two side observations that may be worth separate issues
--set no-captureis accepted and then silently dropped. The value lands in the preset'sextraas"--no-capture": "", but the generated run args instate/strata/launch/<preset>.jsondo not contain it, and the log still sayscapturing …. Same forlookup-max-t. There is no way to reach--no-capturethroughstrata launch, which makes the graph-replay A/B impossible from the container path.STRATA_SH_STREAM=0breaks generation on 0.1.54 with this pack. With it set, a plain "describe the West Lake in three sentences" request returnsfinish_reason: stop,predicted_n: 1, emptycontentand emptyreasoning_content. Unsetting it and restarting restores normal output (74 tokens on the same prompt). Since #3813 recommends this variable as a fault-rate lever, anyone on 0.1.54 should check their output before trusting it.Asks
--lookup-max-t 5, roughly what 0.1.54 did), so I can A/B the new prompt-path buffers without the wide window?cudaGraphUpload-before-every-replay build (the A/B requested in #3813) be accepted upstream? That is the one experiment I cannot run from a released image.prefill copy_i32fault at prefill 8192 be reported against #1468 instead of here?Data I can attach
Full engine logs for every row of the matrix (0.1.54 startup, 0.1.55 ×3, 0.1.57 ×5), the exact
docker runinvocations, the preset JSONs, and the pack'snative_experts.txtheader. Say the word and I will paste them.@ccmspringming commented on GitHub (Nov 7, 2026):
0.1.58 (Strata 0.2.12, published 2026-11-07) still reproduces this, identically.
--spec 3 --expert-cache 6800:window up to 12 tokens, 110.2 MiB of device buffers->capturing the 12-token window (1546 MiB of VRAM free)->GATE=STRATA_CPU_IQ_ALL_EXACT1 active=1->verify: an illegal memory access was encountered. Exit code 6 at 95 s.--spec 2 --expert-cache 6200: this one reached/v1/modelsonce at 85 s, then died at the same line the moment the 12-token window was executed.So the #5108 long-prompt over-read fix is untestable for me: on this box I cannot get a session that survives the 12-token window long enough to send a 30K-token prompt.
Is there a supported way to keep the widest window at 5 tokens (what 0.1.54 does) so that #5108 can be tested here?
--lookup-max-t 5is not reachable throughstrata launch --set: the key is accepted into the preset'sextrabut does not appear in the generated args instate/strata/launch/<preset>.json(same as--no-capture).