mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 00:17:25 +08:00
[OP]Unify MoE op with moe_permute path for bf16 GLM (#7164)
This commit is contained in:
@@ -537,7 +537,9 @@ std::vector<paddle::Tensor> TextImageGatherScatter(
|
||||
const bool is_scatter);
|
||||
|
||||
std::vector<paddle::Tensor> count_tokens_per_expert_func(
|
||||
const paddle::Tensor& topk_ids, int64_t num_experts);
|
||||
const paddle::Tensor& topk_ids,
|
||||
int64_t num_experts,
|
||||
bool compute_padded_cumsum = false);
|
||||
void GetPositionIdsAndMaskEncoderBatch(
|
||||
const paddle::Tensor& seq_lens_encoder,
|
||||
const paddle::Tensor& seq_lens_decoder,
|
||||
|
||||
Reference in New Issue
Block a user