mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-11-03 02:53:26 +08:00
[Feature] Support_eplb (#2997)
Some checks failed
Deploy GitHub Pages / deploy (push) Has been cancelled
Some checks failed
Deploy GitHub Pages / deploy (push) Has been cancelled
* [Feature] support_eplb * [Feature] support_eplb * [Fix] fix mm ep
This commit is contained in:
@@ -37,7 +37,7 @@ class RedundantExpertManger:
|
||||
ep_size: int,
|
||||
) -> None:
|
||||
"""Initialize a redundant expert manager"""
|
||||
self.num_expert = n_routed_experts
|
||||
self.num_expert = n_routed_experts if isinstance(n_routed_experts, int) else n_routed_experts[0]
|
||||
self.redundant_experts_num = redundant_experts_num
|
||||
self.num_hidden_layers = num_hidden_layers
|
||||
|
||||
|
||||
Reference in New Issue
Block a user