Add deepseek style fused moe group gate selection kernel (#4530)
This commit is contained in:
1 parent
ddf8981d91
commit
45dcfc2e76
9 files changed
+616
-1
No files matched your search
@@ -199,6 +199,9 @@ void topk_softmax(
|
||||
torch::Tensor& token_expert_indices,
|
||||
torch::Tensor& gating_output);
|
||||
|
||||
std::vector<at::Tensor>
|
||||
moe_fused_gate(at::Tensor& input, at::Tensor& bias, int64_t num_expert_group, int64_t topk_group, int64_t topk);
|
||||
|
||||
/*
|
||||
* From csrc/speculative
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user