Skip to content

Commit

Permalink
Add executable permission to ds_elastic and ds_report in bin. (#…
Browse files Browse the repository at this point in the history
…711)

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

* Automatic `ds_elastic` formatting

Co-authored-by: Jeff Rasley <jerasley@microsoft.com>
  • Loading branch information
joneyolfson and jeffra authored Feb 1, 2021
1 parent 3cecbc1 commit 6332e31
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions bin/ds_elastic
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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'))

Expand Down
Empty file modified bin/ds_report
100644 → 100755
Empty file.

0 comments on commit 6332e31

Please sign in to comment.