This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 538
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add AMP + Update Benchmarking Script (#1405)
* Update transformer_xl.py Update testing.py Update testing.py Update testing.py Update testing.py Update testing.py Update testing.py Update testing.py Update testing.py Update testing.py Update testing.py Update testing.py Update testing.py Update testing.py Update testing.py Update testing.py Update attention_cell.py Update testing.py Update testing.py Update testing.py Update test_models_bert.py Update run_batch_squad.sh Update generate_commands.py Update run_batch_squad.sh Update run_batch_squad.sh Update run_batch_squad.sh Add region Update generate_commands.py Update run_squad.template Try to use clip 1.0 update Update README.md Update attention_cell.py Update benchmark_gluonnlp.py Update attention_cell.py Update testing.py Update run_squad.py Update attention_cell.py Update attention_cell.py Update attention_cell.py update Update attention_cell.py update Update numbers + log + weight update update Update testing.py * Update run_squad.py * Update test_models_mobilebert.py * Update README.md * Update test_models_bert.py * Update testing.py * Update test_models_mobilebert.py * Update test_models_roberta.py * Update gpt2.py * Update testing.py * Update bart.py * Update testing.py * Update testing.py * Update README.md * Update README.md * Update testing.py * fix * update * Update test_models_roberta.py * Update test_models_bart.py * Update test_models_bart.py * Update test_models_bart.py * Update testing.py * only include bart-base * Update bart.py * Update bart.py * update * Update test_models_transformer.py * Update test_models_transformer.py * Update test_models_transformer.py * Update test_models_transformer.py * Update run_squad.py * Update attention_cell.py * Update README.md * Update test_models.py * Update run_squad.py * Update run_squad.py * update * Update run_squad.template * update * Update generate_commands.py * Update optimizer.py * update * Update run_squad.py * update * Update run_batch_squad.sh * update * Update testing.py * Update test_optimizer.py * Update benchmark_utils.py * update * fix bug in inference * Update benchmark_gluonnlp.py * Update run_batch_squad.sh * Update benchmark_utils.py * Update run_squad.py * Update run_squad.py * Update run_squad.py * Update run_squad.py * update
- Loading branch information
1 parent
1726dd2
commit dd45270
Showing
45 changed files
with
723 additions
and
299 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
for mode in train inference | ||
do | ||
python3 benchmark_gluonnlp.py --layout NT --compute_layout NT --mode $mode --use_fp16 | ||
done | ||
|
||
for mode in train inference | ||
do | ||
python3 benchmark_gluonnlp.py --layout NT --compute_layout TN --mode $mode --use_fp16 | ||
done | ||
|
||
for mode in train inference | ||
do | ||
python3 benchmark_gluonnlp.py --layout TN --compute_layout TN --mode $mode --use_fp16 | ||
done |
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
Oops, something went wrong.