Repository navigation
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 benchmark accepts non-preshuffled 1x32 runs that pass incompatible scales to the 128x128 backend.
Review effort: Balanced
Findings: 1
What changed in this PR
Adds 1x32 MXFP8 scaling to the gfx950 FlyDSL preshuffled GEMM path alongside existing 128x128 scaling.
Changes:
- Threads scale-block selection through dispatch, kernels, tuning, and ahead-of-time compilation.
- Adds 1x32 benchmark preparation and tuned configurations.
| File | Description |
|---|---|
| op_tests/test_gemm_a8w8_blockscale.py | Adds scale-block selection and scale shuffling. |
| csrc/ck_gemm_a8w8_blockscale/gemm_a8w8_blockscale_tune.py | Tunes both scale layouts. |
| aiter/ops/gemm_op_a8w8.py | Dispatches by inferred scale layout. |
| aiter/ops/flydsl/mxscale_preshuffle_kernels.py | Validates and forwards scale-block contracts. |
| aiter/ops/flydsl/kernels/gemm/mxscale_preshuffle.py | Updates scale addressing and small-row stores. |
| aiter/ops/flydsl/gemm_tune/flydsl_gemm_mxscale_preshuffle_common.py | Defines scale contracts and candidate eligibility. |
| aiter/configs/model_configs/dsv4_a8w8_blockscale_mxscale_bpreshuffle_tuned_gemm.csv | Adds 1x32 tuned configurations. |
| aiter/aot/flydsl/gemm.py | Compiles layout-specific kernel variants. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| if not args.flydsl: | ||
| parser.error(f"--w_scale_block {args.w_scale_block} requires --flydsl") |
| half_tail = K % BK != 0 | ||
| if half_tail: |

Motivation
Technical Details
Test Plan
Test Result
Submission Checklist