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

allow dict datatype for checkpoints (#3007)

Co-authored-by: NOlatunji Ruwase <olruwase@microsoft.com>
上级 f5dde36c
......@@ -184,7 +184,7 @@ class DeepSpeedInferenceConfig(DeepSpeedConfigModel):
"""
#todo: refactor the following 3 into the new checkpoint_config
checkpoint: str = None
checkpoint: Union[str, Dict] = None
"""
Path to deepspeed compatible checkpoint or path to JSON with load policy.
"""
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册