[EP] Add cuda kernel for moe_ep_pre_reorder (#6699)

Co-authored-by: luoyuan.luo <luoyuan.luo@antgroup.com>
This commit is contained in:
Yuan Luoandluoyuan.luo authored and GitHub committed 2025-06-01 20:49:01 -07:00
1 parent 20fd53b8f6
commit 55444ed667
7 files changed
+230

No files matched your search

+11
View File
@@ -240,6 +240,17 @@ void prepare_moe_input(
const int64_t n,
const int64_t k);
void ep_moe_pre_reorder(
torch::Tensor input,
torch::Tensor gateup_input,
torch::Tensor src2dst,
torch::Tensor topk_ids,
torch::Tensor a1_scales,
int64_t start_expert_id,
int64_t end_expert_id,
int64_t topk,
bool use_per_token_if_dynamic);
/*
* From csrc/speculative
*/