Repository navigation
[FlyDSL] [CI] Add HY4 MXFP8 heterogeneous MoE fusion - #6050
Conversation
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: |
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The tuner can modify mismatched configuration rows, accept non-finite baselines, and one HY4 reference path disagrees with runtime clamping.
Review effort: Balanced
Findings: 3
Open (3)
What changed in this PR
Adds gfx950 HY4 MXFP8-routed/FP8-shared heterogeneous MoE fusion, tuning, AOT coverage, and validation.
Changes:
- Extends FlyDSL FHMoE kernels and dispatch to MXFP8 routed weights.
- Adds HY4 tuned configurations and an offline tuner.
- Expands correctness, AOT, pipeline, and CI coverage.
| File | Description |
|---|---|
.github/scripts/split_tests.sh |
Adds tuner tests to CI splitting. |
aiter/aot/flydsl/fhmoe.py |
Enables MXFP8 FHMoE AOT compilation. |
aiter/configs/tuned_fhmoe.csv |
Adds HY4 tuning rows. |
aiter/fhmoe.py |
Adds HY4 validation and dispatch. |
aiter/ops/flydsl/fhmoe.py |
Exposes MXFP8 and shared-clamp controls. |
aiter/ops/flydsl/kernels/fhmoe.py |
Forwards shared-clamp specialization. |
aiter/ops/flydsl/kernels/mixed_moe_gemm_2stage.py |
Updates module terminology. |
aiter/ops/flydsl/kernels/mixed_moe_gemm_2stage_common.py |
Implements MXFP8 heterogeneous kernel support. |
op_tests/test_fhmoe.py |
Adds HY4 correctness and AOT tests. |
op_tests/tuners/tune_fhmoe.py |
Adds the FHMoE tuner. |
op_tests/tuning_tests/README.md |
Documents FHMoE tuning. |
op_tests/tuning_tests/test_config_shape_collision.py |
Validates merged HY4 rows. |
op_tests/tuning_tests/test_fhmoe_tuner.py |
Tests tuner utilities. |
op_tests/tuning_tests/test_tune_pipeline.py |
Adds FHMoE pipeline smoke coverage. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
0eb320b to
f2c8961
Compare
Fuse HY4's FP8 shared expert into the routed MXFP8 MoE kernels to reduce launch and scheduling overhead, with AOT coverage, correctness guards, and reproducible gfx950 tuning. Co-authored-by: Cursor <cursoragent@cursor.com>



Fuse HY4's FP8 shared expert into the routed MXFP8 MoE kernels to reduce launch and scheduling overhead, with AOT coverage, correctness guards, and reproducible gfx950 tuning.