-
Notifications
You must be signed in to change notification settings - Fork 3
/
run_gpu_nmt_l3.sh
39 lines (28 loc) · 1.16 KB
/
run_gpu_nmt_l3.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
#!/bin/sh
echo "***nmt_l3_iter_test Benchmarking***"
echo "Usage ./run_gpu_nmt_l3_iter_test.sh <typeofgpu> --> e.g: ./run_gpu_nmt_l3_iter_test.sh geforce_gtx_maxwell"
#batch size 1
echo "**batch size 1**"
th nmt_l3_iter_test.lua -gpu 1 -batch 1 -gpusample 500 -gputype $1 -iter $2
#batch size 16
echo "**batch size 16**"
th nmt_l3_iter_test.lua -gpu 1 -batch 16 -gpusample 500 -gputype $1 -iter $2
#batch size 32
echo "**batch size 32**"
th nmt_l3_iter_test.lua -gpu 1 -batch 32 -gpusample 500 -gputype $1 -iter $2
#batch size 64
echo "**batch size 64**"
th nmt_l3_iter_test.lua -gpu 1 -batch 64 -gpusample 500 -gputype $1 -iter $2
#batch size 128
echo "**batch size 128**"
th nmt_l3_iter_test.lua -gpu 1 -batch 128 -gpusample 500 -gputype $1 -iter $2
#batch size 256
echo "**batch size 256**"
th nmt_l3_iter_test.lua -gpu 1 -batch 256 -gpusample 500 -gputype $1 -iter $2
#batch size 512
echo "**batch size 512**"
th nmt_l3_iter_test.lua -gpu 1 -batch 512 -gpusample 500 -gputype $1 -iter $2
#batch size 50024
echo "**batch size 930**"
th nmt_l3_iter_test.lua -gpu 1 -batch 930 -gpusample 500 -gputype $1 -iter $2
echo "Batch size of 930 is the largest that ran on the 12GB GPU"