forked from facebookincubator/AITemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix BERT benchmark for 2 gcd (facebookincubator#6)
* fixed batch_size > 1 * load so file for benchmark
- Loading branch information
Showing
5 changed files
with
54 additions
and
33 deletions.
There are no files selected for viewing
Submodule composable_kernel
updated
from d8b41e to 40942b
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,11 +1,11 @@ | ||
#!/bin/bash | ||
|
||
#profile | ||
HIP_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python3 benchmark_ait.py | ||
#HIP_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python3 benchmark_ait.py | ||
|
||
#1GCD | ||
HIP_VISIBLE_DEVICES=0 python3 benchmark_ait.py --batch-size $1 | ||
#HIP_VISIBLE_DEVICES=0 python3 benchmark_ait.py --batch-size $1 --seq_length $2 | ||
|
||
#2GCD | ||
HIP_VISIBLE_DEVICES=0 python3 benchmark_ait.py --batch-size $1 & | ||
HIP_VISIBLE_DEVICES=1 python3 benchmark_ait.py --batch-size $1 && fg | ||
HIP_VISIBLE_DEVICES=0 python3 benchmark_ait.py --batch-size $1 --seq-length $2 & | ||
HIP_VISIBLE_DEVICES=1 python3 benchmark_ait.py --batch-size $1 --seq-length $2 && fg |
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