Repository navigation
[3/N][warmup][DSv4] Migrate FA4 MLA and shared CuTeDSL kernels - #53565
LucasWilkinson merged 10 commits into
Conversation
Co-authored-by: Codex <codex@openai.com> Signed-off-by: LopezCastroRoberto <rocastro@redhat.com>
|
This pull request has merge conflicts that must be resolved before it can be |
…armup_migration/dsv4_7 Signed-off-by: LopezCastroRoberto <rocastro@redhat.com> # Conflicts: # vllm/model_executor/layers/attention/mla_attention.py # vllm/model_executor/warmup/kernel_warmup.py
|
✅ @LopezCastroRoberto, CI is now available for this PR.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (8)
💤 Files with no reviewable changes (2)
🚧 Files skipped from review as they are similar to previous changes (6)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe change makes FA4 kernel singletons private, registers Inkling and MLA JIT warmup during attention construction, removes the standalone FA4 warmup module, and updates related tests. ChangesFA4 kernel updates
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to This change moves FA4 warmup registration into the attention paths and removes legacy orchestration. No concrete merge-blocking risk remains in the supplied evidence. Sequence Diagram(s)sequenceDiagram
participant InklingAttention
participant KernelConfig
participant InklingKernel
InklingAttention->>KernelConfig: read enable_jit_warmup
KernelConfig-->>InklingAttention: enabled flag
InklingAttention->>InklingKernel: register_warmup()
sequenceDiagram
participant FlashAttnPrefillBackend
participant KernelConfig
participant FA4MLAPrefillKernel
FlashAttnPrefillBackend->>KernelConfig: read enable_jit_warmup
KernelConfig-->>FlashAttnPrefillBackend: enabled flag
FlashAttnPrefillBackend->>FA4MLAPrefillKernel: register_warmup() when version is 4
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Signed-off-by: LopezCastroRoberto <rocastro@redhat.com>
|
/ci run |
|
✅ Triggered Buildkite CI #87242 for commit |
|
/ci cancel |
|
/ci run |
|
✅ Triggered Buildkite CI #87246 for commit |
|
/ci retry |
|
✅ Queued 7 failed job(s) for retry in Buildkite CI #87246. |
|
/ci retry |
|
✅ Queued 2 failed job(s) for retry in Buildkite CI #87246. |
|
/ci run |
|
✅ Triggered Buildkite CI #87296 for commit |
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
|
/ci run |
|
✅ Triggered Buildkite CI #87515 for commit |
…project#53565) Signed-off-by: LopezCastroRoberto <rocastro@redhat.com> Co-authored-by: Codex <codex@openai.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Signed-off-by: Jyotirmoy Roy <jyotirmoyroy649@gmail.com>
Resolve conflict in kernel_warmup.py: main (vllm-project#53565) migrated the FA4 CuTeDSL warmup into the JIT warmup registry, so the fa4_cutedsl_warmup call site this PR gated on has_cutedsl() no longer exists. FA4 warmup is now registered only by the FA4 MLA prefill backend, which XPU never selects, so the XPU-safety intent is preserved. Dropped the obsolete call and its now-unused has_cutedsl import; kept main's watermark_sample_warmup. The is_xpu() gate on the sparse-MLA warmups is unaffected. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…project#53565) Signed-off-by: LopezCastroRoberto <rocastro@redhat.com> Co-authored-by: Codex <codex@openai.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Depends on: #50175
For more details, see parent (draft) PR: #49627 and tracking list issue #49349
Description
This PR migrates the FA4 MLA prefill and Inkling FA4 relative-attention paths to the shared JIT warmup contract.
What Changed