未验证 提交 c5f85858 编写于 作者: M Michael Wyatt 提交者: GitHub

add missing moe deprecated fields to inference config (#2556)

上级 abe4fc6b
......@@ -260,6 +260,10 @@ class DeepSpeedInferenceConfig(DeepSpeedConfigModel):
alias="expert_mp_group",
deprecated=True,
new_param="moe.ep_mp_group")
moe_experts: list = Field([1], deprecated=True, new_param="moe.moe_experts")
moe_type: MoETypeEnum = Field(MoETypeEnum.standard,
deprecated=True,
new_param="moe.type")
@validator("moe")
def moe_backward_compat(cls, field_value, values):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册