Skip to content

[Triton] DS FP4 fusions redo - #1434

Merged
k50112113 merged 40 commits into
mainfrom
shaoclee/ds_fp4_triton_fusion_redo
Dec 3, 2025
Merged

k50112113 merged 40 commits into
mainfrom
shaoclee/ds_fp4_triton_fusion_redo

Conversation

@k50112113

Copy link
Copy Markdown
Contributor

No description provided.

@valarLip

Copy link
Copy Markdown
Collaborator

@kkHuang-amd let me know if it works for you

@k50112113
k50112113 force-pushed the shaoclee/ds_fp4_triton_fusion_redo branch from 9f034d2 to 6503284 Compare November 20, 2025 15:42
@k50112113
k50112113 merged commit 63539c2 into main Dec 3, 2025
32 of 34 checks passed
@k50112113
k50112113 deleted the shaoclee/ds_fp4_triton_fusion_redo branch December 3, 2025 23:15
zhuyuhua-v pushed a commit that referenced this pull request Dec 17, 2025
* add kernel and integration in fused_moe, add UT

* add fused_gemm_afp4wfp4_a16w16.py

* fix bug

* add fused_reduce_act_mul_and_mxfp4_quant

* add gemm_a16wfp4.py

* fix

* fix

* fix

* clean up

* repr

* update AOT with repr

* fix bug

* add dummy heuristics

* add output_unquantized_inp1 to fused_rms_mxfp4_quant

* add configs

* fix bug, tune fused_reduce_act_mul_and_mxfp4_quant

* fix

* fix

* final clean up

* add batched_gemm_a16wfp4

* clean up

* add config

* add default config

* remove old kernels, add API redirection and deprecation warning

* add fused_gemm_afp4wfp4_mul_add

* remove

* fp4 gemm config, add fsued_reduce_rms_fp4_quant

* ut fix black formatting

* fix

* black formatting

* Retuning for DS FP4 batched gemm and o_proj performance

* add fused_gemm_afp4wfp4_split_cat

---------

Co-authored-by: amirumoAMD <Amelia.Moore@amd.com>
Co-authored-by: Lingpeng Jin <103567126+valarLip@users.noreply.github.com>
valarLip added a commit that referenced this pull request Mar 18, 2026
* add kernel and integration in fused_moe, add UT

* add fused_gemm_afp4wfp4_a16w16.py

* fix bug

* add fused_reduce_act_mul_and_mxfp4_quant

* add gemm_a16wfp4.py

* fix

* fix

* fix

* clean up

* repr

* update AOT with repr

* fix bug

* add dummy heuristics

* add output_unquantized_inp1 to fused_rms_mxfp4_quant

* add configs

* fix bug, tune fused_reduce_act_mul_and_mxfp4_quant

* fix

* fix

* final clean up

* add batched_gemm_a16wfp4

* clean up

* add config

* add default config

* remove old kernels, add API redirection and deprecation warning

* add fused_gemm_afp4wfp4_mul_add

* remove

* fp4 gemm config, add fsued_reduce_rms_fp4_quant

* ut fix black formatting

* fix

* black formatting

* Retuning for DS FP4 batched gemm and o_proj performance

* add fused_gemm_afp4wfp4_split_cat

---------

Co-authored-by: amirumoAMD <Amelia.Moore@amd.com>
Co-authored-by: Lingpeng Jin <103567126+valarLip@users.noreply.github.com>
azaidy pushed a commit that referenced this pull request Oct 5, 2026
The benchmark cannot run: it imports generate_gemm_afp4wfp4_pre_quant_inputs
from op_tests.triton_tests.gemm.basic.test_gemm_afp4wfp4_pre_quant_atomic,
a module that no longer exists. The DS FP4 fusion work (#1371, #1434)
renamed that test to test_gemm_a16wfp4.py, so every run fails with
ModuleNotFoundError.

#2601 tried to restore the helper. It was closed because
gemm_afp4wfp4_pre_quant is a deprecated wrapper, superseded by
gemm_a16wfp4 and slated for removal, and the bench should be deleted.
This does that, and drops the bench's entry from bench_schema.yaml.
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.

4 participants