Skip to content

[Config] Add v41 tp2 moe config for shared expert fusion on 8k/16k input - #6622

Merged
yifehuan merged 1 commit into
ROCm:mainfrom
1am9trash:v41-moe-shared-expert-fusion
Oct 22, 2026
Merged

yifehuan merged 1 commit into
ROCm:mainfrom
1am9trash:v41-moe-shared-expert-fusion

Conversation

@1am9trash

@1am9trash 1am9trash commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Motivation

Add v41 tp2 moe config for shared expert fusion on 8k/16k input.

  • expert: 385
  • top-k: 7
  • input: 8192, 16384

Technical Details

None.

Test Plan

None.

Test Result

Tokens Default, heuristic (µs) Tuned (µs) Improvement
8192 2191.2 1682.2 -23.2% (1.30x)
16384 3348.5 2881.6 -13.9% (1.16x)

Shape:

  • E=385, topk=7
  • model_dim=5120, inter_dim=1152

Measured with aiter op_tests/test_moe_2stage.py::test_fmoe (same args as -q 7 -dim 5120,1152 -t 8192 16384 -e 385 -k 7 -hip 0,0 --stage2-bias f). Total device time of one fused_moe call (sorting, quant, stage1, stage2).

Submission Checklist

@1am9trash
1am9trash requested a review from a team October 16, 2026 10:29
@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 6622 --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.

@github-actions github-actions Bot changed the title Add v41 tp2 moe config for shared expert fusion on 8k/16k input [Config] Add v41 tp2 moe config for shared expert fusion on 8k/16k input Oct 16, 2026
@zufayu
zufayu requested a review from yifehuan October 18, 2026 23:32

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants