Skip to content

[Triton/Gluon] [Config] Tune gfx1250 Gluon a16w16 GEMMs for Qwen3-235B-A22B - #6649

Merged
azaidy merged 3 commits into
mainfrom
satya/tuning_1250_qwen3_235b_a22b_gluon
Oct 21, 2026
Merged

azaidy merged 3 commits into
mainfrom
satya/tuning_1250_qwen3_235b_a22b_gluon

Conversation

@Boss2002n

@Boss2002n Boss2002n commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor
Kernel N K M main (µs) new (µs) speedup main TFLOPS new TFLOPS main TB/s new TB/s
a16w16 128 4096 1 6.54 4.34 1.51x 0.2 0.2 0.16 0.24
a16w16 128 4096 4 6.49 6.50 1.00x 0.6 0.6 0.17 0.17
a16w16 128 4096 8 7.16 5.24 1.37x 1.2 1.6 0.16 0.21
a16w16 128 4096 16 8.40 8.40 1.00x 2.0 2.0 0.14 0.14
a16w16 128 4096 32 9.21 7.52 1.23x 3.6 4.5 0.14 0.18
a16w16 128 4096 64 10.32 6.76 1.53x 6.5 9.9 0.15 0.23
a16w16 128 4096 128 12.73 6.09 2.09x 10.5 22.0 0.17 0.35
a16w16 128 4096 256 10.80 6.64 1.63x 24.9 40.4 0.30 0.48
a16w16 128 4096 512 12.05 6.89 1.75x 44.5 77.9 0.45 0.78
a16w16 128 4096 1024 13.36 8.49 1.57x 80.4 126.4 0.73 1.14
a16w16 128 4096 2048 23.21 8.97 2.59x 92.5 239.5 0.79 2.05
a16w16 128 4096 4096 22.76 12.83 1.77x 188.7 334.7 1.57 2.78
a16w16 128 4096 8192 24.47 15.22 1.61x 351.0 564.2 2.87 4.61
a16w16 persistent 128 4096 1 7.90 5.15 1.53x 0.1 0.2 0.13 0.21
a16w16 persistent 128 4096 4 8.10 7.04 1.15x 0.5 0.6 0.13 0.15
a16w16 persistent 128 4096 8 8.83 7.43 1.19x 1.0 1.1 0.13 0.15
a16w16 persistent 128 4096 16 9.11 7.87 1.16x 1.8 2.1 0.13 0.15
a16w16 persistent 128 4096 32 10.32 9.21 1.12x 3.3 3.6 0.13 0.14
a16w16 persistent 128 4096 64 10.98 6.68 1.64x 6.1 10.0 0.14 0.24
a16w16 persistent 128 4096 128 25.22 6.12 4.12x 5.3 21.9 0.08 0.35
a16w16 persistent 128 4096 256 25.17 6.69 3.76x 10.7 40.1 0.13 0.48
a16w16 persistent 128 4096 512 26.47 7.43 3.56x 20.3 72.3 0.20 0.72
a16w16 persistent 128 4096 1024 23.48 8.65 2.72x 45.7 124.2 0.41 1.12
a16w16 persistent 128 4096 2048 23.97 9.24 2.59x 89.6 232.3 0.77 1.98
a16w16 persistent 128 4096 4096 24.60 13.42 1.83x 174.6 320.0 1.45 2.66
a16w16 persistent 128 4096 8192 25.79 15.44 1.67x 333.0 556.4 2.72 4.55

@Boss2002n Boss2002n self-assigned this Oct 17, 2026
@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 6649 --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

Correctness coverage and verified gfx1250 hardware results are needed to validate the new settings.

1 open issue
What changed in this PR

Tunes gfx1250 Gluon a16w16 GEMMs for the Qwen3-235B-A22B shape N=128, K=4096.

Changes:

  • Adds shape-specific standard GEMM settings and kernel selection.
  • Retunes persistent GEMM settings across M buckets.
File Description
aiter/​ops/​triton/​configs/​gfx1250/​gluon/​gemm/​gemm_a16w16/​GEMM-A16W16-N=128-K=4096.json Adds standard GEMM tuning.
aiter/​ops/​triton/​configs/​gfx1250/​gluon/​gemm/​gemm_a16w16_persistent/​GEMM-A16W16-PERSISTENT-N=128-K=4096.json Updates persistent GEMM tuning.

Review effort: Balanced

@Boss2002n
Boss2002n marked this pull request as ready for review October 18, 2026 02:00
@Boss2002n
Boss2002n requested a review from a team October 18, 2026 02:00
@zufayu
zufayu requested review from a team and azaidy October 19, 2026 00:15

@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!

@azaidy
azaidy merged commit baaccdc into main Oct 21, 2026
@azaidy
azaidy deleted the satya/tuning_1250_qwen3_235b_a22b_gluon branch October 21, 2026 16:54
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