Skip to content

[Triton/Gluon] [Config] Tune gfx1250 Gluon a16w16 GEMMs for GPT-OSS 120B - #6549

Merged
Boss2002n merged 1 commit into
mainfrom
satya/tuning_1250_gpt_oss_120b
Oct 15, 2026
Merged

Boss2002n merged 1 commit into
mainfrom
satya/tuning_1250_gpt_oss_120b

Conversation

@Boss2002n

@Boss2002n Boss2002n commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor
Kernel N K Old (µs) New (µs) Speedup
gluon gemm_a16w16 128 2880 10.68 5.13 2.08x
gluon gemm_a16w16 5120 2880 72.01 40.16 1.79x
gluon gemm_a16w16 2880 4096 40.28 29.26 1.38x
gluon gemm_a16w16_persistent 128 2880 13.66 5.29 2.58x
gluon gemm_a16w16_persistent 5120 2880 3446.66 41.99 82.08x
gluon gemm_a16w16_persistent 2880 4096 54.39 31.98 1.70x

@Boss2002n
Boss2002n requested a review from a team October 14, 2026 21:10
@Boss2002n Boss2002n self-assigned this Oct 14, 2026
Copilot AI balanced review requested due to automatic review settings October 14, 2026 21:10
@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 (added automatically when gfx942 configs change); main branch always runs both MI35X and MI300X
ci:triton-355 Run the full Triton test suite on MI35X, not only the tests the change affects
ci:windows Windows JIT op smoke test on the gfx1201 ROCm runner
ci:multi-gpu 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: DeepSeek-V4-Pro, MiniMax-M3-MXFP4
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 6549 --add-label <label>

One backend per PR:
A PR changes one kernel backend: [Triton/Gluon] (Triton and Gluon count as one), [HIP], [ASM], [CK], [OPUS] or [FlyDSL]. If the title ends up with two backend tags, split the PR -- as stacked pull requests when one part cannot merge without the other.

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 stop the title rewrites; labels stay in sync either way.

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.

🔵 Needs a closer look

The defaults affect additional shapes, and gfx1250 correctness and performance were not independently verified.

0 open findings

What changed in this PR

Retunes gfx1250 Gluon a16w16 GEMM configs for GPT-OSS 120B, without changing kernels or public APIs.

Changes:

  • Adds tuned configs for 13 M buckets across three model shapes.
  • Updates standard and persistent defaults with M-specific configs.
  • Adds waves_per_eu values to both families.
File Description
aiter/​ops/​triton/​configs/​gfx1250/​gluon/​gemm/​gemm_a16w16/​GEMM-A16W16-N=5120-K=2880.json Retunes standard GEMM buckets.
aiter/​ops/​triton/​configs/​gfx1250/​gluon/​gemm/​gemm_a16w16/​GEMM-A16W16-N=2880-K=4096.json Retunes standard GEMM buckets.
aiter/​ops/​triton/​configs/​gfx1250/​gluon/​gemm/​gemm_a16w16/​GEMM-A16W16-N=128-K=2880.json Retunes standard GEMM buckets.
aiter/​ops/​triton/​configs/​gfx1250/​gluon/​gemm/​gemm_a16w16/​DEFAULT.json Adds M-specific standard defaults.
aiter/​ops/​triton/​configs/​gfx1250/​gluon/​gemm/​gemm_a16w16_persistent/​GEMM-A16W16-PERSISTENT-N=5120-K=2880.json Retunes persistent GEMM buckets.
aiter/​ops/​triton/​configs/​gfx1250/​gluon/​gemm/​gemm_a16w16_persistent/​GEMM-A16W16-PERSISTENT-N=2880-K=4096.json Retunes persistent GEMM buckets.
aiter/​ops/​triton/​configs/​gfx1250/​gluon/​gemm/​gemm_a16w16_persistent/​GEMM-A16W16-PERSISTENT-N=128-K=2880.json Retunes persistent GEMM buckets.
aiter/​ops/​triton/​configs/​gfx1250/​gluon/​gemm/​gemm_a16w16_persistent/​DEFAULT.json Expands M-specific persistent defaults.

🧠 Review effort: Balanced


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

@zufayu
zufayu requested review from a team and vgokhale October 15, 2026 02:09

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

LGTM!

@Boss2002n
Boss2002n merged commit c118faf into main Oct 15, 2026
@Boss2002n
Boss2002n deleted the satya/tuning_1250_gpt_oss_120b branch October 15, 2026 17:28
jhinpan added a commit that referenced this pull request Oct 15, 2026
The gfx1250 gluon DEFAULT.json was retuned (#6549). Against it, the two
FlyDSL default configs are slower than Triton in every repeat on 107 of
the 368 untuned shapes with 1024 < M <= 4096 (up to 1.28x), the
M_LEQ_2048 and M_LEQ_4096 buckets of that file, and stay faster for M
from 512 to 1024 or above 4096 (0.50 to 1.10, geomean 0.78). The FlyDSL
default now skips that range.
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