Skip to content

Revert "[Tune] Add qwen3.5-397B MXFP4 a16w16 GEMM tuning configs" - #4013

Merged
gyohuangxin merged 1 commit into
mainfrom
revert-3974-add-qwen3_5-397b-bf16-gemm-tuning
Jun 30, 2026
Merged

gyohuangxin merged 1 commit into
mainfrom
revert-3974-add-qwen3_5-397b-bf16-gemm-tuning

Conversation

@yzhou103

Copy link
Copy Markdown
Contributor

Reverts #3974 as there are duplicated configs

@yzhou103
yzhou103 requested review from a team and Copilot June 30, 2026 07:08
@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 4013 --add-label <label>

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.

Pull request overview

This PR reverts the previously-added Qwen3.5-397B GEMM tuning configuration CSVs (per PR description: they were duplicated), removing them from aiter/configs/model_configs so they no longer participate in model-config workflows.

Changes:

  • Remove qwen3_5_397b_untuned_gemm.csv (untuned GEMM shape list).
  • Remove qwen3_5_397b_bf16_tuned_gemm.csv (BF16 tuned GEMM results table).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
aiter/configs/model_configs/qwen3_5_397b_untuned_gemm.csv Deleted the Qwen3.5-397B untuned GEMM shape list to avoid duplicated configs.
aiter/configs/model_configs/qwen3_5_397b_bf16_tuned_gemm.csv Deleted the Qwen3.5-397B BF16 tuned GEMM config to avoid duplicated configs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gyohuangxin
gyohuangxin merged commit a1f102a into main Jun 30, 2026
38 of 39 checks passed
@gyohuangxin
gyohuangxin deleted the revert-3974-add-qwen3_5-397b-bf16-gemm-tuning branch June 30, 2026 08:38
yichiche referenced this pull request in yichiche/aiter Jun 30, 2026
#3974 added qwen3.5-397B bf16 tuned GEMM configs but was reverted (#4013)
because qwen3_5_397b_bf16_tuned_gemm.csv shared 60 shapes with
dsv4_bf16_tuned_gemm.csv. The runtime config merge in aiter/jit/core.py
concatenates the global bf16_tuned_gemm.csv with every
model_configs/*_bf16_tuned_gemm.csv and dedups on the shape key
(gfx, cu_num, M, N, K, bias, dtype, outdtype, scaleAB, bpreshuffle) --
which excludes libtype/us -- so two tuned winners for the same shape
collide and raise RuntimeError, failing op_tests/test_gemm_a16w16.py.

Re-introduce the qwen3.5-397B configs with the 60 shapes that already
exist in dsv4_bf16_tuned_gemm.csv removed from the tuned file
(187 -> 127 rows). Those model-agnostic dense shapes are deferred to the
existing DSv4 config; dsv4_bf16_tuned_gemm.csv is left untouched. The
untuned shape spec is restored unchanged.

Verified: 0 cross-file duplicate shapes across all *_bf16_tuned_gemm.csv,
and op_tests/test_gemm_a16w16.py passes without rewriting any CSV.
yifehuan pushed a commit that referenced this pull request Jul 1, 2026
…#4017)

#3974 added qwen3.5-397B bf16 tuned GEMM configs but was reverted (#4013)
because qwen3_5_397b_bf16_tuned_gemm.csv shared 60 shapes with
dsv4_bf16_tuned_gemm.csv. The runtime config merge in aiter/jit/core.py
concatenates the global bf16_tuned_gemm.csv with every
model_configs/*_bf16_tuned_gemm.csv and dedups on the shape key
(gfx, cu_num, M, N, K, bias, dtype, outdtype, scaleAB, bpreshuffle) --
which excludes libtype/us -- so two tuned winners for the same shape
collide and raise RuntimeError, failing op_tests/test_gemm_a16w16.py.

Re-introduce the qwen3.5-397B configs with the 60 shapes that already
exist in dsv4_bf16_tuned_gemm.csv removed from the tuned file
(187 -> 127 rows). Those model-agnostic dense shapes are deferred to the
existing DSv4 config; dsv4_bf16_tuned_gemm.csv is left untouched. The
untuned shape spec is restored unchanged.

Verified: 0 cross-file duplicate shapes across all *_bf16_tuned_gemm.csv,
and op_tests/test_gemm_a16w16.py passes without rewriting any CSV.

Co-authored-by: root <[email protected]>
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