-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
revise the setting of number of thread by using MKL
- Loading branch information
Showing
46 changed files
with
1,783 additions
and
396 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,8 @@ | ||
#!/bin/bash | ||
# The benchmarks of all toolkits | ||
python benchmark.py -config ./configs/bm2cpu1.config -post True | ||
python benchmark.py -config ./configs/bm2cpu2.config -post True | ||
python benchmark.py -config ./configs/bm2cpu4.config -post True | ||
python benchmark.py -config ./configs/bm2cpu8.config -post True | ||
python benchmark.py -config ./configs/bm2cpu16.config -post True | ||
python benchmark.py -config ./configs/bm2cpu32.config -post True |
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,3 @@ | ||
#!/bin/bash | ||
# The benchmarks of all toolkits | ||
python benchmark.py -config ./configs/gpuk80.config -post True |
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
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
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
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,32 @@ | ||
flag: sgbenchmark6 #Flag of current experiment | ||
tools: torch #Tools to benchmark | ||
experiments: #<network type>; <network name>; <device id>; <gpu count>; <batch size>; <number of epochs>; <epoch size>; <Learning rate> | ||
{ | ||
fc; fcn5; 0; 1; 4096; 40; 60000; 0.05 | ||
fc; fcn5; 0; 1; 2048; 40; 60000; 0.05 | ||
fc; fcn5; 0; 1; 1024; 40; 60000; 0.05 | ||
fc; fcn5; 0; 1; 512; 40; 60000; 0.05 | ||
fc; fcn5; 0; 1; 342; 40; 60000; 0.05 | ||
cnn; alexnet; 0; 1; 2048; 40; 50000; 0.01 | ||
cnn; alexnet; 0; 1; 1024; 40; 50000; 0.01 | ||
cnn; alexnet; 0; 1; 512; 40; 50000; 0.01 | ||
cnn; alexnet; 0; 1; 256; 40; 50000; 0.01 | ||
cnn; alexnet; 0; 1; 128; 40; 50000; 0.01 | ||
cnn; alexnet; 0; 1; 86; 40; 50000; 0.01 | ||
cnn; resnet; 0; 1; 128; 40; 50000; 0.01 | ||
cnn; resnet; 0; 1; 64; 40; 50000; 0.01 | ||
cnn; resnet; 0; 1; 32; 40; 50000; 0.01 | ||
cnn; resnet; 0; 1; 16; 40; 50000; 0.01 | ||
cnn; resnet; 0; 1; 11; 40; 50000; 0.01 | ||
# rnn; lstm; 0; 1; 1024; 20; -1; 0.1 | ||
# rnn; lstm; 0; 1; 512; 20; -1; 0.1 | ||
# rnn; lstm; 0; 1; 256; 20; -1; 0.1 | ||
# rnn; lstm; 0; 1; 128; 20; -1; 0.1 | ||
# rnn; lstm; 0; 1; 64; 20; -1; 0.1 | ||
} | ||
host_file: None #Path to host file or None | ||
cpu_name: E5-2630v4 #CPU model | ||
device_name: K80 #GPU model | ||
cuda: 8.0 #CUDA version | ||
cudnn: 5.1 #CUDNN version | ||
cuda_driver: 367.48 #CUDA driver version |
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
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
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,57 @@ | ||
-------------------------------------------------------------------------------- | ||
Processing file 'alexnetbm.py' | ||
outputting to 'alexnetbm1.py' | ||
-------------------------------------------------------------------------------- | ||
|
||
'alexnetbm.py' Line 105 | ||
-------------------------------------------------------------------------------- | ||
|
||
Added keyword 'concat_dim' to reordered function 'tf.concat' | ||
Added keyword 'values' to reordered function 'tf.concat' | ||
|
||
Old: concated = tf.concat(1, [indices, labels]) | ||
|
||
New: concated = tf.concat(axis=1, values=[indices, labels]) | ||
~~~~~ ~~~~~~~ | ||
|
||
'alexnetbm.py' Line 187 | ||
-------------------------------------------------------------------------------- | ||
|
||
Renamed function 'tf.initialize_all_variables' to 'tf.global_variables_initializer' | ||
|
||
Old: init = tf.initialize_all_variables() | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
New: init = tf.global_variables_initializer() | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
'alexnetbm.py' Line 107 | ||
-------------------------------------------------------------------------------- | ||
|
||
Renamed function 'tf.pack' to 'tf.stack' | ||
|
||
Old: concated, tf.pack([batch_size, 1000]), 1.0, 0.0) | ||
~~~~~~~ | ||
New: concated, tf.stack([batch_size, 1000]), 1.0, 0.0) | ||
~~~~~~~~ | ||
|
||
'alexnetbm.py' Line 108 | ||
-------------------------------------------------------------------------------- | ||
|
||
Added keyword 'logits' to reordered function 'tf.nn.softmax_cross_entropy_with_logits' | ||
|
||
Old: cross_entropy = tf.nn.softmax_cross_entropy_with_logits(logits, | ||
|
||
New: cross_entropy = tf.nn.softmax_cross_entropy_with_logits(logits=logits, | ||
~~~~~~~ | ||
|
||
'alexnetbm.py' Line 109 | ||
-------------------------------------------------------------------------------- | ||
|
||
Added keyword 'labels' to reordered function 'tf.nn.softmax_cross_entropy_with_logits' | ||
|
||
Old: onehot_labels, | ||
|
||
New: labels=onehot_labels, | ||
~~~~~~~ | ||
|
||
|
Oops, something went wrong.