Skip to content

[TRITON] Add gluon support for MXFP4 quant kernel in gfx950 and gfx1250 - #4193

Closed
NimitPtl wants to merge 15 commits into
ROCm:mainfrom
NimitPtl:quant_mxfp4
Closed

NimitPtl wants to merge 15 commits into
ROCm:mainfrom
NimitPtl:quant_mxfp4

Conversation

@NimitPtl

@NimitPtl NimitPtl commented Jul 10, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

Using gluon instead of triton for performance improvement

Technical Details

Gluon kernel, with sizes derived from the TTGIR of Triton kernel.

Test Plan

Test suite as well as benchmark script for testing accuracy and speed of quant kernel.

Test Result

Marginal improvement for gfx950 and around 50% improvement with usage of LDS in gfx1250

	M             N                     (Bandwidth (GB/s))

Gluon 4096.0 8192.0 0.001115
Triton 4096.0 8192.0 0.002147

Submission Checklist

@NimitPtl NimitPtl self-assigned this Jul 10, 2026
@NimitPtl
NimitPtl requested a review from azaidy July 10, 2026 23:18
@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:triton-300x Run an additional Triton test job on MI300X in PRs; main branch always runs both MI35X and MI300X
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 4193 --add-label <label>

@NimitPtl
NimitPtl marked this pull request as ready for review July 10, 2026 23:36
@NimitPtl
NimitPtl requested a review from a team July 10, 2026 23:36
@cagrikymk cagrikymk changed the title Add gluon support for quant kernel in 350 and 450 [TRITON] Add gluon support for quant kernel in 350 and 450 Jul 11, 2026
@cagrikymk cagrikymk changed the title [TRITON] Add gluon support for quant kernel in 350 and 450 [TRITON] Add gluon support for MXFP4 quant kernel in gfx950 and gfx1250 Jul 11, 2026
Comment thread aiter/ops/triton/gluon/quant_mxfp4.py Resolved
@NimitPtl
NimitPtl requested a review from cagrikymk July 16, 2026 19:58

@k50112113 k50112113 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.

some comments

@NimitPtl
NimitPtl requested a review from k50112113 July 17, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants