Repository navigation
[Triton/Gluon] Fix shuffled kv cache usage for mla prefill bench - #6491
Conversation
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: |
There was a problem hiding this comment.
🟢 Approval recommended
The change correctly aligns prefill benchmarking with mla_prefill_fwd layout requirements.
0 open findings
What changed in this PR
Adjusts the MLA benchmark to use the supported unshuffled KV layout during prefill.
Changes:
- Disables shuffled KV cache when
decode_qlen == 0. - Preserves shuffled layout selection for decode benchmarks.
| File | Description |
|---|---|
op_tests/op_benchmarks/triton/bench_mla.py |
Selects KV layout based on decode versus prefill mode. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
No description provided.