forked from PaddlePaddle/FastDeploy
-
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.
[benchmark] add paddlex benchmark run scripts (PaddlePaddle#2015)
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/env bash | ||
export CUDA_VISIBLE_DEVICES='0' | ||
bash benchmark_gpu.sh config/config.gpu.ort.fp32.e2e.txt | ||
bash benchmark_gpu.sh config/config.gpu.ort.fp32.txt | ||
|
||
bash benchmark_gpu.sh config/config.gpu.paddle.fp32.e2e.txt | ||
bash benchmark_gpu.sh config/config.gpu.paddle.fp32.txt | ||
# rm all paddle_trt/trt cache | ||
find . -name "trt_serialized*" | xargs rm -rf | ||
bash benchmark_gpu_trt.sh config/config.gpu.paddle_trt.fp16.e2e.txt | ||
bash benchmark_gpu_trt.sh config/config.gpu.paddle_trt.fp16.txt | ||
bash benchmark_gpu_trt.sh config/config.gpu.paddle_trt.fp16.h2d.txt | ||
# rm all paddle_trt/trt cache | ||
find . -name "trt_serialized*" | xargs rm -rf | ||
bash benchmark_gpu_trt.sh config/config.gpu.paddle_trt.fp32.e2e.txt | ||
bash benchmark_gpu_trt.sh config/config.gpu.paddle_trt.fp32.txt | ||
bash benchmark_gpu_trt.sh config/config.gpu.paddle_trt.fp32.h2d.txt | ||
# rm all paddle_trt/trt cache | ||
find . -name "trt_serialized*" | xargs rm -rf | ||
bash benchmark_gpu_trt.sh config/config.gpu.trt.fp16.e2e.txt | ||
bash benchmark_gpu_trt.sh config/config.gpu.trt.fp16.txt | ||
bash benchmark_gpu_trt.sh config/config.gpu.trt.fp16.h2d.txt | ||
# rm all paddle_trt/trt cache | ||
find . -name "trt_serialized*" | xargs rm -rf | ||
bash benchmark_gpu_trt.sh config/config.gpu.trt.fp32.e2e.txt | ||
bash benchmark_gpu_trt.sh config/config.gpu.trt.fp32.txt | ||
bash benchmark_gpu_trt.sh config/config.gpu.trt.fp32.h2d.txt | ||
# rm all paddle_trt/trt cache | ||
find . -name "trt_serialized*" | xargs rm -rf |
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,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
bash benchmark_x86.sh config/config.x86.ort.fp32.e2e.txt | ||
bash benchmark_x86.sh config/config.x86.ort.fp32.txt | ||
|
||
bash benchmark_x86.sh config/config.x86.ov.fp32.e2e.txt | ||
bash benchmark_x86.sh config/config.x86.ov.fp32.txt | ||
|
||
bash benchmark_x86.sh config/config.x86.paddle.fp32.e2e.txt | ||
bash benchmark_x86.sh config/config.x86.paddle.fp32.txt |