mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5051] [Engine] single-GPU layer-major prefill: Xid 31 MMU fault (FAULT_PDE) on a 31K fp16 prompt, engine 0.1.55 #2342
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#2342
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 @dandandelion on GitHub (Nov 3, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5051
Desktop app, Terminal or source?
Source (START-HERE.bat, setup.sh or a build)
Area
[Engine] (speed, kernels, models, the server and API)
What happened
On engine 0.1.55 built from source (v0.2.9), a single NVIDIA card and a Qwen3.8-Flash-Next IQ3_S pack, a prompt of 31,045 tokens faults the GPU during prefill. The engine reports:
and the kernel logs:
This is the fp16 KV arm: it runs none of the custom kernels in the tree we were testing (a KV-cache feature merged on top of v0.2.9; the fp16 path does not execute it).
What points at layer-major prefill (observation, not proof): the same harness and the same prompt completed 64K contexts in four formats with STRATA_PREFILL_LAYER_MAJOR=0, and the first 32K run without that variable (layer-major on, which is the default for a single non-HIP device) faulted on the fp16 arm before any other format ran. After pinning STRATA_PREFILL_LAYER_MAJOR=0 in the harness, the runs completed. We have not yet repeated the 32K fp16 request with layer-major on and off on a pristine 0.1.55 build, so treat the attribution as a strong correlation.
Expected: a 31K prompt prefills and decodes normally, as it does on engine 0.1.48 (the same box, pack and arguments served days of agent traffic with prompts up to ~100K).
Smallest steps or command that reproduce it
Engine: v0.2.9 source (engine 0.1.55), built locally with -DSTRATA_ENABLE_CUDA=ON
-DCMAKE_CUDA_ARCHITECTURES=86, no patches to the prefill path.
One card. Engine arguments of the failing run:
Environment of the failing run: STRATA_PREFILL_CPU_SHARE=0, STRATA_VERIFY_TRACE=0, and
STRATA_PREFILL_LAYER_MAJOR unset (the default). Then send one request with a ~31K-token prompt and
max_tokens 256.
With STRATA_PREFILL_LAYER_MAJOR=0 added, the same harness completed 32K and 64K requests.
Reproduction status
Reproduced locally
Strata version
Strata 0.2.9 · engine 0.1.55
Graphics card, memory and system
RTX 3080 Ti Laptop 16 GB (GA103M, sm_86) · 64 GB RAM · Fedora 44, kernel 7.2.11, driver 615.78.08 (proprietary),
GSP firmware enabled · memory clock locked at 7701 MHz
Model, size and settings
Qwen3.8-Flash-Next GSQ-RCO IQ3_S (native pack, experts in RAM) · 33,792 context · fp16 KV · expert-cache 3000
Logs
I can attach the engine log for the faulting run (the last lines are the verify error), the complete Xid line, and
the same harness's clean 32K/64K runs with STRATA_PREFILL_LAYER_MAJOR=0, plus the exact config JSON. Say which you want.
Below the form (free text)
Why this is not the same report as #4662 / #4695
Both of those are CUDA layer splits: #4662 an asymmetric TITAN RTX + 3080 pair on Linux, #4695 a two card
Windows setup that dies with
prefill (layer-major): expert source has no blob. This report is a single card, where layer-major is on by default too, and the failure surfaces as a GPU MMU fault rather than an engine error string. Same family by name, different configuration and different symptom, so we did not want to bury a single-GPU data point inside a split-GPU thread.Related: #3976 (layer-major on a split, the feature itself), #4393 (STRATA_KVA=1 silently disabling layer-major),
#4687 (0.2.7/0.2.8 defaults regressing 4-slot prompt throughput). Note also
08e8770cin the v0.2.8..v0.2.9 range, "Prefill (layer-major): an expert with no mapped blob is copied by its source instead of ending the record" — the configuration here (--expert-cache 3000against a ~47 GiB expert set,--adapt-swaps 0) is one where a large majority of experts have no mapped blob at any instant, which is the condition that fix names.What we ruled out, by running it
Xid 13on 50-58 of 58 SMs with ESR0xc81eb60/0x1174andverify: layer N never rang (illegal instruction), tied to a specific quant pack. No Xid 13 occurred in this window; all of these are Xid 31.What we did not test
A pristine 0.1.55 build (no KV feature merged) repeating the 32K fp16 request with layer-major on and off. That is the next run here and we will add the result to this issue; until then the attribution to layer-major is a
correlation from the same session, not an isolated A/B. We also did not test a layer split, HIP, SYCL, or
--adapt-swapsabove 0 on this configuration.@github-actions[bot] commented on GitHub (Nov 3, 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:
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
@github-actions[bot] commented on GitHub (Nov 3, 2026):
Thanks, this follows the format now.
@dandandelion commented on GitHub (Nov 3, 2026):
/reopen