Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .jenkins/perf_test/perf_test_numbers.json
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
{
"commit": "9f980b179506489d226051259eacec8639c00c5f",
"commit": "492466f25fdf12b62f2043587130e9ee393e4b1c",

"cpu-test-base-machine": "Mac Mini with 2.3 GHz i7 processors, 16GB RAM, 250GB SSD",
"cpu-test-docker-settings": "2 cores, 4GB RAM",

"test_cpu_speed_mini_sequence_labeler": {
"mean": "6.68473",
"sigma": "0.78402"
"mean": "6.75325",
"sigma": "0.62155"
},

"test_cpu_speed_mnist": {
"mean": "39.31513",
"sigma": "1.44542"
"mean": "30.86437",
"sigma": "2.0945721121747041"
},

"gpu-test-base-machine": "g3.8xlarge",

"test_gpu_speed_mnist": {
"mean": "",
"sigma": ""
"mean": "11.66185",
"sigma": "0.29402"
},

"test_gpu_speed_word_language_model": {
"mean": "",
"sigma": ""
"mean": "5.65807",
"sigma": "0.1132"
},

"test_gpu_speed_cudnn_lstm": {
"mean": "",
"sigma": ""
"mean": "4.98804",
"sigma": "0.21906"
},

"test_gpu_speed_lstm": {
"mean": "",
"sigma": ""
"mean": "5.27968",
"sigma": "0.13834"
},

"test_gpu_speed_mlstm": {
"mean": "",
"sigma": ""
"mean": "4.11562",
"sigma": "0.0722"
}
}
4 changes: 2 additions & 2 deletions .jenkins/perf_test/test_gpu_speed_cudnn_lstm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ test_gpu_speed_cudnn_lstm () {
cd benchmark/scripts/

SAMPLE_ARRAY=()
NUM_RUNS=5
NUM_RUNS=20

for (( i=1; i<=$NUM_RUNS; i++ )) do
runtime=$(get_runtime_of_command "python cudnn_lstm.py")
runtime=$(get_runtime_of_command "python cudnn_lstm.py --skip-cpu-governor-check")
echo $runtime
SAMPLE_ARRAY+=(${runtime})
done
Expand Down
4 changes: 2 additions & 2 deletions .jenkins/perf_test/test_gpu_speed_lstm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ test_gpu_speed_lstm () {
cd benchmark/scripts/

SAMPLE_ARRAY=()
NUM_RUNS=5
NUM_RUNS=20

for (( i=1; i<=$NUM_RUNS; i++ )) do
runtime=$(get_runtime_of_command "python lstm.py")
runtime=$(get_runtime_of_command "python lstm.py --skip-cpu-governor-check")
echo $runtime
SAMPLE_ARRAY+=(${runtime})
done
Expand Down
4 changes: 2 additions & 2 deletions .jenkins/perf_test/test_gpu_speed_mlstm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ test_gpu_speed_mlstm () {
cd benchmark/scripts/

SAMPLE_ARRAY=()
NUM_RUNS=5
NUM_RUNS=20

for (( i=1; i<=$NUM_RUNS; i++ )) do
runtime=$(get_runtime_of_command "python mlstm.py")
runtime=$(get_runtime_of_command "python mlstm.py --skip-cpu-governor-check")
echo $runtime
SAMPLE_ARRAY+=(${runtime})
done
Expand Down
2 changes: 1 addition & 1 deletion .jenkins/perf_test/test_gpu_speed_mnist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ test_gpu_speed_mnist () {
python main.py --epochs 0

SAMPLE_ARRAY=()
NUM_RUNS=5
NUM_RUNS=20

for (( i=1; i<=$NUM_RUNS; i++ )) do
runtime=$(get_runtime_of_command "python main.py --epochs 1 --no-log")
Expand Down
15 changes: 14 additions & 1 deletion .jenkins/perf_test/test_gpu_speed_word_language_model.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,21 @@ test_gpu_speed_word_language_model () {

cd examples/word_language_model

cd data/wikitext-2

# Reduce dataset size, so that we can have more runs per test
sed -n '1,200p' test.txt > test_tmp.txt
sed -n '1,1000p' train.txt > train_tmp.txt
sed -n '1,200p' valid.txt > valid_tmp.txt

mv test_tmp.txt test.txt
mv train_tmp.txt train.txt
mv valid_tmp.txt valid.txt

cd ../..

SAMPLE_ARRAY=()
NUM_RUNS=5
NUM_RUNS=20

for (( i=1; i<=$NUM_RUNS; i++ )) do
runtime=$(get_runtime_of_command "python main.py --cuda --epochs 1")
Expand Down