未验证 提交 abe293b4 编写于 作者: P Polisetty V R K Jyothendra Varma 提交者: GitHub

use correct ckpt path when base_dir not available (#4101)

* base_dir may not present all time and results in incorrect path

* Update replace_module.py

* Update config.py

---------
Co-authored-by: NMichael Wyatt <michaelwyatt@microsoft.com>
上级 975bcbc0
......@@ -202,7 +202,7 @@ class DeepSpeedInferenceConfig(DeepSpeedConfigModel):
Path to deepspeed compatible checkpoint or path to JSON with load policy.
"""
base_dir: str = None
base_dir: str = ""
"""
This shows the root directory under which all the checkpoint files exists.
This can be passed through the json config too.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册