Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
apex
Commits
1c664582
Commit
1c664582
authored
Jul 31, 2020
by
lcskrishna
Browse files
Merge branch 'master' of
https://github.com/ROCmSoftwarePlatform/apex
into ifu_07272020
parents
6f7a8b39
8dd19e3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
tests/distributed/run_rocm_distributed.sh
tests/distributed/run_rocm_distributed.sh
+10
-10
No files found.
tests/distributed/run_rocm_distributed.sh
View file @
1c664582
...
...
@@ -18,16 +18,16 @@ rm rank1master.pth
# Test with opt_level="O5"
echo
"running opt_level O5"
python3.6
-m
torch.distributed.launch
--nproc_per_node
=
2 amp_master_params/amp_master_params.py
--opt_level
"O5"
python3.6 amp_master_params/compare.py
# delete the model files
echo
"O5 test completed. Deleting model files"
rm
rank0model.pth
rm
rank1model.pth
rm
rank0master.pth
rm
rank1master.pth
#
echo "running opt_level O5"
#
python3.6 -m torch.distributed.launch --nproc_per_node=2 amp_master_params/amp_master_params.py --opt_level "O5"
#
python3.6 amp_master_params/compare.py
#
#
# delete the model files
#
echo "O5 test completed. Deleting model files"
#
rm rank0model.pth
#
rm rank1model.pth
#
rm rank0master.pth
#
rm rank1master.pth
## Run the Sync BN Tests.
echo
"Running syncbn tests"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment