mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5539] [Engine] STRATA_KVA=1: device memory access fault (SIGABRT) on chunked deep prefill (93,821 tokens, 3x32K chunks) #5510
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#5510
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 @xyzzing on GitHub (Nov 7, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5539
Title: [Engine] STRATA_KVA=1: device memory access fault (SIGABRT) on chunked deep prefill (93,821 tokens, 3x32K chunks)
Desktop app, Terminal or source?
Terminal (source build on Fedora; the HIP engine served via the OpenAI-compatible server).
What happened
With
STRATA_KVA=1, a 93,821-token request under--prefill auto(three ~32K chunks) aborts theengine ~90 s into the prompt read: the ROCm runtime raises a device memory access fault and the
engine exits with signal 6 (
the engine stopped unexpectedly (exit code -6)), 0 tokens out,finish_reasonnever set. Deterministic: 3/3 occurrences across two sessions on the same buildand workload. The captured fault line (from the engine's log, stderr unbuffered):
The address is small and offset-like (~1.5 MB). At the fault the prompt path had borrowed 6,931
KV cache slots (13.11 GiB) for the chunk ladder. Single-chunk prompts do NOT reproduce: a
4,700-token request engages KVA (split 36, suffix 2048) and completes normally — and measured 45%
faster prefill than the baseline with probe quality identical to baseline (5-fact retrieval
probe), so the mechanism is attractive and this bug is the only blocker at depth.
Smallest steps or command that reproduce it
STRATA_KVA=1(split 36, suffix 2048 defaults) on--prefill auto(chunk 32768).Reproduction status
Reproduced locally on the reported hardware, 3/3.
Strata version
engine 0.1.55 = upstream v0.2.9 + 10 locally replayed fork commits (attention/prefill-path
commits; the KVA sources are not in the replay set); also observed on the 2026-11-07 build of the
same line. Happy to re-run on a clean upstream build if that would help triage.
Graphics card, memory and system
RX 7900 XTX 24 GB · Ryzen 9 7900X · 96 GB RAM · Fedora (Linux), HIP SDK 7.17.26392
Model, size and settings
Qwen3.8-Flash-Next GSQ/RCO IQ3_S,
--kv int8,--max-context 131072,--kv-resident 49152,--prefill auto(chunk 32768), expert cache auto/PROFILE.Logs
Captured engine log with the fault line available on request (or attached on filing); the run
also left a full server log. Not OOM (96 GB RAM, 64+ GB free at the fault; the fault line is the
runtime's, not the kernel OOM killer's), and not the copy_blobs path.
Area
[Engine] (speed, kernels, models, the server and API)
@github-actions[bot] commented on GitHub (Nov 7, 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 7, 2026):
Thanks, this follows the format now.