Skip to content

Revert "So/a8w8 bpreshuflle flydsl xcd remap" - #3107

Merged
valarLip merged 1 commit into
mainfrom
revert-3071-so/a8w8_bpreshuflle_flydsl_xcd_remap
May 10, 2026
Merged

valarLip merged 1 commit into
mainfrom
revert-3071-so/a8w8_bpreshuflle_flydsl_xcd_remap

Conversation

@valarLip

Copy link
Copy Markdown
Collaborator

Reverts #3071

@valarLip
valarLip requested review from a team and Copilot May 10, 2026 02:46
@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:triton-300x Run an additional Triton test job on MI300X in PRs; main branch always runs both MI35X and MI300X
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: GPT-OSS-120B, DeepSeek-R1-0528, Kimi-K2.5
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 3107 --add-label <label>

@valarLip
valarLip merged commit 6aed2f9 into main May 10, 2026
17 checks passed
@valarLip
valarLip deleted the revert-3071-so/a8w8_bpreshuflle_flydsl_xcd_remap branch May 10, 2026 02:49

Copilot AI 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.

Pull request overview

Reverts #3071 by removing XCD workgroup swizzle/remap plumbing and simplifying the FlyDSL preshuffle GEMM interface (including kernel-name parsing and AOT/config handling) back to the pre-#3071 shape.

Changes:

  • Removed xcd_swizzle propagation and XCD remap logic from FlyDSL preshuffle GEMM tuning, kernel instances, and runtime dispatch.
  • Simplified FlyDSL preshuffle GEMM call/compile signatures (e.g., removing the extra arg slot/dummy bias handling) and updated kernel-name parsing to match.
  • Updated AOT regex parsing and refreshed tuned CSV entries to the reverted kernel naming/config format.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
csrc/ck_gemm_a8w8_bpreshuffle/gemm_a8w8_bpreshuffle_tune.py Drops XCD swizzle candidate handling and stops passing xcd into FlyDSL runner.
aiter/ops/gemm_op_a8w8.py Updates FlyDSL kernel-name parsing and dispatch argument list after removing xcd_swizzle.
aiter/ops/flydsl/kernels/preshuffle_gemm.py Removes XCD remap + bias/epilogue wiring and refactors kernel implementation/types accordingly.
aiter/ops/flydsl/kernels/mfma_preshuffle_pipeline.py Removes XCD helper export and adjusts layout math/comments.
aiter/ops/flydsl/gemm_tune/flydsl_gemm_a8w8_bpreshuffle_common.py Removes xcd_swizzle from kernel instance definition/name generation and kernel list construction.
aiter/ops/flydsl/gemm_kernels.py Updates runtime wrapper to compile/run without xcd_swizzle and without dummy bias argument.
aiter/configs/model_configs/dsv3_a8w8_bpreshuffle_tuned_gemm.csv Replaces tuned FlyDSL kernel names/config rows to match reverted naming/args.
aiter/aot/flydsl/gemm.py Updates kernel-name regex parsing and AOT compilation argument list (no xcd_swizzle / no bias placeholder).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Compile-time constants: K, tile_m/n/k, in_dtype, out_dtype (determine loop structure).
Runtime parameters: M, N (passed as i32 kernel args).
Compile-time constants: N, K, tile_m/n/k, in_dtype, out_dtype (determine loop structure).
Runtime parameters: M (passed as i32 kernel arg).
Comment on lines 1693 to 1696
lds_stage: int = 2,
use_cshuffle_epilog: bool = False,
waves_per_eu: int = None,
use_async_copy: bool = False,
element_k_per_mfma = 128
else:
element_k_per_mfma = 32
element_k_per_mfma = 128 if _is_gfx950 else 32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants