mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5197] [Engine] CUDA "illegal memory access" in prefill (gr_write) with --max-context 131072 on RTX 4070 Ti (12 GiB), 0.2.10 #3094
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#3094
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 @DO1FJN on GitHub (Nov 4, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5197
Area
engine prompt processing
Environment
#1 SMP PREEMPT_DYNAMICWhat happened
With the default context of 131072 the engine started and answered a first short prompt (53 tokens). During the next prefill it crashed:
Command line:
... --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp ... --max-context 131072 --kv int8 --mmap-experts --vram-reserve-mib 1536The engine was restarted afterwards with
--max-context 32768(same settings otherwise) and has been stable since, including a 6.5k-token prompt.Reproduction
not done jet.
Notes
I can attach the log from the crashing run. Happy to test with other context sizes or settings if useful.
strata-swift-iq2_xs.log
@github-actions[bot] commented on GitHub (Nov 4, 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
@DO1FJN commented on GitHub (Nov 4, 2026):
/reopen
@github-actions[bot] commented on GitHub (Nov 4, 2026):
Not reopened yet. Still missing:
Edit the issue and comment
/reopenagain. Details: CONTRIBUTING.md@DO1FJN commented on GitHub (Nov 4, 2026):
/reopen
@github-actions[bot] commented on GitHub (Nov 4, 2026):
Not reopened yet. Still missing:
Edit the issue and comment
/reopenagain. Details: CONTRIBUTING.md@SofieneKARAJA commented on GitHub (Nov 4, 2026):
I'm experiencing the same issue on Windows with an RTX 4070 12GB and 48GB RAM, using the Coder IQ1_M pack.
The engine repeatedly aborts during prefill with errors such as:
the expert source could not copy experts 256.. of layer 0This happens even with very short prompts (53 tokens), and the log reports
layer-major off for this prompt.This happens also when I try to use the 'Tune model' option
Setting
STRATA_PREFILL_LAYER_MAJOR=0seems to resolve the issue on my setup so far.I'm running engine 0.1.56.
It worked fine before on engine 0.1.55 without the STRATA_PREFILL_LAYER_MAJOR setting, so reverting back to 0.1.55 also seems to fix the issue.
Happy to provide the full logs if needed.