[GH-ISSUE #259] AMD/RDNA2 (gfx1031) long-prompt prefill: 'routed id out of range' kills the engine #135

Closed
opened 2026-11-04 01:40:18 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @adevrimk on GitHub (Sep 30, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/259

Environment (community port, gfx1031)

  • GPU: RX 6700 XT (gfx1031, RDNA2), 12 GB VRAM, Windows
  • ROCm 10.2 (HIP 7.16); build: hipcc+cl, gfx1031
  • Model: Swift-Qwen3.8-Flash-Next-GSQ-RCO IQ3_XXS

Works

  • Short prompts (6-60 tok): coherent answers, MTP drafting 16-19 accepted/round, decode 6-10 tok/s (web UI and HTTP).

Crashes

  • Prompts ~1k+ tokens to /v1/chat/completions kill the engine: pred % $ echo print: 'strata serve: prefill: routed id out of range' (up to 3x), then 'cannot pin 260 MiB' on next start.
  • Settings swept: --prefill 512/1024/auto/2048, --expert-cache 220-333, --kv-resident 20768-32768, --spec 2-3, MTP on, 131k context + KV streaming.

Hypothesis

Expert routing IDs during multi-chunk long-prompt prefill go out of range on RDNA2 (exit(1) guard in prefill.cpp). Size/chunk-boundary dependent; short prompts keep routing valid.

Originally created by @adevrimk on GitHub (Sep 30, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/259 ## Environment (community port, gfx1031) - GPU: RX 6700 XT (gfx1031, RDNA2), 12 GB VRAM, Windows - ROCm 10.2 (HIP 7.16); build: hipcc+cl, gfx1031 - Model: Swift-Qwen3.8-Flash-Next-GSQ-RCO IQ3_XXS ## Works - Short prompts (6-60 tok): coherent answers, MTP drafting 16-19 accepted/round, decode 6-10 tok/s (web UI and HTTP). ## Crashes - Prompts ~1k+ tokens to /v1/chat/completions kill the engine: pred % $ echo print: 'strata serve: prefill: routed id out of range' (up to 3x), then 'cannot pin 260 MiB' on next start. - Settings swept: --prefill 512/1024/auto/2048, --expert-cache 220-333, --kv-resident 20768-32768, --spec 2-3, MTP on, 131k context + KV streaming. ## Hypothesis Expert routing IDs during multi-chunk long-prompt prefill go out of range on RDNA2 (exit(1) guard in prefill.cpp). Size/chunk-boundary dependent; short prompts keep routing valid.
Author
Owner

@adevrimk commented on GitHub (Sep 30, 2026):

Closing - wrong repo for this report, my mistake. Will not open issues without the reporter's approval.

<!-- gh-comment-id:5914887137 --> @adevrimk commented on GitHub (Sep 30, 2026): Closing - wrong repo for this report, my mistake. Will not open issues without the reporter's approval.
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#135
No description provided.