Unverified Commit 6332e313 authored by Jon Eyolfson's avatar Jon Eyolfson Committed by GitHub
Browse files

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: default avatarJeff Rasley <jerasley@microsoft.com>
parent 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'))
......
File mode changed from 100644 to 100755
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment