vllm - 💡(How to fix) Fix [Bug]: RuntimeError: flashinfer_fp8_blockscale_gemm fails on H100 NVL MIG 3g.47gb with Qwen3.6-35B-A3B-FP8 [1 participants]

Official PRs (…)
ON THIS PAGE

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
vllm-project/vllm#40920Fetched 2026-04-27 05:29:18
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Participants
Timeline (top)
labeled ×1

Error Message

Error: Error: Full traceback ends at:

  • With --enforce-eager, a secondary error occurs: only 0.14 GiB KV cache available after profiling
RAW_BUFFERClick to expand / collapse

Your current environment

Environment:

  • vLLM version: v0.19.1
  • GPU: NVIDIA H100 NVL, MIG slice 3g.47gb (47 GB)
  • Model: Qwen/Qwen3.6-35B-A3B-FP8
  • quantization: fp8, kv-cache-dtype: fp8

Error: RuntimeError: NVML_SUCCESS == r INTERNAL ASSERT FAILED at "/pytorch/c10/cuda/CUDACachingAllocator.cpp":1154

Stacktrace: torch.ops.vllm.flashinfer_fp8_blockscale_gemm.default(...) → run_deepgemm → torch.empty → CUDA allocator assert

Reproducible: Yes, consistently on MIG slice. enforce-eager does not help.

🐛 Describe the bug

vLLM fails to start with Qwen3.6-35B-A3B-FP8 on H100 NVL MIG slice (3g.47gb, 47 GB) with RuntimeError in flashinfer_fp8_blockscale_gemm during profile_run().

Startup command: python3 -m vllm.entrypoints.openai.api_server
--model /models/qwen36-35b-a3b-fp8
--quantization fp8
--kv-cache-dtype fp8
--max-model-len 65536
--gpu-memory-utilization 0.90
--enforce-eager

Error: RuntimeError: NVML_SUCCESS == r INTERNAL ASSERT FAILED at "/pytorch/c10/cuda/CUDACachingAllocator.cpp":1154

Full traceback ends at: torch.ops.vllm.flashinfer_fp8_blockscale_gemm.default(buf15, arg12_1, arg13_1, 128, True) → _flashinfer_fp8_blockscale_gemm_impl → torch.cond → run_deepgemm → torch.empty → CUDA assert

Notes:

  • --enforce-eager does not resolve the issue
  • With --enforce-eager, a secondary error occurs: only 0.14 GiB KV cache available after profiling
  • Model loads successfully (34.26 GiB), crash happens during profile_run()
  • MIG context may be relevant — CUDA memory allocator behaves differently on MIG slices
  • torch_compile cache cleared before testing, same result

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

extent analysis

TL;DR

The most likely fix is to adjust the GPU memory utilization or MIG slice configuration to accommodate the model's memory requirements.

Guidance

  • Verify that the GPU memory utilization is not exceeding the available memory by checking the --gpu-memory-utilization flag and adjusting it to a lower value if necessary.
  • Investigate the MIG slice configuration and consider increasing the slice size or adjusting the --kv-cache-dtype flag to reduce memory usage.
  • Check the CUDA version and PyTorch version for any known issues or compatibility problems with the NVIDIA H100 NVL GPU.
  • Consider disabling the --enforce-eager flag or adjusting its behavior to mitigate the secondary error.

Example

No code snippet is provided as it is not clearly supported by the issue.

Notes

The issue may be specific to the combination of the Qwen3.6-35B-A3B-FP8 model, H100 NVL MIG slice, and PyTorch version, so the solution may need to be tailored to this specific environment.

Recommendation

Apply workaround: Adjust the GPU memory utilization or MIG slice configuration to accommodate the model's memory requirements, as the error is likely caused by insufficient memory allocation.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

vllm - 💡(How to fix) Fix [Bug]: RuntimeError: flashinfer_fp8_blockscale_gemm fails on H100 NVL MIG 3g.47gb with Qwen3.6-35B-A3B-FP8 [1 participants]