未验证 提交 6332e313 编写于 作者: J Jon Eyolfson 提交者: GitHub

Add executable permission to `ds_elastic` and `ds_report` in `bin`. (#711)

* Add executable permission to `ds_elastic` and `ds_report` in `bin`.

* Automatic `ds_elastic` formatting
Co-authored-by: NJeff Rasley <jerasley@microsoft.com>
上级 3cecbc1d
......@@ -6,11 +6,14 @@ import json
import deepspeed
from deepspeed.elasticity import compute_elastic_config
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('-c', '--config', type=str, help="DeepSpeed config json")
parser.add_argument('-w', '--world-size', type=int, default=0, help="Intended/current world size")
parser.add_argument('-w',
'--world-size',
type=int,
default=0,
help="Intended/current world size")
args = parser.parse_args()
ds_config = json.load(open(args.config, 'r'))
......
文件模式从 100644 更改为 100755
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册