vllm - 💡(How to fix) Fix [Feature]: Fuse QK Norm + mRoPE + KV cache write + FP8 quant

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

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…
RAW_BUFFERClick to expand / collapse

Purpose

For the QK-RMSNorm + mRoPE models (such as Qwen3-VL), the operations for Q/K RMSNorm, mRoPE, and the KV cache write with FP8 quantization currently run as separate kernels. This results in intermediate global memory round-trips and multiple kernel launches.

This PR introduces a kernel fusion that combines these operations into a single fused CUDA kernel. This new kernel will handle Q/K RMSNorm, mRoPE, KV cache writing, and per-tensor FP8 quantization, all in a single op.

As part of https://github.com/vllm-project/vllm/issues/36066

Additional context

No response

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.

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