Repository navigation
Revert "So/a8w8 bpreshuflle flydsl xcd remap" - #3107
Merged
Merged
Conversation
This reverts commit b81f835.
Contributor
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
|
Contributor
There was a problem hiding this comment.
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_swizzlepropagation 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reverts #3071