Repository navigation
[Config] Add Qwen3.6 35B-A3B FMoE configs for gfx1201 - #4815
Conversation
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
|
|
Two questions on the data:
Nit: |
Thanks for reviewing.
Command used: TUNE_ONLY=cktile python3 csrc/ck_gemm_moe_2stages_codegen/gemm_moe_tune.py \
-i /workspace/reports/qwen36_fp8_missing_fmoe_untuned.csv \
-o /workspace/reports/qwen36_fp8_missing_fmoe_tuned.csv \
-o2 /workspace/reports/qwen36_fp8_missing_fmoe_profile.csv \
--mp 1 \
--shape_grouped \
--warmup 10 \
--iters 101 \
--batch 100 \
--errRatio 0.3The tuning run did not produce valid rows for either shape. The relevant error was: The final tuner result was: So I kept these two shapes in the untuned CSV to make the requested coverage visible, but left them out of the tuned CSV because there is no validated kernel choice to record yet. I will open a follow-up PR to address kernel/tuner support for these two FP8 shapes next. I also reworded the PR description to avoid implying that |
|
please append _gfx1201 to the csv to distinguish it from mi-series. |
Sure, the csv files are renamed. |
|
Advisory review (static + hand-run; not a merge gate). Validation/Perf ran no GPU stage — reasons are on their lines below. Findings tagged **Adds four data-only FMoE tuning CSVs (bf16/fp8 x tuned/untuned) for Qwen3.6 35B-A3B on gfx1201, recording tuner-measured CK 2-stage kernel picks per (token, inter_dim) shape plus the tuner input grid, with no code changes. Review (advisory): ✅ NO FINDINGS |
Motivation
Add Qwen3.6 35B-A3B FMoE tuning config files for gfx1201/RDNA4.
This is part of the Qwen3.6 gfx1201 AITER MoE enablement stack:
fmoe_g1u1finds no suitable kernel #4492Technical Details
This PR adds model-specific FMoE tuned and untuned CSVs for Qwen3.6 35B-A3B on gfx1201:
qwen3_6_35b_a3b_bf16_tuned_fmoe.csvqwen3_6_35b_a3b_bf16_untuned_fmoe.csvqwen3_6_35b_a3b_fp8_tuned_fmoe.csvqwen3_6_35b_a3b_fp8_untuned_fmoe.csvThe configs cover Qwen3.6 MoE shapes with:
model_dim = 2048num_experts = 256topk = 8activation = Siluuse_g1u1 = 1This PR only adds tuning/config data. It does not add new kernels.
The tuned rows are recorded for the measured gfx1201
cu_num=32target. The previously duplicatedcu_num=64rows were removed so the CSV does not imply separate measurements.The FP8 untuned file lists 24 requested shapes. The tuned file currently contains 22 valid rows;
M=1024, inter_dim=128andM=2048, inter_dim=256did not produce valid candidates in local retuning and are left for follow-up kernel/tuner work.The BF16
M in {1,2,4,8,16}decode tier is handled by the direct small-M kernel in PR1. These config rows are for the remaining FMoE/CK-backed Qwen3.6 shapes where the generic path is still appropriate.Test Plan
Validate the CSV files and build-time model-config/prebuild enumeration behavior:
Test Result
CSV validation:
Config shape-collision validation:
Submission Checklist