-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
334bb18
commit e2a7651
Showing
7 changed files
with
44 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
# Baseline | ||
python main.py --batch_size 16 --baseline --fp16 --seed 0 | ||
python main.py --batch_size 16 --baseline --fp16 --seed 1 | ||
python main.py --batch_size 16 --baseline --fp16 --seed 2 | ||
|
||
python main.py --batch_size 16 --baseline --precision fp16 --seed 0 | ||
python main.py --batch_size 16 --baseline --precision fp16 --seed 1 | ||
python main.py --batch_size 16 --baseline --precision fp16 --seed 2 | ||
# Meta-Weight-Net (single GPU fp 16) | ||
python main.py --batch_size 16 --fp16 --seed 0 | ||
python main.py --batch_size 16 --fp16 --seed 1 | ||
python main.py --batch_size 16 --fp16 --seed 2 | ||
python main.py --batch_size 16 --precision fp16 --seed 0 | ||
python main.py --batch_size 16 --precision fp16 --seed 1 | ||
python main.py --batch_size 16 --precision fp16 --seed 2 | ||
|
||
# Meta-Weight-Net (Multi GPU + ZeRO) | ||
torchrun --standalone --nnodes=1 --nproc_per_node=2 main.py --batch_size 16 --fp16 --strategy zero --seed 0 | ||
torchrun --standalone --nnodes=1 --nproc_per_node=2 main.py --batch_size 16 --fp16 --strategy zero --seed 1 | ||
torchrun --standalone --nnodes=1 --nproc_per_node=2 main.py --batch_size 16 --fp16 --strategy zero --seed 2 | ||
torchrun --standalone --nnodes=1 --nproc_per_node=2 main.py --batch_size 8 --precision fp16 --strategy zero --seed 0 | ||
torchrun --standalone --nnodes=1 --nproc_per_node=2 main.py --batch_size 8 --precision fp16 --strategy zero --seed 1 | ||
torchrun --standalone --nnodes=1 --nproc_per_node=2 main.py --batch_size 8 --precision fp16 --strategy zero --seed 2 | ||
|