Skip to content

Conversation

@ccsuzzh
Copy link
Contributor

@ccsuzzh ccsuzzh commented Oct 26, 2025

Motivation

speed up compile

Modifications

autogen MoeFastHardamardImplWrapper template_instantiation

multi_head_latent_attention.cu:17m55.582s -> 0m12.570s + decoder_mla_attention_kernel.cu:0m12.821s
fast_hardamard_kernel.cu:7m42.350s -> moe_fast_hardamard_impl_*.cu:0m11.784s + moe_fast_hardamard_kernel.cu:0m10.970s

Usage or Command

Accuracy Tests

Checklist

  • Add at least a tag in the PR title.
    • Tag list: [[FDConfig],[APIServer],[Engine], [Scheduler], [PD Disaggregation], [Executor], [Graph Optimization], [Speculative Decoding], [RL], [Models], [Quantization], [Loader], [OP], [KVCache], [DataProcessor], [BugFix], [Docs], [CI], [Optimization], [Feature], [Benchmark], [Others], [XPU], [HPU], [GCU], [DCU], [Iluvatar], [Metax]]
    • You can add new tags based on the PR content, but the semantics must be clear.
  • Format your code, run pre-commit before commit.
  • Add unit tests. Please write the reason in this PR if no unit tests.
  • Provide accuracy results.
  • If the current PR is submitting to the release branch, make sure the PR has been submitted to the develop branch, then cherry-pick it to the release branch with the [Cherry-Pick] PR tag.

@paddle-bot
Copy link

paddle-bot bot commented Oct 26, 2025

Thanks for your contribution!

@paddle-bot paddle-bot bot added the contributor External developers label Oct 26, 2025
@ccsuzzh
Copy link
Contributor Author

ccsuzzh commented Oct 29, 2025

/re-run all-failed

@ccsuzzh ccsuzzh requested a review from YuanRisheng October 30, 2025 02:25
@YuanRisheng YuanRisheng merged commit 1712e13 into PaddlePaddle:develop Oct 30, 2025
25 of 28 checks passed
@ccsuzzh ccsuzzh deleted the moe_fast_hardamard branch October 30, 2025 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants