Skip to content

[Triton/Gluon] Triton 3.6 FP8 MQA Logits gluon kernel fix - #5627

Merged
cagrikymk merged 1 commit into
mainfrom
cagri/fix_fp8_mqa_36_error
Sep 17, 2026
Merged

cagrikymk merged 1 commit into
mainfrom
cagri/fix_fp8_mqa_36_error

Conversation

@cagrikymk

Copy link
Copy Markdown
Contributor

Motivation

Remove chunking when summation folding is not supported by the triton version.

This is no-op for triton 3.7+ but fixes compilation issue on triton 3.6.

@cagrikymk
cagrikymk requested a review from a team September 17, 2026 06:59
@github-actions

Copy link
Copy Markdown
Contributor

🏷️ CI Guide

Runs automatically on every PR:

  • ✅ Pre-checks (submodule verification, code formatting)
  • ✅ Aiter op tests (gfx942 + gfx950)
  • ✅ Triton tests on MI35X (only when aiter/ops/triton/** or related paths are changed)

Extended tests (opt-in via labels):

Label Tests
ci:gfx1250-ffm-triton Run the five-shard gfx1250 FFM Triton test suite
ci:triton-300x Run an additional Triton test job on MI300X in PRs; main branch always runs both MI35X and MI300X
multigpu Aiter multi-GPU tests on the 8-GPU runner
ci:sglang SGLang integration tests: DeepSeek-R1-MXFP4 accuracy, Qwen 3.5 accuracy
ci:atom ATOM benchmark: DeepSeek-R1-0528, GPT-OSS-120B
ci:atom_full ATOM accuracy suite for PR and main models from ATOM models_accuracy.json
ci:vllm vLLM benchmark: GPT-OSS-120B, DeepSeek-R1-0528, Kimi-K2.5
ci:all All standard extended tests (excludes ci:atom_full)

Only add ci:atom_full for FlyDSL or Triton upgrades.
Add labels via the sidebar or gh pr edit 5627 --add-label <label>

PR title tags & labels:
Component tags ([Triton/Gluon], [HIP], [CK], [ASM], ...) are added to the PR title and as PR labels automatically from the changed files and re-synced on every push — change-type tags like [fix]/[Perf], op tags like [MLA], and human labels (ci:*) are left untouched. Add the no-auto-title label to opt this PR out.

@github-actions github-actions Bot changed the title [TRITON][GLUON] Triton 3.6 FP8 MQA Logits gluon kernel fix [Triton/Gluon] Triton 3.6 FP8 MQA Logits gluon kernel fix Sep 17, 2026
@Boss2002n
Boss2002n requested a lite review from Copilot September 17, 2026 09:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No unresolved review issues remain.

Pull request overview

Fixes Triton 3.6 FP8 MQA logits compilation by disabling unsupported chunked folding while preserving newer behavior.

Changes:

  • Gates M_CHUNK on folded-reduction support.
  • Adds compile-time validation for chunked folding.
File summaries
File Description
aiter/ops/triton/attention/fp8_mqa_logits.py Disables unsupported chunking configurations.
aiter/ops/triton/_gluon_kernels/gfx950/attention/fp8_mqa_logits.py Validates chunked folding requirements.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@cagrikymk
cagrikymk merged commit f5ed7dc into main Sep 17, 2026
64 of 65 checks passed
@cagrikymk
cagrikymk deleted the cagri/fix_fp8_mqa_36_error branch September 17, 2026 14:50
vgokhale added a commit that referenced this pull request Sep 17, 2026
…ing fixes, fp8 MQA logits split-k and DSv4 tunings (#5573, #5295, #5558, #5603, #5627, #5485) (#5638)

Cherry-picks six already-merged `main` PRs onto `release/v0.1.22` for the `v0.1.22.post1` post release.

| PR | `main` commit | Backport commit | What |
|---|---|---|---|
| #5485 | `9252f4672` | `155534984` | Extend the DeepSeek-V4 a8w8 blockscale GEMM tunings for gfx950 (tuning CSV only) |
| #5573 | `22d2c7c91` | `6b23ba866` | Pad the MXFP4 A4W4 MoE sort extent to a block_size multiple (fixes a HIP illegal memory access) |
| #5295 | `972c8e1fd` | `7d68b0edb` | Skip invalid expert IDs in MoE sorting |
| #5558 | `3fdfca11e` | `dd83a9d17` | Fix MoE routing kernel compile failure |
| #5603 | `a84bd368c` | `a96461997` | Add split-k support for fp8 MQA logits on gfx950 |
| #5627 | `f5ed7dc54` | `a41214712` | Follow-up to #5603: drop chunking when summation folding is unavailable (fixes Triton 3.6 compile) |

Original PRs:
- #5485: #5485
- #5573: #5573
- #5295: #5295
- #5558: #5558
- #5603: #5603
- #5627: #5627

To be published as `v0.1.22.post1` once merged (tag on the merge commit, release automation builds the wheel set).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants