forked from apache/tvm
-
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.
- Loading branch information
1 parent
9819fc3
commit b2b5b42
Showing
30 changed files
with
19,846 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
|
||
set -euxo pipefail | ||
|
||
TIME_TAG=`date +%y%m%d-%H%M%S` | ||
|
||
export GPU_NUM_DEVICES=1 | ||
export PJRT_DEVICE=GPU | ||
|
||
LOG_DIR=logs/e2e | ||
mkdir -p $LOG_DIR | ||
|
||
for bs in 1 16 | ||
do | ||
for model in align bert deberta densenet monodepth quantized resnet tridentnet | ||
for model in resnet | ||
do | ||
for compile in eager dynamo sys script sys-torchscript sys-tvm | ||
do | ||
rm -rf $LOG_DIR/$model.$bs.$compile.log | ||
LD_PRELOAD=build/ldlong.v3.9.12.so python3 run.py --bs $bs --model $model --compile $compile 2>&1 | tee $LOG_DIR/$model.$bs.$compile.log | ||
done | ||
done | ||
done | ||
|
||
wait |
Oops, something went wrong.