forked from Aayush-Ankit/ml-inference-benchmarks
-
Notifications
You must be signed in to change notification settings - Fork 1
/
run_gpu_mlp_l4.sh
52 lines (40 loc) · 1.66 KB
/
run_gpu_mlp_l4.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/sh
echo "***mlp_l4_iter_test Benchmarking***"
echo "Usage ./run_gpu_mlp_l4_iter_test.sh <typeofgpu> --> e.g: ./run_gpu_mlp_l4_iter_test.sh geforce_gtx_maxwell"
#batch size 1
echo "**batch size 1**"
th mlp_l4_iter_test.lua -gpu 1 -batch 1 -gpusample 10 -gputype $1 -iter $2
#batch size 16
echo "**batch size 16**"
th mlp_l4_iter_test.lua -gpu 1 -batch 16 -gpusample 10 -gputype $1 -iter $2
#batch size 32
echo "**batch size 32**"
th mlp_l4_iter_test.lua -gpu 1 -batch 32 -gpusample 10 -gputype $1 -iter $2
#batch size 64
echo "**batch size 64**"
th mlp_l4_iter_test.lua -gpu 1 -batch 64 -gpusample 10 -gputype $1 -iter $2
#batch size 128
echo "**batch size 128**"
th mlp_l4_iter_test.lua -gpu 1 -batch 128 -gpusample 10 -gputype $1 -iter $2
#batch size 256
echo "**batch size 256**"
th mlp_l4_iter_test.lua -gpu 1 -batch 256 -gpusample 10 -gputype $1 -iter $2
#batch size 512
echo "**batch size 512**"
th mlp_l4_iter_test.lua -gpu 1 -batch 512 -gpusample 10 -gputype $1 -iter $2
#batch size 1024
echo "**batch size 1024**"
th mlp_l4_iter_test.lua -gpu 1 -batch 1024 -gpusample 10 -gputype $1 -iter $2
#batch size 2048
echo "**batch size 2048**"
th mlp_l4_iter_test.lua -gpu 1 -batch 2048 -gpusample 10 -gputype $1 -iter $2
#batch size 4096
echo "**batch size 4096**"
th mlp_l4_iter_test.lua -gpu 1 -batch 4096 -gpusample 10 -gputype $1 -iter $2
#batch size 8192
echo "**batch size 8192**"
th mlp_l4_iter_test.lua -gpu 1 -batch 8192 -gpusample 10 -gputype $1 -iter $2
#batch size 16384
echo "**batch size 16384**"
th mlp_l4_iter_test.lua -gpu 1 -batch 16384 -gpusample 10 -gputype $1 -iter $2
echo "**mlp_l4_iter_test can run larger batch sizes, but for now not running those***"