What this thread does
Do first: Upgrade vLLM to a release carrying the QSA indexer fix, first shipped in v0.31.0.
Symptom
pocharlies reported a long Qwen4Exp prefill hanging on unified-memory GB10 (SM121), with NV_ERR_NO_MEMORY in driver logs and TimeoutError: RPC call to sample_tokens timed out. in EngineCore. jahnclawdmonet and michaelmanly also commented on the issue.
Cause
The merged PR reserves the worst-case logits workspace so later prefill calls do not request new allocation sizes. This avoids repeated allocations that fragment memory during long prefill.
Fix
1. Upgrade to a release containing the QSA indexer workspace change. 2. For the older build in the report, the documented workaround is VLLM_SPARSE_INDEXER_MAX_LOGITS_MB=64; the reporter notes additional kernel launches. This is a workaround for that report, not a general memory-sizing prescription.
Fixed in
First stable release carrying the fix: v0.31.0 (released 2026-10-05); PR #57105, merged 2026-09-27. If you cannot upgrade, the issue documents VLLM_SPARSE_INDEXER_MAX_LOGITS_MB=64 for its affected build.
As of November 2026, v0.34.0 is the stable release named in the supplied evidence. Its implementation retains the behavior described above.
If it still fails
- The reporter used local overlays and a multi-node setup. This change addresses QSA indexer logits allocation, not every GB10 out-of-memory condition. The current source still reserves the worst-case budget and slices that workspace.
Not for: Qwen MTP crashes beyond 262144 tokens; see vllm-qwen-mtp-long-context-262144-crash.
Sources
- [[Bug] Qwen4Exp QSA indexer: per-chunk logits buffer grows with max_seq_len, caching allocator keeps every size, device OOM/hang on unified-memory GB10 (SM121) during long prefill](https://github.com/vllm-project/vllm/issues/56457), pocharlies, opened 2026-09-11; closed as completed on 2026-09-27: "A single 254K-token cold prefill kills the engine on GB10"
- [[Qwen3.8-Flash-Next] Avoid memory fragmentation in QSA indexer logits workspace](https://github.com/vllm-project/vllm/pull/57105), gau-nernst, merged 2026-09-27 (closed).
- v0.31.0, published 2026-10-05.
- Comment on issue 56457, jahnclawdmonet, 2026-09-11; parent issue closed as completed on 2026-09-27.
- Comment on issue 56457, michaelmanly, 2026-09-11; parent issue closed as completed on 2026-09-27.
- v0.34.0, published 2026-11-16.
- Implementation at v0.34.0, current-release behavior read on 2026-11-24.
Checked
2026-11-24; read the issue and linked comment API records, merged PR API record, fix release notes, current stable release notes and tagged implementation; no command was run.
Started from a post by @pocharlies, packaged by the editor. Original post