Skip to content

[FlyDSL] fix(comm-fused-moe): key winners by GPU model - #6541

Merged
zufayu merged 1 commit into
mainfrom
yifehuan/comm_fused_moe_gpu_model
Oct 15, 2026
Merged

zufayu merged 1 commit into
mainfrom
yifehuan/comm_fused_moe_gpu_model

Conversation

@yifehuan

@yifehuan yifehuan commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add gpu_model to the comm-fused ShapeKey and tuned winner metadata
  • resolve the runtime GPU model in Aiter and fail closed when no device-specific winner matches
  • identify gfx950 products from the HIP device name when available, with PCI device/subsystem fallback for generic AMD Radeon Graphics names and VF environments
  • tag the existing Mega, Direct, and Window AR/RS winners as mi355x
  • make the comm-fused tuner emit the same metadata consumed by production lookup

Motivation

MI350X and MI355X share the gfx950/256-CU key, but the current comm-fused winners were tuned and validated on MI355X and are not performance-compatible with the MI350X CI runner. Device applicability belongs to Aiter's winner selection rather than a downstream ATOM PCI-ID allowlist.

The canonical mapping uses the PCI subsystem product before the device product, so an MI350X VF exposed as device 0x75b0 with subsystem 0x75a0 resolves to mi350x; 0x75b0 alone is not treated as a product ID.

Validation

  • black --check on modified Python files
  • ruff check on modified Python files
  • python3 -m py_compile on modified Python files
  • git diff --check
  • tuned FMoE CSV parse: all 19 comm-fused entries specify gpu_model=mi355x
  • container CSV validation: 18 passed, 48 subtests passed
  • downstream ATOM focused unit test: 30 passed
  • real MI355X container probe: generic Torch name AMD Radeon Graphics resolves through PCI 0x75a3/0x75a3 to mi355x, matching 19 production winners

@yifehuan
yifehuan requested a review from a team October 14, 2026 14:56
@github-actions github-actions Bot changed the title fix(comm-fused-moe): key winners by GPU model [FlyDSL] fix(comm-fused-moe): key winners by GPU model Oct 14, 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 6541 --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.

@yifehuan
yifehuan force-pushed the yifehuan/comm_fused_moe_gpu_model branch from 5f56ef5 to e0e8452 Compare October 14, 2026 15:05
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