├── .gitignore ├── LICENSE ├── README.md ├── analyze_cnn_benchmark_results.py ├── cnn_benchmark.lua ├── convert_model.lua ├── outputs ├── 1080Ti │ ├── 176422.json │ ├── 430986.json │ ├── 470497.json │ ├── 658244.json │ ├── 881357.json │ └── 976860.json ├── 1080Ti_cudnn51 │ ├── 101362.json │ ├── 202606.json │ ├── 267406.json │ ├── 311738.json │ ├── 453685.json │ ├── 474549.json │ ├── 644777.json │ ├── 677177.json │ └── 957923.json ├── 1080_cudnn50 │ ├── 11393.json │ ├── 234830.json │ ├── 243870.json │ ├── 327519.json │ ├── 422317.json │ ├── 443109.json │ ├── 46471.json │ ├── 470467.json │ ├── 473403.json │ ├── 511688.json │ ├── 533635.json │ ├── 561535.json │ ├── 592844.json │ ├── 593930.json │ ├── 595867.json │ ├── 601028.json │ ├── 638525.json │ ├── 640169.json │ ├── 670759.json │ ├── 745969.json │ ├── 882582.json │ ├── 898191.json │ ├── 899060.json │ ├── 926972.json │ ├── 934124.json │ ├── 934144.json │ ├── 94136.json │ ├── 957290.json │ └── 988163.json ├── 1080_cudnn51 │ ├── 179512.json │ ├── 325985.json │ ├── 432032.json │ ├── 510304.json │ ├── 598494.json │ ├── 624722.json │ ├── 784576.json │ └── 805366.json ├── cpu │ ├── 189638.json │ ├── 308550.json │ ├── 378556.json │ ├── 541076.json │ ├── 629699.json │ ├── 655060.json │ ├── 704333.json │ ├── 731542.json │ └── 864633.json ├── titan_xm_cudnn4 │ ├── 153412.json │ ├── 224180.json │ ├── 373687.json │ ├── 382014.json │ ├── 44953.json │ ├── 629022.json │ ├── 724419.json │ ├── 736736.json │ ├── 955986.json │ └── 959133.json ├── titan_xm_cudnn50 │ ├── 122538.json │ ├── 149024.json │ ├── 185837.json │ ├── 593076.json │ ├── 717778.json │ ├── 718808.json │ ├── 75762.json │ ├── 883354.json │ ├── 885142.json │ └── 907527.json ├── titan_xm_cudnn51 │ ├── 107545.json │ ├── 270716.json │ ├── 272114.json │ ├── 296977.json │ ├── 311261.json │ ├── 329084.json │ ├── 34966.json │ ├── 365430.json │ ├── 402717.json │ ├── 461634.json │ ├── 539546.json │ ├── 545185.json │ ├── 66175.json │ ├── 785346.json │ ├── 794544.json │ ├── 803718.json │ ├── 816588.json │ ├── 943134.json │ └── 988380.json ├── titan_xp_cudnn50 │ ├── 232057.json │ ├── 264135.json │ ├── 285570.json │ ├── 481954.json │ ├── 485149.json │ ├── 816352.json │ ├── 830288.json │ ├── 838864.json │ ├── 959228.json │ └── 98112.json └── titan_xp_cudnn51 │ ├── 114516.json │ ├── 194600.json │ ├── 434880.json │ ├── 440838.json │ ├── 50941.json │ ├── 586889.json │ ├── 600209.json │ ├── 636953.json │ ├── 70037.json │ ├── 750624.json │ ├── 750844.json │ ├── 813670.json │ ├── 846628.json │ ├── 865701.json │ ├── 879577.json │ ├── 880068.json │ ├── 939670.json │ ├── 962635.json │ └── 971506.json ├── run_cnn_benchmarks.py └── utils.lua /.gitignore: -------------------------------------------------------------------------------- 1 | models 2 | *.swp 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016 Justin Johnson 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # cnn-benchmarks 2 | 3 | Benchmarks for popular convolutional neural network models on CPU and different GPUs, with and without cuDNN. 4 | 5 | Some general conclusions from this benchmarking: 6 | 7 | - **Pascal Titan X > GTX 1080**: Across all models, the Pascal Titan X is **1.31x to 1.43x** faster than the GTX 1080 and **1.47x to 1.60x** faster than the Maxwell Titan X. This is without a doubt the best card you can get for deep learning right now. 8 | - **GTX 1080 > Maxwell Titan X**: Across all models, the GTX 1080 is **1.10x to 1.15x** faster than the Maxwell Titan X. 9 | - **ResNet > VGG**: ResNet-50 is faster than VGG-16 and more accurate than VGG-19 (7.02 vs 9.0); ResNet-101 is about the same speed as VGG-19 but much more accurate than VGG-16 (6.21 vs 9.0). 10 | - **Always use cuDNN**: On the Pascal Titan X, cuDNN is **2.2x to 3.0x** faster than nn; on the GTX 1080, cuDNN is **2.0x to 2.8x** faster than nn; on the Maxwell Titan X, cuDNN is **2.2x to 3.0x** faster than nn. 11 | - **GPUs are critical**: The Pascal Titan X with cuDNN is **49x to 74x** faster than dual Xeon E5-2630 v3 CPUs. 12 | 13 | All benchmarks were run in Torch. 14 | The GTX 1080 and Maxwell Titan X benchmarks were run on a machine with dual 15 | Intel Xeon E5-2630 v3 processors (8 cores each plus hyperthreading means 32 16 | threads) and 64GB RAM running Ubuntu 14.04 with the CUDA 8.0 Release Candidate. 17 | The Pascal Titan X benchmarks were run on a machine with an Intel Core i5-6500 18 | CPU and 16GB RAM running Ubuntu 16.04 with the CUDA 8.0 Release Candidate. 19 | The GTX 1080 Ti benchmarks were run on a machine with an Intel Core i7-7700 CPU 20 | and 64GB RAM running Ubuntu 16.04 with the CUDA 8.0 release. 21 | 22 | We benchmark all models with a minibatch size of 16 and an image size of 224 x 224; 23 | this allows direct comparisons between models, and allows all but the ResNet-200 model 24 | to run on the GTX 1080, which has only 8GB of memory. 25 | 26 | The following models are benchmarked: 27 | 28 | |Network|Layers|Top-1 error|Top-5 error|Speed (ms)|Citation| 29 | |---|---:|---:|---:|---:|---| 30 | |[AlexNet](#alexnet)|8|42.90|19.80|14.56|[[1]](#alexnet-paper)| 31 | |[Inception-V1](#inception-v1)|22|-|10.07|39.14|[[2]](#inception-v1-paper)| 32 | |[VGG-16](#vgg-16)|16|27.00|8.80|128.62|[[3]](#vgg-paper)| 33 | |[VGG-19](#vgg-19)|19|27.30|9.00|147.32|[[3]](#vgg-paper)| 34 | |[ResNet-18](#resnet-18)|18|30.43|10.76|31.54|[[4]](#resnet-cvpr)| 35 | |[ResNet-34](#resnet-34)|34|26.73|8.74|51.59|[[4]](#resnet-cvpr)| 36 | |[ResNet-50](#resnet-50)|50|24.01|7.02|103.58|[[4]](#resnet-cvpr)| 37 | |[ResNet-101](#resnet-101)|101|22.44|6.21|156.44|[[4]](#resnet-cvpr)| 38 | |[ResNet-152](#resnet-152)|152|22.16|6.16|217.91|[[4]](#resnet-cvpr)| 39 | |[ResNet-200](#resnet-200)|200|21.66|5.79|296.51|[[5]](#resnet-eccv)| 40 | 41 | Top-1 and Top-5 error are single-crop error rates on the ILSVRC 2012 Validation set, 42 | except for VGG-16 and VGG-19 which instead use dense prediction on a 256x256 image. 43 | This gives the VGG models a slight advantage, but I was unable to find single-crop error 44 | rates for these models. All models perform better when using more than one crop at test-time. 45 | 46 | Speed is the total time for a forward and backward pass on a Pascal Titan X with cuDNN 5.1. 47 | 48 | You can download the model files used for benchmarking [here](https://drive.google.com/open?id=0Byvt-AfX75o1STUxZTFpMU10djA) (2.1 GB); 49 | these were converted from Caffe or Torch checkpoints using the `convert_model.lua` script. 50 | 51 | We use the following GPUs for benchmarking: 52 | 53 | |GPU|Memory|Architecture|CUDA Cores|FP32 TFLOPS|Release Date| 54 | |---|---|---|---:|---:|---| 55 | |[Pascal Titan X](http://www.geforce.com/hardware/10series/titan-x-pascal)|12GB GDDRX5|Pascal|3584|10.16|August 2016| 56 | |[GTX 1080](http://www.geforce.com/hardware/10series/geforce-gtx-1080)|8GB GDDRX5|Pascal|2560|8.87|May 2016| 57 | |[GTX 1080 Ti](https://www.nvidia.com/en-us/geforce/products/10series/geforce-gtx-1080-ti/)|11GB GDDRX5|Pascal|3584|10.6|March 2017| 58 | |[Maxwell Titan X](http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-titan-x)|12GB GDDR5|Maxwell|3072|6.14|March 2015| 59 | 60 | 61 | ## AlexNet 62 | (input 16 x 3 x 224 x 224) 63 | 64 | We use the [BVLC AlexNet](https://github.com/BVLC/caffe/tree/master/models/bvlc_alexnet) from Caffe. 65 | 66 | AlexNet uses grouped convolutions; this was a strategy to allow model parallelism over two GTX 580 67 | GPUs, which had only 3GB of memory each. Grouped convolutions are no longer commonly used, and are 68 | not even implemented by the [torch/nn](https://github.com/torch/nn) backend; therefore we can only 69 | benchmark AlexNet using cuDNN. 70 | 71 | |GPU|cuDNN|Forward (ms)|Backward (ms)|Total (ms)| 72 | |---|---|---:|---:|---:| 73 | |GTX 1080 Ti|5.1.10|4.31|9.58|13.89| 74 | |Pascal Titan X|5.1.05|5.04|9.52|14.56| 75 | |Pascal Titan X|5.0.05|5.32|10.90|16.23| 76 | |GTX 1080|5.1.05|7.00|13.74|20.74| 77 | |Maxwell Titan X|5.1.05|7.09|14.76|21.85| 78 | |GTX 1080|5.0.05|7.35|15.73|23.08| 79 | |Maxwell Titan X|5.0.05|7.55|17.78|25.33| 80 | |Maxwell Titan X|4.0.07|8.03|17.91|25.94| 81 | 82 | 83 | ## Inception-V1 84 | (input 16 x 3 x 224 x 224) 85 | 86 | We use the Torch implementation of Inception-V1 from 87 | [soumith/inception.torch](https://github.com/soumith/inception.torch). 88 | 89 | |GPU|cuDNN|Forward (ms)|Backward (ms)|Total (ms)| 90 | |---|---|---:|---:|---:| 91 | |GTX 1080 Ti|5.1.10|11.50|25.37|36.87| 92 | |Pascal Titan X|5.1.05|12.06|27.08|39.14| 93 | |Pascal Titan X|5.0.05|11.94|28.39|40.33| 94 | |GTX 1080|5.0.05|16.08|40.08|56.16| 95 | |Maxwell Titan X|5.1.05|19.29|42.69|61.98| 96 | |Maxwell Titan X|5.0.05|19.27|46.41|65.68| 97 | |Maxwell Titan X|4.0.07|21.04|49.41|70.45| 98 | |GTX 1080 Ti|None|56.34|85.30|141.64| 99 | |Pascal Titan X|None|57.46|85.90|143.36| 100 | |GTX 1080|None|63.03|102.31|165.34| 101 | |Maxwell Titan X|None|91.31|140.81|232.12| 102 | 103 | 104 | ## VGG-16 105 | (input 16 x 3 x 224 x 224) 106 | 107 | This is Model D in [[3]](#vgg-paper) used in the ILSVRC-2014 competition, 108 | [available here](https://gist.github.com/ksimonyan/211839e770f7b538e2d8#file-readme-md). 109 | 110 | |GPU|cuDNN|Forward (ms)|Backward (ms)|Total (ms)| 111 | |---|---|---:|---:|---:| 112 | |GTX 1080 Ti|5.1.10|41.23|86.91|128.14| 113 | |Pascal Titan X|5.1.05|41.59|87.03|128.62| 114 | |Pascal Titan X|5.0.05|46.16|111.23|157.39| 115 | |GTX 1080|5.1.05|59.37|123.42|182.79| 116 | |Maxwell Titan X|5.1.05|62.30|130.48|192.78| 117 | |GTX 1080|5.0.05|67.27|166.17|233.43| 118 | |Maxwell Titan X|5.0.05|75.80|186.47|262.27| 119 | |Maxwell Titan X|4.0.07|111.99|226.69|338.69| 120 | |Pascal Titan X|None|98.15|260.38|358.53| 121 | |GTX 1080|None|143.73|379.09|522.82| 122 | |Maxwell Titan X|None|172.61|415.87|588.47| 123 | |CPU: Dual Xeon E5-2630 v3|None|3101.76|5393.72|8495.48| 124 | 125 | 126 | 127 | ## VGG-19 128 | (input 16 x 3 x 224 x 224) 129 | 130 | This is Model E in [[3]](#vgg-paper) used in the ILSVRC-2014 competition, 131 | [available here](https://gist.github.com/ksimonyan/3785162f95cd2d5fee77#file-readme-md). 132 | 133 | 134 | |GPU|cuDNN|Forward (ms)|Backward (ms)|Total (ms)| 135 | |---|---|---:|---:|---:| 136 | |Pascal Titan X|5.1.05|48.09|99.23|147.32| 137 | |GTX 1080 Ti|5.1.10|48.15|100.04|148.19| 138 | |Pascal Titan X|5.0.05|55.75|134.98|190.73| 139 | |GTX 1080|5.1.05|68.95|141.44|210.39| 140 | |Maxwell Titan X|5.1.05|73.66|151.48|225.14| 141 | |GTX 1080|5.0.05|79.79|202.02|281.81| 142 | |Maxwell Titan X|5.0.05|93.47|229.34|322.81| 143 | |Maxwell Titan X|4.0.07|139.01|279.21|418.22| 144 | |Pascal Titan X|None|121.69|318.39|440.08| 145 | |GTX 1080|None|176.36|453.22|629.57| 146 | |Maxwell Titan X|None|215.92|491.21|707.13| 147 | |CPU: Dual Xeon E5-2630 v3|None|3609.78|6239.45|9849.23| 148 | 149 | 150 | 151 | ## ResNet-18 152 | (input 16 x 3 x 224 x 224) 153 | 154 | This is the 18-layer model described in [[4]](#resnet-cvpr) and implemented in 155 | [fb.resnet.torch](https://github.com/facebook/fb.resnet.torch). 156 | 157 | |GPU|cuDNN|Forward (ms)|Backward (ms)|Total (ms)| 158 | |---|---|---:|---:|---:| 159 | |Pascal Titan X|5.1.05|10.14|21.40|31.54| 160 | |GTX 1080 Ti|5.1.10|10.45|22.34|32.78| 161 | |Pascal Titan X|5.0.05|10.06|23.08|33.13| 162 | |GTX 1080|5.1.05|14.62|29.32|43.94| 163 | |GTX 1080|5.0.05|14.84|32.68|47.52| 164 | |Maxwell Titan X|5.1.05|16.87|34.55|51.42| 165 | |Maxwell Titan X|5.0.05|17.08|37.79|54.87| 166 | |Maxwell Titan X|4.0.07|21.54|42.26|63.80| 167 | |Pascal Titan X|None|34.76|61.64|96.40| 168 | |GTX 1080 Ti|None|50.04|65.99|116.03| 169 | |GTX 1080|None|42.94|79.17|122.10| 170 | |Maxwell Titan X|None|55.82|96.01|151.82| 171 | |CPU: Dual Xeon E5-2630 v3|None|847.46|1348.33|2195.78| 172 | 173 | 174 | 175 | ## ResNet-34 176 | (input 16 x 3 x 224 x 224) 177 | 178 | This is the 34-layer model described in [[4]](#resnet-cvpr) and implemented in 179 | [fb.resnet.torch](https://github.com/facebook/fb.resnet.torch). 180 | 181 | |GPU|cuDNN|Forward (ms)|Backward (ms)|Total (ms)| 182 | |---|---|---:|---:|---:| 183 | |GTX 1080 Ti|5.1.10|16.71|34.60|51.31| 184 | |Pascal Titan X|5.1.05|17.01|34.58|51.59| 185 | |Pascal Titan X|5.0.05|16.91|38.67|55.58| 186 | |GTX 1080|5.1.05|24.50|47.59|72.09| 187 | |GTX 1080|5.0.05|24.76|55.00|79.76| 188 | |Maxwell Titan X|5.1.05|27.33|52.90|80.23| 189 | |Maxwell Titan X|5.0.05|28.79|63.19|91.98| 190 | |Maxwell Titan X|4.0.07|40.12|76.00|116.11| 191 | |Pascal Titan X|None|66.56|106.42|172.98| 192 | |GTX 1080 Ti|None|86.30|109.43|195.73| 193 | |GTX 1080|None|82.71|137.42|220.13| 194 | |Maxwell Titan X|None|108.95|166.19|275.13| 195 | |CPU: Dual Xeon E5-2630 v3|None|1530.01|2435.20|3965.21| 196 | 197 | 198 | ## ResNet-50 199 | (input 16 x 3 x 224 x 224) 200 | 201 | This is the 50-layer model described in [[4]](#resnet-cvpr) and implemented in 202 | [fb.resnet.torch](https://github.com/facebook/fb.resnet.torch). 203 | 204 | |GPU|cuDNN|Forward (ms)|Backward (ms)|Total (ms)| 205 | |---|---|---:|---:|---:| 206 | |GTX 1080 Ti|5.1.10|34.14|67.06|101.21| 207 | |Pascal Titan X|5.1.05|35.03|68.54|103.58| 208 | |Pascal Titan X|5.0.05|35.03|70.76|105.78| 209 | |GTX 1080|5.1.05|50.64|99.18|149.82| 210 | |GTX 1080|5.0.05|50.76|103.35|154.11| 211 | |Maxwell Titan X|5.1.05|55.75|103.87|159.62| 212 | |Maxwell Titan X|5.0.05|56.30|109.75|166.05| 213 | |Maxwell Titan X|4.0.07|62.03|116.81|178.84| 214 | |Pascal Titan X|None|87.62|158.96|246.58| 215 | |GTX 1080 Ti|None|99.90|177.58|277.47| 216 | |GTX 1080|None|109.79|201.40|311.18| 217 | |Maxwell Titan X|None|137.14|247.65|384.79| 218 | |CPU: Dual Xeon E5-2630 v3|None|2477.61|4149.64|6627.25| 219 | 220 | 221 | 222 | ## ResNet-101 223 | (input 16 x 3 x 224 x 224) 224 | 225 | This is the 101-layer model described in [[4]](#resnet-cvpr) and implemented in 226 | [fb.resnet.torch](https://github.com/facebook/fb.resnet.torch). 227 | 228 | |GPU|cuDNN|Forward (ms)|Backward (ms)|Total (ms)| 229 | |---|---|---:|---:|---:| 230 | |GTX 1080 Ti|5.1.10|52.18|102.08|154.26| 231 | |Pascal Titan X|5.1.05|53.38|103.06|156.44| 232 | |Pascal Titan X|5.0.05|53.28|108.20|161.48| 233 | |GTX 1080|5.1.05|77.59|148.21|225.80| 234 | |GTX 1080|5.0.05|77.39|158.19|235.58| 235 | |Maxwell Titan X|5.1.05|87.76|159.73|247.49| 236 | |Maxwell Titan X|5.0.05|88.45|172.12|260.57| 237 | |Maxwell Titan X|4.0.07|108.96|189.93|298.90| 238 | |Pascal Titan X|None|161.55|257.57|419.11| 239 | |GTX 1080 Ti|None|162.03|266.77|428.81| 240 | |GTX 1080|None|203.19|322.48|525.67| 241 | |Maxwell Titan X|None|260.48|453.45|713.93| 242 | |CPU: Dual Xeon E5-2630 v3|None|4414.91|6891.33|11306.24| 243 | 244 | 245 | 246 | ## ResNet-152 247 | (input 16 x 3 x 224 x 224) 248 | 249 | This is the 152-layer model described in [[4]](#resnet-cvpr) and implemented in 250 | [fb.resnet.torch](https://github.com/facebook/fb.resnet.torch). 251 | 252 | |GPU|cuDNN|Forward (ms)|Backward (ms)|Total (ms)| 253 | |---|---|---:|---:|---:| 254 | |GTX 1080 Ti|5.1.10|73.52|142.02|215.54| 255 | |Pascal Titan X|5.1.05|75.45|142.47|217.91| 256 | |Pascal Titan X|5.0.05|75.12|150.08|225.20| 257 | |GTX 1080|5.1.05|109.32|204.98|314.30| 258 | |GTX 1080|5.0.05|109.64|218.62|328.26| 259 | |Maxwell Titan X|5.1.05|124.04|221.41|345.45| 260 | |Maxwell Titan X|5.0.05|124.88|240.16|365.03| 261 | |Maxwell Titan X|4.0.07|150.90|268.64|419.54| 262 | |Pascal Titan X|None|238.04|371.40|609.43| 263 | |GTX 1080 Ti|None|225.36|368.42|593.79| 264 | |GTX 1080|None|299.05|461.67|760.72| 265 | |Maxwell Titan X|None|382.39|583.83|966.22| 266 | |CPU: Dual Xeon E5-2630 v3|None|6572.17|10300.61|16872.78| 267 | 268 | 269 | ## ResNet-200 270 | (input 16 x 3 x 224 x 224) 271 | 272 | This is the 200-layer model described in [[5]](#resnet-eccv) and implemented in 273 | [fb.resnet.torch](https://github.com/facebook/fb.resnet.torch). 274 | 275 | Even with a batch size of 16, the 8GB GTX 1080 did not have enough memory to run 276 | the model. 277 | 278 | |GPU|cuDNN|Forward (ms)|Backward (ms)|Total (ms)| 279 | |---|---|---:|---:|---:| 280 | |Pascal Titan X|5.1.05|104.74|191.77|296.51| 281 | |Pascal Titan X|5.0.05|104.36|201.92|306.27| 282 | |Maxwell Titan X|5.0.05|170.03|320.80|490.83| 283 | |Maxwell Titan X|5.1.05|169.62|383.80|553.42| 284 | |Maxwell Titan X|4.0.07|203.52|356.35|559.87| 285 | |Pascal Titan X|None|314.77|519.72|834.48| 286 | |Maxwell Titan X|None|497.57|953.94|1451.51| 287 | |CPU: Dual Xeon E5-2630 v3|None|8666.43|13758.73|22425.16| 288 | 289 | ## Citations 290 | 291 | 292 | [1] Alex Krizhevsky, Ilya Sutskever, and Geoffrey E. Hinton. "ImageNet Classification with Deep Convolutional Neural Networks." NIPS 2012 293 |
294 | 295 |
296 | [2] Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott Reed, 297 | Dragomir Anguelov, Dumitru Erhan, Andrew Rabinovich. 298 | "Going Deeper with Convolutions." CVPR 2015. 299 |
300 | 301 |
302 | [3] Karen Simonyan and Andrew Zisserman. "Very Deep Convolutional Networks for Large-Scale Image Recognition." ICLR 2015 303 |
304 | 305 |
306 | [4] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. "Deep Residual Learning for Image Recognition." CVPR 2016. 307 |
308 | 309 |
310 | [5] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. "Identity Mappings in Deep Residual Networks." ECCV 2016. 311 | -------------------------------------------------------------------------------- /analyze_cnn_benchmark_results.py: -------------------------------------------------------------------------------- 1 | import json, os, argparse, itertools, math 2 | from collections import defaultdict 3 | 4 | 5 | parser = argparse.ArgumentParser() 6 | parser.add_argument('--results_dir', default='outputs') 7 | parser.add_argument('--include_std', default=0) 8 | args = parser.parse_args() 9 | 10 | 11 | # Maps the cuDNN version reported by torch.cudnn to a more friendly string 12 | cudnn_map = { 13 | 5005: '5.0.05', 14 | 5105: '5.1.05', 15 | 5110: '5.1.10', 16 | 4007: '4.0.07', 17 | 'none': 'None', 18 | } 19 | 20 | # Maps the GPU name reported by the driver to a more friendly string 21 | gpu_name_map = { 22 | 'Tesla P100-SXM2-16GB': 'Tesla P100', 23 | 'TITAN X': 'Pascal Titan X', 24 | 'GeForce GTX TITAN X': 'Maxwell Titan X', 25 | 'GeForce GTX 1080': 'GTX 1080', 26 | 'GeForce GTX 1080 Ti': 'GTX 1080 Ti', 27 | 'cpu': 'CPU: Dual Xeon E5-2630 v3', 28 | } 29 | 30 | 31 | def main(args): 32 | # Load all the results 33 | results = [] 34 | for dirpath, dirnames, fns in os.walk(args.results_dir): 35 | for fn in fns: 36 | if not fn.endswith('.json'): continue 37 | with open(os.path.join(dirpath, fn), 'r') as f: 38 | results.append(json.load(f)) 39 | 40 | all_values = defaultdict(set) 41 | keyed_results = {} 42 | 43 | for result in results: 44 | gpu_name = result['gpu_name'] 45 | cudnn_version = result['cudnn_version'] 46 | model = result['opt']['model_t7'] 47 | 48 | batch_size = result['opt']['batch_size'] 49 | im_width = result['opt']['image_width'] 50 | im_height = result['opt']['image_height'] 51 | input_size = '%d x 3 x %d x %d' % (batch_size, im_height, im_width) 52 | 53 | model = os.path.splitext(os.path.basename(model))[0] 54 | keyed_results[(gpu_name, cudnn_version, model)] = result 55 | 56 | all_values['gpu_name'].add(gpu_name) 57 | all_values['cudnn_version'].add(cudnn_version) 58 | all_values['model'].add(model) 59 | all_values['input_size'].add(input_size) 60 | 61 | for k, vs in all_values.iteritems(): 62 | print k 63 | for v in vs: 64 | print ' %s' % v 65 | 66 | markdown_tables = {} 67 | 68 | for model in all_values['model']: 69 | for input_size in all_values['input_size']: 70 | table_header = '|GPU|cuDNN|Forward (ms)|Backward (ms)|Total (ms)|' 71 | table_header2 = '|---|---|---:|---:|---:|' 72 | table_lines = {} 73 | for gpu_name in all_values['gpu_name']: 74 | for cudnn_version in all_values['cudnn_version']: 75 | k = (gpu_name, cudnn_version, model) 76 | if k not in keyed_results: continue 77 | result = keyed_results[k] 78 | 79 | cudnn_str = cudnn_map[cudnn_version] 80 | cudnn_str = cudnn_map.get(cudnn_version, cudnn_version) 81 | gpu_str = gpu_name_map.get(gpu_name, gpu_name) 82 | 83 | f_mean = mean(result['forward_times']) * 1000 84 | f_std = std(result['forward_times']) * 1000 85 | b_mean = mean(result['backward_times']) * 1000 86 | b_std = std(result['backward_times']) * 1000 87 | t_mean = mean(result['total_times']) * 1000 88 | t_std = std(result['total_times']) * 1000 89 | 90 | if args.include_std == 1: 91 | f_str = '%.2f += %.2f' % (f_mean, f_std) 92 | b_str = '%.2f += %.2f' % (b_mean, b_std) 93 | t_str = '%.2f += %.2f' % (t_mean, t_std) 94 | else: 95 | f_str = '%.2f' % f_mean 96 | b_str = '%.2f' % b_mean 97 | t_str = '%.2f' % t_mean 98 | table_lines[t_mean] = '|%s|%s|%s|%s|%s|' % ( 99 | gpu_str, cudnn_str, f_str, b_str, t_str) 100 | 101 | table_lines = [table_lines[k] for k in sorted(table_lines)] 102 | table_lines = [table_header, table_header2] + table_lines 103 | model_batch_str = '%s (input %s)' % (model, input_size) 104 | markdown_tables[model_batch_str] = table_lines 105 | 106 | for model, table_lines in markdown_tables.iteritems(): 107 | print model 108 | for line in table_lines: 109 | print line 110 | print 111 | 112 | 113 | def mean(xs): 114 | return float(sum(xs)) / len(xs) 115 | 116 | 117 | def std(xs): 118 | m = mean(xs) 119 | diffs = [x - m for x in xs] 120 | var = sum(d ** 2.0 for d in diffs) / (len(xs) - 1) 121 | return math.sqrt(var) 122 | 123 | 124 | if __name__ == '__main__': 125 | args = parser.parse_args() 126 | main(args) 127 | 128 | -------------------------------------------------------------------------------- /cnn_benchmark.lua: -------------------------------------------------------------------------------- 1 | require 'torch' 2 | require 'nn' 3 | 4 | local utils = require 'utils' 5 | 6 | 7 | local cmd = torch.CmdLine() 8 | -- Model options 9 | cmd:option('-model_t7', 'models/vgg16.t7') 10 | cmd:option('-image_height', 224) 11 | cmd:option('-image_width', 224) 12 | cmd:option('-batch_size', 16) 13 | 14 | -- Benchmark options 15 | cmd:option('-num_passes', 10) 16 | 17 | -- Backend options 18 | cmd:option('-gpu', 0) 19 | cmd:option('-use_cudnn', 1) 20 | 21 | -- Output options 22 | cmd:option('-output_json', 'outputs/cnn_out.json') 23 | 24 | local opt = cmd:parse(arg) 25 | local dtype, use_cudnn, gpu_name, cudnn_version = utils.setup_gpu(opt) 26 | print('Loading model from ' .. opt.model_t7) 27 | local model = torch.load(opt.model_t7) 28 | utils.restore_gradients(model) 29 | model:training() 30 | model:type(dtype) 31 | if use_cudnn then 32 | cudnn.convert(model, cudnn) 33 | end 34 | 35 | 36 | local forward_times = {} 37 | local backward_times = {} 38 | local N, C = opt.batch_size, 3 39 | local H, W = opt.image_height, opt.image_width 40 | for t = 1, opt.num_passes + 1 do 41 | local msg = 'Running iteration %d / %d' 42 | print(string.format(msg, t - 1, opt.num_passes)) 43 | 44 | local x = torch.randn(N, C, H, W):type(dtype) 45 | utils.sync() 46 | local forward_time = utils.timeit(function() model:forward(x) end) 47 | if t > 1 then 48 | -- The first pass does not count since it will allocate 49 | -- a bunch of memory 50 | table.insert(forward_times, forward_time) 51 | end 52 | 53 | local dout = torch.randn(#model.output):type(dtype) 54 | utils.sync() 55 | local backward_time = utils.timeit(function() model:backward(x, dout) end) 56 | if t > 1 then 57 | table.insert(backward_times, backward_time) 58 | end 59 | end 60 | 61 | forward_times = torch.DoubleTensor(forward_times) 62 | backward_times = torch.DoubleTensor(backward_times) 63 | local total_times = forward_times + backward_times 64 | 65 | local msg = '%f += %f' 66 | print('Forward:') 67 | print(string.format(msg, forward_times:mean(), forward_times:std())) 68 | print('Backward:') 69 | print(string.format(msg, backward_times:mean(), backward_times:std())) 70 | print('Total:') 71 | print(string.format(msg, total_times:mean(), backward_times:std())) 72 | 73 | local json_data = { 74 | opt = opt, 75 | forward_times = forward_times:totable(), 76 | backward_times = backward_times:totable(), 77 | total_times = total_times:totable(), 78 | gpu_name = gpu_name, 79 | cudnn_version = cudnn_version, 80 | } 81 | utils.write_json(opt.output_json, json_data) 82 | -------------------------------------------------------------------------------- /convert_model.lua: -------------------------------------------------------------------------------- 1 | require 'torch' 2 | require 'cutorch' 3 | require 'nn' 4 | require 'cunn' 5 | require 'loadcaffe' 6 | require 'cudnn' 7 | local utils = require 'utils' 8 | 9 | local cmd = torch.CmdLine() 10 | cmd:option('-input_prototxt', '') 11 | cmd:option('-input_caffemodel', '') 12 | cmd:option('-input_t7', '') 13 | cmd:option('-output_t7', '') 14 | cmd:option('-backend', 'nn') 15 | cmd:option('-clear_gradients', 1) 16 | local opt = cmd:parse(arg) 17 | 18 | 19 | if (opt.input_prototxt == '') == (opt.input_t7 == '') then 20 | error('Must provide one of -input_prototxt or -input_t7') 21 | end 22 | 23 | local model = nil 24 | if opt.input_prototxt ~= '' then 25 | if opt.input_caffemodel == '' then 26 | error('Must provide both -input_prototxt and -input_caffemodel') 27 | end 28 | model = loadcaffe.load(opt.input_prototxt, opt.input_caffemodel, opt.backend) 29 | elseif opt.input_t7 then 30 | model = torch.load(opt.input_t7) 31 | end 32 | local backend_map = {nn=nn, cudnn=cudnn} 33 | cudnn.convert(model, backend_map[opt.backend]) 34 | model:float() 35 | model:clearState() 36 | if opt.clear_gradients == 1 then 37 | utils.clear_gradients(model) 38 | end 39 | torch.save(opt.output_t7, model) 40 | -------------------------------------------------------------------------------- /outputs/1080Ti/176422.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.086354970932007,0.086237192153931,0.086359977722168,0.08631706237793,0.08633017539978,0.086178064346313,0.086344957351685,0.086236953735352,0.08635401725769,0.086253881454468],"total_times":[0.19582080841064,0.19563317298889,0.19581007957458,0.1958372592926,0.19567322731018,0.19553518295288,0.19580006599426,0.19569396972656,0.19577312469482,0.19569778442383],"gpu_name":"GeForce GTX 1080 Ti","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-34.t7","batch_size":16,"output_json":"outputs\/176422.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.10946583747864,0.10939598083496,0.10945010185242,0.10952019691467,0.1093430519104,0.10935711860657,0.10945510864258,0.10945701599121,0.10941910743713,0.10944390296936]} -------------------------------------------------------------------------------- /outputs/1080Ti/430986.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.054296016693115,0.051362991333008,0.049355983734131,0.049355030059814,0.049371004104614,0.049302101135254,0.04933500289917,0.049325942993164,0.049317836761475,0.049340009689331],"total_times":[0.12485218048096,0.1182599067688,0.11456799507141,0.11465191841125,0.11467385292053,0.1145920753479,0.11471104621887,0.11469483375549,0.11458277702332,0.11469411849976],"gpu_name":"GeForce GTX 1080 Ti","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-18.t7","batch_size":16,"output_json":"outputs\/430986.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.070556163787842,0.066896915435791,0.06521201133728,0.06529688835144,0.065302848815918,0.065289974212646,0.065376043319702,0.065368890762329,0.065264940261841,0.065354108810425]} -------------------------------------------------------------------------------- /outputs/1080Ti/470497.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.225252866745,0.22533297538757,0.22540307044983,0.22533202171326,0.22530102729797,0.22519087791443,0.22543215751648,0.22517108917236,0.22553396224976,0.22567200660706],"total_times":[0.59362196922302,0.59355187416077,0.59378218650818,0.59349894523621,0.59355902671814,0.59341883659363,0.59386229515076,0.59366226196289,0.59416890144348,0.59472608566284],"gpu_name":"GeForce GTX 1080 Ti","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-152.t7","batch_size":16,"output_json":"outputs\/470497.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.36836910247803,0.36821889877319,0.36837911605835,0.36816692352295,0.36825799942017,0.3682279586792,0.36843013763428,0.36849117279053,0.36863493919373,0.36905407905579]} -------------------------------------------------------------------------------- /outputs/1080Ti/658244.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.060592174530029,0.055836915969849,0.055850982666016,0.055757999420166,0.055876970291138,0.055791139602661,0.055812120437622,0.055961132049561,0.055896043777466,0.056000947952271],"total_times":[0.14948129653931,0.14069700241089,0.14078497886658,0.14072299003601,0.14083194732666,0.14065027236938,0.14071202278137,0.14078116416931,0.14080405235291,0.14091897010803],"gpu_name":"GeForce GTX 1080 Ti","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/googlenet\/googlenet-v1.t7","batch_size":16,"output_json":"outputs\/658244.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.088889122009277,0.08486008644104,0.084933996200562,0.084964990615845,0.084954977035522,0.084859132766724,0.08489990234375,0.084820032119751,0.084908008575439,0.084918022155762]} -------------------------------------------------------------------------------- /outputs/1080Ti/881357.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.099970102310181,0.099858045578003,0.09991192817688,0.099854946136475,0.099898099899292,0.099914789199829,0.099815845489502,0.099928855895996,0.099934101104736,0.099881887435913],"total_times":[0.27745699882507,0.27743005752563,0.27746391296387,0.27747106552124,0.27745628356934,0.27745676040649,0.27734994888306,0.27755379676819,0.27751421928406,0.27759695053101],"gpu_name":"GeForce GTX 1080 Ti","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-50.t7","batch_size":16,"output_json":"outputs\/881357.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.17748689651489,0.17757201194763,0.17755198478699,0.17761611938477,0.17755818367004,0.17754197120667,0.17753410339355,0.17762494087219,0.17758011817932,0.17771506309509]} -------------------------------------------------------------------------------- /outputs/1080Ti/976860.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.16191983222961,0.16189694404602,0.16198897361755,0.16185712814331,0.16212606430054,0.16215515136719,0.16207385063171,0.16214108467102,0.16209292411804,0.16206789016724],"total_times":[0.42863988876343,0.42879796028137,0.42856597900391,0.42868494987488,0.42884206771851,0.42888307571411,0.42886877059937,0.42897605895996,0.42878389358521,0.42902398109436],"gpu_name":"GeForce GTX 1080 Ti","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-101.t7","batch_size":16,"output_json":"outputs\/976860.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.26672005653381,0.26690101623535,0.26657700538635,0.26682782173157,0.26671600341797,0.26672792434692,0.26679491996765,0.26683497428894,0.26669096946716,0.26695609092712]} -------------------------------------------------------------------------------- /outputs/1080Ti_cudnn51/101362.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.016766786575317,0.01672101020813,0.016712188720703,0.016704082489014,0.016673803329468,0.016669988632202,0.016674041748047,0.01672101020813,0.016724109649658,0.016708135604858],"total_times":[0.051314830780029,0.051314830780029,0.051308155059814,0.051275968551636,0.051265716552734,0.051270008087158,0.051245927810669,0.051337003707886,0.05138111114502,0.051389217376709],"gpu_name":"GeForce GTX 1080 Ti","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-34.t7","batch_size":16,"output_json":"outputs\/101362.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5110,"backward_times":[0.034548044204712,0.034593820571899,0.034595966339111,0.034571886062622,0.034591913223267,0.034600019454956,0.034571886062622,0.034615993499756,0.034657001495361,0.034681081771851]} -------------------------------------------------------------------------------- /outputs/1080Ti_cudnn51/202606.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.01151704788208,0.011486053466797,0.011489868164062,0.011512041091919,0.011519908905029,0.011510133743286,0.011489868164062,0.011534214019775,0.01148796081543,0.011482000350952],"total_times":[0.036847114562988,0.036838054656982,0.036854982376099,0.036893844604492,0.036871910095215,0.036896228790283,0.036840677261353,0.036945104598999,0.036904096603394,0.036794900894165],"gpu_name":"GeForce GTX 1080 Ti","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/googlenet\/googlenet-v1.t7","batch_size":16,"output_json":"outputs\/202606.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5110,"backward_times":[0.025330066680908,0.025352001190186,0.025365114212036,0.025381803512573,0.025352001190186,0.025386095046997,0.02535080909729,0.025410890579224,0.025416135787964,0.025312900543213]} -------------------------------------------------------------------------------- /outputs/1080Ti_cudnn51/267406.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.051956176757812,0.052039861679077,0.051841020584106,0.052735805511475,0.052240133285522,0.052021026611328,0.052228927612305,0.052032947540283,0.052020072937012,0.052650928497314],"total_times":[0.15399312973022,0.15420699119568,0.15388607978821,0.15526175498962,0.15448808670044,0.15348505973816,0.15406894683838,0.15435385704041,0.15413999557495,0.15469598770142],"gpu_name":"GeForce GTX 1080 Ti","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-101.t7","batch_size":16,"output_json":"outputs\/267406.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5110,"backward_times":[0.10203695297241,0.1021671295166,0.1020450592041,0.10252594947815,0.10224795341492,0.10146403312683,0.10184001922607,0.10232090950012,0.10211992263794,0.1020450592041]} -------------------------------------------------------------------------------- /outputs/1080Ti_cudnn51/311738.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.034102916717529,0.034085988998413,0.034359931945801,0.034178972244263,0.034080982208252,0.034036159515381,0.034296989440918,0.03400707244873,0.034051895141602,0.034245014190674],"total_times":[0.10106372833252,0.1010639667511,0.1016149520874,0.10123014450073,0.10102009773254,0.10113525390625,0.10154700279236,0.1010160446167,0.10103297233582,0.10135793685913],"gpu_name":"GeForce GTX 1080 Ti","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-50.t7","batch_size":16,"output_json":"outputs\/311738.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5110,"backward_times":[0.06696081161499,0.066977977752686,0.067255020141602,0.06705117225647,0.066939115524292,0.067099094390869,0.06725001335144,0.067008972167969,0.066981077194214,0.067112922668457]} -------------------------------------------------------------------------------- /outputs/1080Ti_cudnn51/453685.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.0043320655822754,0.004302978515625,0.0043110847473145,0.0043001174926758,0.004302978515625,0.004288911819458,0.0043439865112305,0.0042991638183594,0.0043160915374756,0.0043010711669922],"total_times":[0.013919115066528,0.013903856277466,0.013913154602051,0.013905048370361,0.01386284828186,0.013881921768188,0.013935089111328,0.01383900642395,0.013842105865479,0.013866186141968],"gpu_name":"GeForce GTX 1080 Ti","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/alexnet\/alexnet.t7","batch_size":16,"output_json":"outputs\/453685.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5110,"backward_times":[0.0095870494842529,0.0096008777618408,0.0096020698547363,0.0096049308776855,0.0095598697662354,0.0095930099487305,0.0095911026000977,0.0095398426055908,0.0095260143280029,0.0095651149749756]} -------------------------------------------------------------------------------- /outputs/1080Ti_cudnn51/474549.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.048383951187134,0.048374176025391,0.047837972640991,0.048022031784058,0.048382997512817,0.047585010528564,0.048363924026489,0.04806113243103,0.048012018203735,0.048466920852661],"total_times":[0.14878582954407,0.14825105667114,0.14746594429016,0.14784598350525,0.14818692207336,0.14785218238831,0.14815306663513,0.14759206771851,0.14925718307495,0.14854884147644],"gpu_name":"GeForce GTX 1080 Ti","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg19\/vgg19.t7","batch_size":16,"output_json":"outputs\/474549.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5110,"backward_times":[0.10040187835693,0.099876880645752,0.09962797164917,0.099823951721191,0.099803924560547,0.10026717185974,0.099789142608643,0.099530935287476,0.10124516487122,0.10008192062378]} -------------------------------------------------------------------------------- /outputs/1080Ti_cudnn51/644777.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.04127311706543,0.041455984115601,0.040868043899536,0.041270017623901,0.041102886199951,0.040948152542114,0.04141092300415,0.041486024856567,0.041242837905884,0.041249990463257],"total_times":[0.1279182434082,0.12878012657166,0.12748599052429,0.12836217880249,0.128173828125,0.1276261806488,0.12870287895203,0.12852501869202,0.12781977653503,0.128005027771],"gpu_name":"GeForce GTX 1080 Ti","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg16\/vgg16.t7","batch_size":16,"output_json":"outputs\/644777.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5110,"backward_times":[0.086645126342773,0.087324142456055,0.086617946624756,0.087092161178589,0.087070941925049,0.086678028106689,0.087291955947876,0.087038993835449,0.08657693862915,0.086755037307739]} -------------------------------------------------------------------------------- /outputs/1080Ti_cudnn51/677177.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.01045298576355,0.010446071624756,0.010442018508911,0.010453939437866,0.010429859161377,0.010454177856445,0.010457038879395,0.010434865951538,0.010445833206177,0.010446071624756],"total_times":[0.032816886901855,0.032822132110596,0.032710075378418,0.032837867736816,0.032790899276733,0.032777309417725,0.032783985137939,0.032769918441772,0.032773971557617,0.032746076583862],"gpu_name":"GeForce GTX 1080 Ti","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-18.t7","batch_size":16,"output_json":"outputs\/677177.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5110,"backward_times":[0.022363901138306,0.02237606048584,0.022268056869507,0.02238392829895,0.022361040115356,0.022323131561279,0.022326946258545,0.022335052490234,0.02232813835144,0.022300004959106]} -------------------------------------------------------------------------------- /outputs/1080Ti_cudnn51/957923.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.073378086090088,0.073380947113037,0.073487043380737,0.073678970336914,0.073410987854004,0.073491096496582,0.073576927185059,0.07339882850647,0.073568820953369,0.073808908462524],"total_times":[0.21516895294189,0.21572995185852,0.21509194374084,0.2161180973053,0.21574592590332,0.21499490737915,0.21540904045105,0.21572589874268,0.21498894691467,0.21642899513245],"gpu_name":"GeForce GTX 1080 Ti","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-152.t7","batch_size":16,"output_json":"outputs\/957923.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5110,"backward_times":[0.14179086685181,0.14234900474548,0.14160490036011,0.14243912696838,0.14233493804932,0.14150381088257,0.14183211326599,0.14232707023621,0.1414201259613,0.14262008666992]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/11393.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.077425956726074,0.077260971069336,0.077452898025513,0.077349901199341,0.077378988265991,0.077949047088623,0.077265024185181,0.077278137207031,0.077279090881348,0.077285051345825],"total_times":[0.23594498634338,0.23570990562439,0.23546481132507,0.23547697067261,0.2356870174408,0.23615288734436,0.23556518554688,0.23518419265747,0.23542904853821,0.23520803451538],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-101.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/11393.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.15851902961731,0.15844893455505,0.15801191329956,0.15812706947327,0.1583080291748,0.15820384025574,0.15830016136169,0.15790605545044,0.15814995765686,0.15792298316956]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/234830.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.17724394798279,0.17693090438843,0.17503809928894,0.17646408081055,0.17624807357788,0.17682504653931,0.17720293998718,0.17598605155945,0.1757709980011,0.17584300041199],"total_times":[0.62906074523926,0.63004779815674,0.62727618217468,0.62889099121094,0.62946009635925,0.63137817382812,0.6316249370575,0.62920904159546,0.62930488586426,0.62947201728821],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg19\/vgg19.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/234830.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.45181679725647,0.45311689376831,0.45223808288574,0.45242691040039,0.45321202278137,0.45455312728882,0.45442199707031,0.45322299003601,0.45353388786316,0.45362901687622]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/243870.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.29857516288757,0.29859185218811,0.29855799674988,0.29853296279907,0.29865598678589,0.29858303070068,0.29893898963928,0.30051708221436,0.30008006095886,0.3002290725708],"total_times":[0.75833630561829,0.75837874412537,0.75813484191895,0.7583110332489,0.75837588310242,0.75847816467285,0.76034116744995,0.76422214508057,0.76198506355286,0.76223492622375],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-152.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/243870.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.45976114273071,0.45978689193726,0.45957684516907,0.45977807044983,0.45971989631653,0.45989513397217,0.46140217781067,0.46370506286621,0.46190500259399,0.46200585365295]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/327519.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.016136169433594,0.016080856323242,0.016127824783325,0.016132116317749,0.016144990921021,0.016145944595337,0.016106128692627,0.016119956970215,0.016052007675171,0.016119003295898],"total_times":[0.055525302886963,0.055458784103394,0.055590867996216,0.055541038513184,0.055613040924072,0.055677890777588,0.055573225021362,0.055562019348145,0.055528163909912,0.055651187896729],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/googlenet\/googlenet-v1.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/327519.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.039389133453369,0.039377927780151,0.039463043212891,0.039408922195435,0.039468050003052,0.039531946182251,0.039467096328735,0.03944206237793,0.039476156234741,0.03953218460083]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/422317.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.016088008880615,0.016026973724365,0.016098022460938,0.016077995300293,0.016095876693726,0.016057968139648,0.016110897064209,0.01609992980957,0.016071081161499,0.016091108322144],"total_times":[0.056127071380615,0.056030988693237,0.056237936019897,0.056159019470215,0.056218862533569,0.056006908416748,0.056221008300781,0.056179046630859,0.056180238723755,0.056282043457031],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/googlenet\/googlenet-v1.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/422317.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.0400390625,0.040004014968872,0.04013991355896,0.040081024169922,0.040122985839844,0.0399489402771,0.040110111236572,0.040079116821289,0.040109157562256,0.040190935134888]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/443109.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.043971061706543,0.042785882949829,0.042822122573853,0.042793035507202,0.042825937271118,0.042876958847046,0.042819023132324,0.042807102203369,0.042834043502808,0.04282808303833],"total_times":[0.12515807151794,0.12172174453735,0.12162208557129,0.12175512313843,0.12179708480835,0.12178993225098,0.12178301811218,0.12180519104004,0.12179398536682,0.12178707122803],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-18.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/443109.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.081187009811401,0.078935861587524,0.078799962997437,0.078962087631226,0.078971147537231,0.078912973403931,0.078963994979858,0.07899808883667,0.078959941864014,0.078958988189697]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/46471.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.024577140808105,0.02494215965271,0.024515867233276,0.025130033493042,0.024603843688965,0.024940013885498,0.02463698387146,0.02462100982666,0.02505898475647,0.024552822113037],"total_times":[0.079280138015747,0.080413103103638,0.0793137550354,0.080923080444336,0.079164981842041,0.080187082290649,0.079302072525024,0.079319000244141,0.080412149429321,0.079250812530518],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-34.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/46471.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.054702997207642,0.055470943450928,0.054797887802124,0.055793046951294,0.054561138153076,0.055247068405151,0.054665088653564,0.05469799041748,0.055353164672852,0.05469799041748]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/470467.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.070575952529907,0.065871000289917,0.067402124404907,0.066189050674438,0.066557884216309,0.068210124969482,0.066219091415405,0.067373037338257,0.068229913711548,0.066050052642822],"total_times":[0.23429298400879,0.23354911804199,0.23272919654846,0.2317111492157,0.23371076583862,0.23402333259583,0.23241329193115,0.23387098312378,0.23264694213867,0.23538899421692],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg16\/vgg16.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/470467.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.16371703147888,0.16767811775208,0.16532707214355,0.16552209854126,0.16715288162231,0.16581320762634,0.16619420051575,0.16649794578552,0.16441702842712,0.1693389415741]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/473403.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.064876079559326,0.063004016876221,0.062947034835815,0.062889814376831,0.06299090385437,0.062793016433716,0.062977075576782,0.062916040420532,0.062842130661011,0.062926054000854],"total_times":[0.16966223716736,0.16476011276245,0.16477918624878,0.16483569145203,0.16487002372742,0.16470694541931,0.16491913795471,0.16474103927612,0.16476011276245,0.16478514671326],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/googlenet\/googlenet-v1.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/473403.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.10478615760803,0.10175609588623,0.10183215141296,0.1019458770752,0.10187911987305,0.1019139289856,0.10194206237793,0.10182499885559,0.10191798210144,0.1018590927124]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/511688.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.10931992530823,0.11036491394043,0.10965204238892,0.1098780632019,0.10928297042847,0.10947918891907,0.10945510864258,0.10955190658569,0.10957980155945,0.10982990264893],"total_times":[0.32781505584717,0.3293399810791,0.32841992378235,0.32835221290588,0.32786202430725,0.32812905311584,0.32770991325378,0.32867908477783,0.32792186737061,0.32838177680969],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-152.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/511688.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.21849513053894,0.21897506713867,0.21876788139343,0.21847414970398,0.21857905387878,0.21864986419678,0.21825480461121,0.21912717819214,0.21834206581116,0.21855187416077]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/533635.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.20264220237732,0.20257878303528,0.20257687568665,0.20267796516418,0.20251893997192,0.20255708694458,0.20257902145386,0.20322585105896,0.2030918598175,0.20358395576477],"total_times":[0.52281212806702,0.52253770828247,0.52265191078186,0.52277493476868,0.52269792556763,0.52255606651306,0.52319812774658,0.52420973777771,0.52428889274597,0.52494382858276],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-101.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/533635.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.3201699256897,0.31995892524719,0.32007503509521,0.32009696960449,0.3201789855957,0.31999897956848,0.32061910629272,0.32098388671875,0.32119703292847,0.32135987281799]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/561535.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.082625150680542,0.082667112350464,0.082664966583252,0.082636117935181,0.082648038864136,0.082612037658691,0.08272910118103,0.082842111587524,0.082836151123047,0.082859039306641],"total_times":[0.21996903419495,0.22003626823425,0.21993589401245,0.2199821472168,0.22001504898071,0.21995520591736,0.22000098228455,0.22055125236511,0.22050309181213,0.22037601470947],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-34.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/561535.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.1373438835144,0.13736915588379,0.1372709274292,0.13734602928162,0.13736701011658,0.13734316825867,0.13727188110352,0.13770914077759,0.13766694068909,0.13751697540283]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/592844.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.07987380027771,0.079898834228516,0.079260110855103,0.081182956695557,0.079497098922729,0.080402851104736,0.081374883651733,0.080690860748291,0.079421997070312,0.081096172332764],"total_times":[0.28034400939941,0.28371787071228,0.28498506546021,0.28100681304932,0.28246212005615,0.28732490539551,0.28101682662964,0.28456282615662,0.28477597236633,0.27999210357666],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg19\/vgg19.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/592844.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.2004702091217,0.20381903648376,0.2057249546051,0.19982385635376,0.20296502113342,0.20692205429077,0.19964194297791,0.20387196540833,0.20535397529602,0.1988959312439]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/593930.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.14370703697205,0.1432089805603,0.14377498626709,0.14374113082886,0.14328193664551,0.14366888999939,0.1445300579071,0.14335513114929,0.14455509185791,0.14348196983337],"total_times":[0.5231990814209,0.52361106872559,0.52293086051941,0.52354431152344,0.52189898490906,0.52182388305664,0.52339792251587,0.52103114128113,0.52312302589417,0.52362489700317],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg16\/vgg16.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/593930.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.37949204444885,0.38040208816528,0.37915587425232,0.37980318069458,0.37861704826355,0.37815499305725,0.37886786460876,0.37767601013184,0.37856793403625,0.3801429271698]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/595867.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.20312786102295,0.20312809944153,0.20313000679016,0.20324921607971,0.20316910743713,0.20318484306335,0.20319294929504,0.20317697525024,0.20318603515625,0.20339798927307],"total_times":[0.52559375762939,0.52554416656494,0.52550888061523,0.52570343017578,0.52559804916382,0.52548980712891,0.52564287185669,0.52563214302063,0.5260112285614,0.52597284317017],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-101.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/595867.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.32246589660645,0.32241606712341,0.32237887382507,0.32245421409607,0.32242894172668,0.32230496406555,0.32244992256165,0.32245516777039,0.32282519340515,0.32257485389709]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/601028.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.29862189292908,0.29856514930725,0.29859495162964,0.29862213134766,0.29858493804932,0.29871606826782,0.29885101318359,0.30130410194397,0.29934287071228,0.29932618141174],"total_times":[0.7595739364624,0.75963234901428,0.75975489616394,0.75959634780884,0.75945997238159,0.75972509384155,0.76121807098389,0.76561307907104,0.76144790649414,0.76122617721558],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-152.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/601028.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.46095204353333,0.46106719970703,0.4611599445343,0.46097421646118,0.46087503433228,0.46100902557373,0.46236705780029,0.46430897712708,0.46210503578186,0.46189999580383]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/638525.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.050679922103882,0.050763845443726,0.050717115402222,0.050786018371582,0.050662040710449,0.050988912582397,0.050745964050293,0.050795078277588,0.050693988800049,0.050751924514771],"total_times":[0.15395903587341,0.15399074554443,0.15410017967224,0.15403318405151,0.15405011177063,0.15439581871033,0.15419912338257,0.15412020683289,0.15417003631592,0.15406513214111],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-50.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/638525.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.10327911376953,0.10322690010071,0.10338306427002,0.10324716567993,0.10338807106018,0.10340690612793,0.10345315933228,0.1033251285553,0.10347604751587,0.10331320762634]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/640169.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.10989499092102,0.10970592498779,0.10982608795166,0.10976910591125,0.10979104042053,0.1098198890686,0.10972595214844,0.10982990264893,0.10976696014404,0.10973000526428],"total_times":[0.31119704246521,0.31104183197021,0.31125712394714,0.31117820739746,0.3111469745636,0.31118583679199,0.31112194061279,0.31132078170776,0.31124186515808,0.31113886833191],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-50.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/640169.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.20130205154419,0.20133590698242,0.20143103599548,0.20140910148621,0.20135593414307,0.20136594772339,0.20139598846436,0.20149087905884,0.20147490501404,0.20140886306763]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/670759.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.043607950210571,0.042827844619751,0.04276704788208,0.042820930480957,0.04277515411377,0.042824983596802,0.042786836624146,0.042820930480957,0.042834997177124,0.042840957641602],"total_times":[0.12453985214233,0.12190294265747,0.12188410758972,0.1220817565918,0.12175226211548,0.12190890312195,0.12174367904663,0.1219379901886,0.12184500694275,0.12198090553284],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-18.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/670759.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.080931901931763,0.07907509803772,0.079117059707642,0.07926082611084,0.078977108001709,0.079083919525146,0.078956842422485,0.079117059707642,0.079010009765625,0.079139947891235]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/745969.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.067376852035522,0.068562984466553,0.066403865814209,0.067317962646484,0.066973924636841,0.067239999771118,0.067241907119751,0.066118955612183,0.067918062210083,0.065818071365356],"total_times":[0.23492980003357,0.23313903808594,0.23730087280273,0.23384213447571,0.23676872253418,0.23471188545227,0.23368096351624,0.23514699935913,0.23539090156555,0.23400402069092],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg16\/vgg16.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/745969.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.16755294799805,0.16457605361938,0.17089700698853,0.16652417182922,0.16979479789734,0.16747188568115,0.16643905639648,0.16902804374695,0.16747283935547,0.16818594932556]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/882582.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.064717054367065,0.062875032424927,0.062897920608521,0.062871932983398,0.062832117080688,0.062833070755005,0.062838077545166,0.062841892242432,0.06286883354187,0.062680959701538],"total_times":[0.16890382766724,0.16497397422791,0.16495084762573,0.16498899459839,0.16491723060608,0.16496920585632,0.16494011878967,0.16499185562134,0.1650059223175,0.16475296020508],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/googlenet\/googlenet-v1.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/882582.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.10418677330017,0.10209894180298,0.10205292701721,0.10211706161499,0.10208511352539,0.10213613510132,0.10210204124451,0.10214996337891,0.10213708877563,0.10207200050354]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/898191.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.17502403259277,0.17546391487122,0.17645883560181,0.17629504203796,0.17503786087036,0.17812585830688,0.17639589309692,0.17729687690735,0.17549896240234,0.17702102661133],"total_times":[0.6283221244812,0.62692379951477,0.63123488426208,0.63019394874573,0.62820672988892,0.63028287887573,0.63080596923828,0.63132691383362,0.62927484512329,0.631187915802],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg19\/vgg19.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/898191.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.45329809188843,0.45145988464355,0.45477604866028,0.45389890670776,0.45316886901855,0.45215702056885,0.45441007614136,0.45403003692627,0.45377588272095,0.45416688919067]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/899060.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.085300922393799,0.083348035812378,0.083286046981812,0.083345890045166,0.083340167999268,0.083315849304199,0.083307981491089,0.083398103713989,0.083299875259399,0.083325147628784],"total_times":[0.22361779212952,0.22037220001221,0.2202479839325,0.22032999992371,0.22040414810181,0.22026801109314,0.22046780586243,0.22077608108521,0.22049689292908,0.22031307220459],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-34.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/899060.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.13831686973572,0.13702416419983,0.13696193695068,0.13698410987854,0.13706398010254,0.13695216178894,0.13715982437134,0.13737797737122,0.13719701766968,0.13698792457581]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/926972.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.07905101776123,0.078366041183472,0.080291032791138,0.079352855682373,0.079332828521729,0.081231117248535,0.078964948654175,0.079360008239746,0.08284592628479,0.079105138778687],"total_times":[0.27973389625549,0.28271293640137,0.27830624580383,0.28322672843933,0.28189468383789,0.2808690071106,0.28216791152954,0.28453898429871,0.28211402893066,0.28249526023865],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg19\/vgg19.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/926972.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.20068287849426,0.2043468952179,0.1980152130127,0.20387387275696,0.20256185531616,0.19963788986206,0.20320296287537,0.20517897605896,0.19926810264587,0.20339012145996]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/934124.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.10923790931702,0.10916209220886,0.10917210578918,0.10917282104492,0.10924315452576,0.10923099517822,0.10916185379028,0.10922002792358,0.10919117927551,0.10919690132141],"total_times":[0.30962109565735,0.30954098701477,0.30952620506287,0.30964994430542,0.30964112281799,0.30965304374695,0.30945491790771,0.3096170425415,0.30962109565735,0.30953884124756],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-50.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/934124.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.20038318634033,0.20037889480591,0.20035409927368,0.2004771232605,0.20039796829224,0.20042204856873,0.20029306411743,0.20039701461792,0.20042991638184,0.20034193992615]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/934144.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.0073750019073486,0.0073680877685547,0.0073418617248535,0.007328987121582,0.0073268413543701,0.0075309276580811,0.0073440074920654,0.0073418617248535,0.0073568820953369,0.0073368549346924],"total_times":[0.023230075836182,0.02314019203186,0.023140668869019,0.023199081420898,0.023164749145508,0.023345947265625,0.023072957992554,0.023075819015503,0.023119926452637,0.023130893707275],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/alexnet\/alexnet.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/934144.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.015855073928833,0.015772104263306,0.015798807144165,0.015870094299316,0.015837907791138,0.015815019607544,0.015728950500488,0.015733957290649,0.0157630443573,0.015794038772583]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/94136.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.0073709487915039,0.0073487758636475,0.0075380802154541,0.0072979927062988,0.0073559284210205,0.0073118209838867,0.0073428153991699,0.0073168277740479,0.0073258876800537,0.0073130130767822],"total_times":[0.023139953613281,0.023091793060303,0.023257970809937,0.023072957992554,0.02308201789856,0.023025751113892,0.023019790649414,0.023082733154297,0.023036956787109,0.023025035858154],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/alexnet\/alexnet.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/94136.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.015769004821777,0.015743017196655,0.015719890594482,0.015774965286255,0.015726089477539,0.015713930130005,0.015676975250244,0.015765905380249,0.015711069107056,0.015712022781372]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/957290.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.014739036560059,0.01478385925293,0.014835119247437,0.014824867248535,0.014806985855103,0.015118837356567,0.014835834503174,0.01484489440918,0.014812231063843,0.01482105255127],"total_times":[0.047111034393311,0.047497034072876,0.047511100769043,0.04745888710022,0.047423124313354,0.047911882400513,0.047563791275024,0.047597885131836,0.047589063644409,0.047532081604004],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-18.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/957290.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.032371997833252,0.032713174819946,0.032675981521606,0.032634019851685,0.032616138458252,0.032793045043945,0.032727956771851,0.032752990722656,0.032776832580566,0.032711029052734]} -------------------------------------------------------------------------------- /outputs/1080_cudnn50/988163.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.14339709281921,0.14302015304565,0.14322209358215,0.14329290390015,0.14498519897461,0.14334011077881,0.14328098297119,0.14286780357361,0.14368295669556,0.14351415634155],"total_times":[0.52369213104248,0.52183222770691,0.52114915847778,0.52280497550964,0.52625608444214,0.52156519889832,0.52240109443665,0.5201997756958,0.52080297470093,0.52356934547424],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg16\/vgg16.t7","batch_size":16,"output_json":"outputs\/1080_cudnn50\/988163.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.38029503822327,0.37881207466125,0.37792706489563,0.3795120716095,0.38127088546753,0.37822508811951,0.37912011146545,0.37733197212219,0.37712001800537,0.38005518913269]} -------------------------------------------------------------------------------- /outputs/1080_cudnn51/179512.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.077332973480225,0.077404975891113,0.077962160110474,0.077317953109741,0.077433109283447,0.077953100204468,0.077365159988403,0.077394008636475,0.078320980072021,0.077384948730469],"total_times":[0.22550702095032,0.22570896148682,0.22621297836304,0.22560596466064,0.22565913200378,0.22630715370178,0.22517919540405,0.22571301460266,0.22664213180542,0.22544002532959],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-101.t7","batch_size":16,"output_json":"outputs\/cudnn5_1\/179512.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.14817404747009,0.1483039855957,0.14825081825256,0.1482880115509,0.14822602272034,0.14835405349731,0.14781403541565,0.14831900596619,0.1483211517334,0.14805507659912]} -------------------------------------------------------------------------------- /outputs/1080_cudnn51/325985.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.06895899772644,0.068886041641235,0.068748950958252,0.069288969039917,0.069133996963501,0.068866014480591,0.069229125976562,0.068763017654419,0.068692207336426,0.068907976150513],"total_times":[0.210618019104,0.21007513999939,0.2096049785614,0.2106819152832,0.21082401275635,0.21090006828308,0.21047520637512,0.21031713485718,0.21066832542419,0.20973706245422],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg19\/vgg19.t7","batch_size":16,"output_json":"outputs\/cudnn5_1\/325985.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.14165902137756,0.14118909835815,0.14085602760315,0.14139294624329,0.14169001579285,0.14203405380249,0.14124608039856,0.14155411720276,0.14197611808777,0.14082908630371]} -------------------------------------------------------------------------------- /outputs/1080_cudnn51/432032.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.10915303230286,0.10940289497375,0.10945701599121,0.10940909385681,0.10926508903503,0.10933685302734,0.10906410217285,0.10941100120544,0.10930585861206,0.10943818092346],"total_times":[0.31418085098267,0.31378674507141,0.31432485580444,0.31418704986572,0.31419515609741,0.31446099281311,0.31377720832825,0.31427884101868,0.31459784507751,0.31522703170776],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-152.t7","batch_size":16,"output_json":"outputs\/cudnn5_1\/432032.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.20502781867981,0.20438385009766,0.20486783981323,0.20477795600891,0.20493006706238,0.20512413978577,0.2047131061554,0.20486783981323,0.20529198646545,0.2057888507843]} -------------------------------------------------------------------------------- /outputs/1080_cudnn51/510304.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.059184074401855,0.059420108795166,0.059203863143921,0.059593915939331,0.059697866439819,0.059313058853149,0.059489011764526,0.059478998184204,0.059010028839111,0.059273958206177],"total_times":[0.18247008323669,0.18347406387329,0.18289494514465,0.18326902389526,0.18329095840454,0.18249702453613,0.18276000022888,0.1828019618988,0.18219208717346,0.18225193023682],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg16\/vgg16.t7","batch_size":16,"output_json":"outputs\/cudnn5_1\/510304.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.12328600883484,0.12405395507812,0.12369108200073,0.12367510795593,0.12359309196472,0.12318396568298,0.12327098846436,0.1233229637146,0.12318205833435,0.12297797203064]} -------------------------------------------------------------------------------- /outputs/1080_cudnn51/598494.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.05049991607666,0.050624132156372,0.050621032714844,0.050662040710449,0.050640106201172,0.050509214401245,0.050666093826294,0.050738096237183,0.050500869750977,0.05095100402832],"total_times":[0.14985585212708,0.14980316162109,0.15022492408752,0.14968085289001,0.14992499351501,0.14957928657532,0.14996123313904,0.14969611167908,0.14935970306396,0.15014982223511],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-50.t7","batch_size":16,"output_json":"outputs\/cudnn5_1\/598494.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.099355936050415,0.099179029464722,0.099603891372681,0.099018812179565,0.099284887313843,0.099070072174072,0.099295139312744,0.098958015441895,0.098858833312988,0.099198818206787]} -------------------------------------------------------------------------------- /outputs/1080_cudnn51/624722.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.024678945541382,0.02449893951416,0.024466991424561,0.024465084075928,0.024478912353516,0.024460077285767,0.024479150772095,0.024466991424561,0.024484872817993,0.024516105651855],"total_times":[0.072512149810791,0.072065114974976,0.071939945220947,0.071929216384888,0.072149038314819,0.071959018707275,0.07213306427002,0.071957111358643,0.072054862976074,0.072159051895142],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-34.t7","batch_size":16,"output_json":"outputs\/cudnn5_1\/624722.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.047833204269409,0.047566175460815,0.047472953796387,0.04746413230896,0.047670125961304,0.047498941421509,0.047653913497925,0.047490119934082,0.047569990158081,0.047642946243286]} -------------------------------------------------------------------------------- /outputs/1080_cudnn51/784576.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.0082290172576904,0.00685715675354,0.0068531036376953,0.00685715675354,0.0068390369415283,0.0068488121032715,0.006868839263916,0.0068619251251221,0.0068769454956055,0.0068709850311279],"total_times":[0.022013902664185,0.020576000213623,0.020595073699951,0.02064037322998,0.020556926727295,0.020555734634399,0.020620822906494,0.020595788955688,0.020606756210327,0.020621061325073],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/alexnet\/alexnet.t7","batch_size":16,"output_json":"outputs\/cudnn5_1\/784576.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.013784885406494,0.013718843460083,0.013741970062256,0.01378321647644,0.013717889785767,0.013706922531128,0.013751983642578,0.013733863830566,0.013729810714722,0.013750076293945]} -------------------------------------------------------------------------------- /outputs/1080_cudnn51/805366.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.014741182327271,0.014675140380859,0.014544010162354,0.014577150344849,0.014605045318604,0.014583110809326,0.014769792556763,0.014559030532837,0.014594078063965,0.014600992202759],"total_times":[0.044004201889038,0.04395318031311,0.043877840042114,0.043857336044312,0.043908834457397,0.043998241424561,0.04407787322998,0.043883085250854,0.043895959854126,0.043967008590698],"gpu_name":"GeForce GTX 1080","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-18.t7","batch_size":16,"output_json":"outputs\/cudnn5_1\/805366.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.029263019561768,0.029278039932251,0.029333829879761,0.029280185699463,0.029303789138794,0.029415130615234,0.029308080673218,0.029324054718018,0.029301881790161,0.029366016387939]} -------------------------------------------------------------------------------- /outputs/cpu/189638.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[4.5115418434143,4.4719271659851,4.3496341705322,4.3128459453583,4.3105869293213,4.3044588565826,4.5823791027069,4.4983699321747,4.3999729156494,4.407399892807],"total_times":[12.151455879211,11.376809120178,11.32235121727,11.179378032684,11.280671834946,10.796122789383,11.367215156555,11.293115854263,11.381068944931,10.91425204277],"gpu_name":"cpu","opt":{"gpu":-1,"num_passes":10,"model_t7":"models\/resnets\/resnet-101.t7","batch_size":16,"output_json":"outputs\/cnn\/189638.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[7.6399140357971,6.9048819541931,6.9727170467377,6.866532087326,6.9700849056244,6.4916639328003,6.7848360538483,6.7947459220886,6.9810960292816,6.5068521499634]} -------------------------------------------------------------------------------- /outputs/cpu/308550.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[6.4544751644135,6.2612969875336,6.6978499889374,6.1568460464478,6.3118090629578,8.1243062019348,6.9445519447327,6.3483290672302,6.0745170116425,6.3476991653442],"total_times":[17.478899002075,16.210010051727,16.982928991318,16.459277153015,16.499684095383,19.295632123947,17.322638988495,16.27032995224,16.049504995346,16.158919334412],"gpu_name":"cpu","opt":{"gpu":-1,"num_passes":10,"model_t7":"models\/resnets\/resnet-152.t7","batch_size":16,"output_json":"outputs\/cnn\/308550.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[11.024423837662,9.9487130641937,10.28507900238,10.302431106567,10.187875032425,11.171325922012,10.378087043762,9.9220008850098,9.9749879837036,9.8112201690674]} -------------------------------------------------------------------------------- /outputs/cpu/378556.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.83904600143433,0.940584897995,0.82516098022461,0.84404015541077,0.8471360206604,0.86839604377747,0.81514000892639,0.86037802696228,0.89823698997498,0.85892605781555],"total_times":[2.4644100666046,2.2733447551727,2.1202788352966,2.1985993385315,2.0752959251404,2.2353498935699,2.0812339782715,2.2482750415802,2.2502200603485,2.2530620098114],"gpu_name":"cpu","opt":{"gpu":-1,"num_passes":10,"model_t7":"models\/resnets\/resnet-18.t7","batch_size":16,"output_json":"outputs\/cnn\/378556.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[1.6253640651703,1.3327598571777,1.295117855072,1.3545591831207,1.22815990448,1.3669538497925,1.2660939693451,1.3878970146179,1.3519830703735,1.3941359519958]} -------------------------------------------------------------------------------- /outputs/cpu/541076.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[8.5546059608459,8.6501078605652,8.6518950462341,8.7343499660492,8.8685200214386,8.478346824646,8.6801481246948,8.7174208164215,8.6634721755981,8.6654789447784],"total_times":[23.999311923981,22.153110742569,22.176589250565,22.04691696167,22.687892913818,22.366650819778,22.276194095612,22.423352956772,22.162552118301,21.959026098251],"gpu_name":"cpu","opt":{"gpu":-1,"num_passes":10,"model_t7":"models\/resnets\/resnet-200.t7","batch_size":16,"output_json":"outputs\/cnn\/541076.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[15.444705963135,13.503002882004,13.52469420433,13.312566995621,13.81937289238,13.888303995132,13.596045970917,13.70593214035,13.499079942703,13.293547153473]} -------------------------------------------------------------------------------- /outputs/cpu/629699.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.84648704528809,0.88188290596008,0.90621089935303,0.85881209373474,0.84328508377075,0.8505117893219,0.86072182655334,0.80198788642883,0.82003593444824,0.80463409423828],"total_times":[2.0607688426971,2.4218440055847,2.2795307636261,2.1283881664276,2.1824700832367,2.2647097110748,2.2156159877777,2.0155889987946,2.2943978309631,2.0945162773132],"gpu_name":"cpu","opt":{"gpu":-1,"num_passes":10,"model_t7":"models\/resnets\/resnet-18.t7","batch_size":16,"output_json":"outputs\/cnn\/629699.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[1.2142817974091,1.5399610996246,1.3733198642731,1.2695760726929,1.3391849994659,1.4141979217529,1.3548941612244,1.2136011123657,1.4743618965149,1.289882183075]} -------------------------------------------------------------------------------- /outputs/cpu/655060.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[2.6018660068512,2.533637046814,2.5088820457458,2.4292738437653,2.4278509616852,2.4205689430237,2.4567048549652,2.554753780365,2.4468309879303,2.3957130908966],"total_times":[7.5227129459381,6.269688129425,6.6596372127533,6.4494788646698,6.7185130119324,6.7118029594421,6.5892448425293,6.4893498420715,6.5288639068604,6.3331892490387],"gpu_name":"cpu","opt":{"gpu":-1,"num_passes":10,"model_t7":"models\/resnets\/resnet-50.t7","batch_size":16,"output_json":"outputs\/cnn\/655060.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[4.9208469390869,3.7360510826111,4.1507551670074,4.0202050209045,4.2906620502472,4.2912340164185,4.1325399875641,3.9345960617065,4.0820329189301,3.9374761581421]} -------------------------------------------------------------------------------- /outputs/cpu/704333.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[3.1451420783997,3.232292175293,3.0464210510254,3.0463218688965,3.1391959190369,3.0813388824463,3.0951910018921,3.0615320205688,3.075630903244,3.0945088863373],"total_times":[8.9932849407196,8.7031841278076,8.3542559146881,8.4089348316193,8.653559923172,8.4280078411102,8.3464248180389,8.2912509441376,8.1895108222961,8.5863478183746],"gpu_name":"cpu","opt":{"gpu":-1,"num_passes":10,"model_t7":"models\/vgg16\/vgg16.t7","batch_size":16,"output_json":"outputs\/cnn\/704333.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[5.8481428623199,5.4708919525146,5.3078348636627,5.3626129627228,5.5143640041351,5.3466689586639,5.2512338161469,5.2297189235687,5.1138799190521,5.4918389320374]} -------------------------------------------------------------------------------- /outputs/cpu/731542.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[1.5634791851044,1.5637719631195,1.5205760002136,1.4876351356506,1.5679259300232,1.4900829792023,1.5436940193176,1.4764180183411,1.5417211055756,1.5448260307312],"total_times":[4.0815181732178,4.2804899215698,3.9032030105591,3.9441101551056,3.9850399494171,3.8714418411255,3.9193508625031,3.8379378318787,4.0008480548859,3.8281478881836],"gpu_name":"cpu","opt":{"gpu":-1,"num_passes":10,"model_t7":"models\/resnets\/resnet-34.t7","batch_size":16,"output_json":"outputs\/cnn\/731542.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[2.5180389881134,2.7167179584503,2.3826270103455,2.456475019455,2.4171140193939,2.3813588619232,2.3756568431854,2.3615198135376,2.4591269493103,2.2833218574524]} -------------------------------------------------------------------------------- /outputs/cpu/864633.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[3.5848760604858,3.5376379489899,3.6287178993225,3.4800469875336,3.8452160358429,3.6983180046082,3.5661799907684,3.4871671199799,3.6697528362274,3.5999350547791],"total_times":[10.015223026276,9.8655457496643,9.7864058017731,9.8079898357391,10.070436000824,9.8699150085449,9.8385639190674,9.6865520477295,9.7270147800446,9.8246881961823],"gpu_name":"cpu","opt":{"gpu":-1,"num_passes":10,"model_t7":"models\/vgg19\/vgg19.t7","batch_size":16,"output_json":"outputs\/cnn\/864633.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[6.4303469657898,6.3279078006744,6.1576879024506,6.3279428482056,6.2252199649811,6.1715970039368,6.272383928299,6.1993849277496,6.0572619438171,6.2247531414032]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn4/153412.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.039980888366699,0.039921998977661,0.04047679901123,0.039935111999512,0.039932012557983,0.040155172348022,0.040286779403687,0.039901971817017,0.040405988693237,0.040179967880249],"total_times":[0.11600685119629,0.11619710922241,0.11645483970642,0.11586499214172,0.1159679889679,0.11608719825745,0.11625361442566,0.11586999893188,0.11639714241028,0.11603379249573],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-34.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn4\/153412.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":4007,"backward_times":[0.07602596282959,0.076275110244751,0.07597804069519,0.075929880142212,0.076035976409912,0.075932025909424,0.075966835021973,0.075968027114868,0.075991153717041,0.075853824615479]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn4/224180.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.11313891410828,0.11179995536804,0.11206603050232,0.11136102676392,0.11266589164734,0.11175584793091,0.11230516433716,0.11271905899048,0.11164402961731,0.11045813560486],"total_times":[0.33929491043091,0.33810687065125,0.3378849029541,0.33729410171509,0.33983182907104,0.33794689178467,0.33993601799011,0.34096002578735,0.33935713768005,0.33624529838562],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg16\/vgg16.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn4\/224180.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":4007,"backward_times":[0.22615599632263,0.2263069152832,0.22581887245178,0.22593307495117,0.22716593742371,0.22619104385376,0.22763085365295,0.22824096679688,0.22771310806274,0.22578716278076]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn4/373687.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.15095996856689,0.15035796165466,0.14999985694885,0.14984512329102,0.15096211433411,0.1524829864502,0.1507580280304,0.15169787406921,0.150554895401,0.15142202377319],"total_times":[0.41949796676636,0.41862511634827,0.41841983795166,0.41802310943604,0.42032432556152,0.42049789428711,0.42023110389709,0.42093467712402,0.41885089874268,0.42004013061523],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-152.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn4\/373687.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":4007,"backward_times":[0.26853799819946,0.2682671546936,0.26841998100281,0.26817798614502,0.26936221122742,0.26801490783691,0.2694730758667,0.26923680305481,0.26829600334167,0.26861810684204]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn4/382014.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.021013021469116,0.021023988723755,0.021032810211182,0.020952939987183,0.020925045013428,0.020979881286621,0.021291971206665,0.021107196807861,0.020965099334717,0.021064043045044],"total_times":[0.070366144180298,0.070385932922363,0.070235013961792,0.070236921310425,0.070955991744995,0.070397853851318,0.070734977722168,0.070485353469849,0.070334911346436,0.070365190505981],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/googlenet\/googlenet-v1.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn4\/382014.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":4007,"backward_times":[0.049353122711182,0.049361944198608,0.04920220375061,0.049283981323242,0.050030946731567,0.049417972564697,0.049443006515503,0.049378156661987,0.049369812011719,0.049301147460938]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn4/44953.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.10911798477173,0.10870599746704,0.10898590087891,0.108647108078,0.10885405540466,0.10964894294739,0.10897183418274,0.10892009735107,0.10890698432922,0.10887503623962],"total_times":[0.29897212982178,0.29871487617493,0.29861187934875,0.29808306694031,0.29971599578857,0.30076193809509,0.29865574836731,0.2984631061554,0.29870200157166,0.29830312728882],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-101.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn4\/44953.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":4007,"backward_times":[0.18985414505005,0.19000887870789,0.18962597846985,0.1894359588623,0.19086194038391,0.19111299514771,0.18968391418457,0.18954300880432,0.18979501724243,0.18942809104919]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn4/629022.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.061836004257202,0.062472105026245,0.06191086769104,0.062005043029785,0.06219482421875,0.061999082565308,0.061966896057129,0.061934947967529,0.06200385093689,0.062023878097534],"total_times":[0.17849588394165,0.17929720878601,0.17896389961243,0.17868614196777,0.17890596389771,0.17850518226624,0.17889285087585,0.17870998382568,0.17897891998291,0.17899298667908],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-50.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn4\/629022.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":4007,"backward_times":[0.11665987968445,0.11682510375977,0.11705303192139,0.11668109893799,0.11671113967896,0.11650609970093,0.11692595481873,0.11677503585815,0.11697506904602,0.11696910858154]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn4/724419.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.021454095840454,0.021758794784546,0.021591186523438,0.021494150161743,0.021536827087402,0.021446943283081,0.021558046340942,0.021522998809814,0.021565198898315,0.021514892578125],"total_times":[0.063628196716309,0.063923835754395,0.063760042190552,0.063746213912964,0.064396858215332,0.063621044158936,0.063796997070312,0.063611030578613,0.063851118087769,0.063658952713013],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-18.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn4\/724419.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":4007,"backward_times":[0.042174100875854,0.042165040969849,0.042168855667114,0.042252063751221,0.04286003112793,0.042174100875854,0.04223895072937,0.042088031768799,0.042285919189453,0.042144060134888]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn4/736736.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.13916015625,0.13993906974792,0.13905477523804,0.13931107521057,0.1392879486084,0.13786911964417,0.13945293426514,0.13851189613342,0.13796710968018,0.13959312438965],"total_times":[0.4198899269104,0.4178421497345,0.4174497127533,0.41783499717712,0.41924405097961,0.4162380695343,0.41937685012817,0.41810393333435,0.41744709014893,0.41881799697876],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg19\/vgg19.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn4\/736736.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":4007,"backward_times":[0.2807297706604,0.27790307998657,0.27839493751526,0.27852392196655,0.27995610237122,0.27836894989014,0.27992391586304,0.27959203720093,0.27947998046875,0.27922487258911]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn4/955986.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.2028181552887,0.20233392715454,0.20329308509827,0.20267701148987,0.2036190032959,0.20375680923462,0.20386505126953,0.20370507240295,0.20488905906677,0.20420789718628],"total_times":[0.55717515945435,0.55715298652649,0.55752325057983,0.55837297439575,0.56099891662598,0.56076979637146,0.56088423728943,0.56131315231323,0.56252908706665,0.56193995475769],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-200.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn4\/955986.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":4007,"backward_times":[0.35435700416565,0.35481905937195,0.35423016548157,0.35569596290588,0.35737991333008,0.35701298713684,0.3570191860199,0.35760807991028,0.35764002799988,0.35773205757141]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn4/959133.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.008012056350708,0.008126974105835,0.0080089569091797,0.008044958114624,0.0079889297485352,0.0079960823059082,0.0080430507659912,0.0079948902130127,0.0080530643463135,0.0079998970031738],"total_times":[0.025942087173462,0.026087045669556,0.0259108543396,0.025989770889282,0.025856733322144,0.025891065597534,0.025896072387695,0.025872707366943,0.026043176651001,0.025903940200806],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/alexnet\/alexnet.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn4\/959133.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":4007,"backward_times":[0.017930030822754,0.017960071563721,0.01790189743042,0.017944812774658,0.017867803573608,0.017894983291626,0.017853021621704,0.017877817153931,0.017990112304688,0.017904043197632]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn50/122538.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.0071578025817871,0.0071158409118652,0.007072925567627,0.0071189403533936,0.0070791244506836,0.008141040802002,0.0080091953277588,0.0079290866851807,0.0079388618469238,0.0079729557037354],"total_times":[0.024622917175293,0.02392578125,0.023867845535278,0.023918867111206,0.023809194564819,0.026815891265869,0.026648283004761,0.026561975479126,0.026520967483521,0.026595115661621],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/alexnet\/alexnet.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn50\/122538.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.017465114593506,0.016809940338135,0.016794919967651,0.016799926757812,0.016730070114136,0.018674850463867,0.018639087677002,0.018632888793945,0.018582105636597,0.018622159957886]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn50/149024.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.02872109413147,0.028802156448364,0.028669834136963,0.028841018676758,0.028767108917236,0.028796911239624,0.028707027435303,0.028742074966431,0.028714895248413,0.029122114181519],"total_times":[0.091748237609863,0.091881990432739,0.091821908950806,0.09194803237915,0.091870069503784,0.091994047164917,0.092342138290405,0.092031002044678,0.091882944107056,0.092258214950562],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-34.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn50\/149024.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.063027143478394,0.063079833984375,0.063152074813843,0.063107013702393,0.063102960586548,0.063197135925293,0.063635110855103,0.063288927078247,0.063168048858643,0.063136100769043]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn50/185837.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.088118076324463,0.088270902633667,0.089128971099854,0.088270902633667,0.088371992111206,0.088357925415039,0.088162899017334,0.088248014450073,0.08939790725708,0.088207960128784],"total_times":[0.26020693778992,0.26034998893738,0.26123189926147,0.2603440284729,0.2606041431427,0.26056003570557,0.26036691665649,0.2600359916687,0.26171588897705,0.26030302047729],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-101.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn50\/185837.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.17208886146545,0.17207908630371,0.17210292816162,0.17207312583923,0.17223215103149,0.17220211029053,0.17220401763916,0.17178797721863,0.17231798171997,0.17209506034851]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn50/593076.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.16969895362854,0.16969513893127,0.16960501670837,0.17101716995239,0.16967105865479,0.17003917694092,0.17004299163818,0.16962790489197,0.16992592811584,0.17093205451965],"total_times":[0.48980903625488,0.49010300636292,0.49106597900391,0.49230003356934,0.48969697952271,0.49005317687988,0.49064803123474,0.4900918006897,0.49073195457458,0.49376702308655],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-200.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn50\/593076.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.32011008262634,0.32040786743164,0.32146096229553,0.32128286361694,0.32002592086792,0.32001399993896,0.32060503959656,0.32046389579773,0.32080602645874,0.32283496856689]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn50/717778.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.016992807388306,0.016971826553345,0.017007112503052,0.017068862915039,0.016964912414551,0.017155170440674,0.017044067382812,0.017583131790161,0.016982078552246,0.017025947570801],"total_times":[0.054713726043701,0.054478645324707,0.054590225219727,0.054701805114746,0.054456949234009,0.054810285568237,0.054741859436035,0.057018280029297,0.054618120193481,0.05457878112793],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-18.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn50\/717778.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.037720918655396,0.037506818771362,0.037583112716675,0.037632942199707,0.037492036819458,0.037655115127563,0.037697792053223,0.039435148239136,0.037636041641235,0.037552833557129]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn50/718808.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.019208908081055,0.019256830215454,0.01929783821106,0.019274950027466,0.019288063049316,0.019263029098511,0.019258975982666,0.019320964813232,0.019284963607788,0.019232988357544],"total_times":[0.065664052963257,0.06573486328125,0.065771818161011,0.065977811813354,0.065585851669312,0.065546989440918,0.065614938735962,0.065696954727173,0.065701007843018,0.065521001815796],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/googlenet\/googlenet-v1.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn50\/718808.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.046455144882202,0.046478033065796,0.046473979949951,0.046702861785889,0.046297788619995,0.046283960342407,0.046355962753296,0.04637598991394,0.046416044235229,0.046288013458252]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn50/75762.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.092288017272949,0.094275951385498,0.093894958496094,0.093931913375854,0.093959808349609,0.092257022857666,0.093818187713623,0.094393968582153,0.092364072799683,0.093564987182617],"total_times":[0.31843495368958,0.32306814193726,0.32089996337891,0.31976890563965,0.32416987419128,0.32189106941223,0.32627701759338,0.32510375976562,0.32159614562988,0.32692980766296],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg19\/vgg19.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn50\/75762.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.22614693641663,0.22879219055176,0.22700500488281,0.22583699226379,0.23021006584167,0.22963404655457,0.23245882987976,0.23070979118347,0.2292320728302,0.23336482048035]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn50/883354.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.0746009349823,0.076038837432861,0.075516939163208,0.076658964157104,0.075620889663696,0.075350999832153,0.076015949249268,0.076275110244751,0.075627088546753,0.0763099193573],"total_times":[0.26001286506653,0.26469087600708,0.26136589050293,0.26313090324402,0.26057291030884,0.26087689399719,0.26285600662231,0.26363921165466,0.26278901100159,0.26276087760925],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg16\/vgg16.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn50\/883354.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.18541193008423,0.18865203857422,0.18584895133972,0.18647193908691,0.18495202064514,0.18552589416504,0.18684005737305,0.18736410140991,0.18716192245483,0.18645095825195]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn50/885142.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.12498116493225,0.12491583824158,0.12479519844055,0.12485504150391,0.12484502792358,0.12473797798157,0.12490296363831,0.12483811378479,0.12498378753662,0.12490105628967],"total_times":[0.3652651309967,0.36539196968079,0.36502814292908,0.36449098587036,0.36524605751038,0.36508893966675,0.36499691009521,0.36510300636292,0.36500668525696,0.36473202705383],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-152.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn50\/885142.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.24028396606445,0.24047613143921,0.24023294448853,0.23963594436646,0.24040102958679,0.24035096168518,0.24009394645691,0.24026489257812,0.24002289772034,0.23983097076416]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn50/907527.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.056174993515015,0.056522846221924,0.056238889694214,0.056172132492065,0.056120157241821,0.056875944137573,0.056243896484375,0.056162118911743,0.056298017501831,0.056225061416626],"total_times":[0.16597890853882,0.16639280319214,0.16630673408508,0.16554927825928,0.16583132743835,0.16674089431763,0.16592693328857,0.16565823554993,0.16608190536499,0.16603517532349],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-50.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn50\/907527.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.1098039150238,0.10986995697021,0.11006784439087,0.10937714576721,0.10971117019653,0.10986495018005,0.1096830368042,0.10949611663818,0.10978388786316,0.10981011390686]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn51/107545.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.21434116363525,0.21486401557922,0.21474289894104,0.21631503105164,0.21481800079346,0.21825218200684,0.2163450717926,0.21717596054077,0.21495199203491,0.2174129486084],"total_times":[0.70323395729065,0.70674896240234,0.7038209438324,0.70937514305115,0.70422005653381,0.7109272480011,0.70550513267517,0.71045207977295,0.70491099357605,0.71214389801025],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg19\/vgg19.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn51\/107545.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.4888927936554,0.49188494682312,0.48907804489136,0.49306011199951,0.48940205574036,0.49267506599426,0.48916006088257,0.49327611923218,0.48995900154114,0.49473094940186]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn51/270716.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.13683605194092,0.13650417327881,0.13723993301392,0.1374089717865,0.13802194595337,0.1373348236084,0.13720798492432,0.13712000846863,0.13676786422729,0.13698601722717],"total_times":[0.38398814201355,0.38444113731384,0.38454079627991,0.38576292991638,0.38611888885498,0.38507962226868,0.38465714454651,0.38481402397156,0.38411784172058,0.38436985015869],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-50.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn51\/270716.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.24715209007263,0.24793696403503,0.24730086326599,0.24835395812988,0.24809694290161,0.24774479866028,0.24744915962219,0.24769401550293,0.24734997749329,0.24738383293152]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn51/272114.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.0071859359741211,0.006605863571167,0.0071091651916504,0.0067708492279053,0.007178783416748,0.0071520805358887,0.0071759223937988,0.0071759223937988,0.0072219371795654,0.0073320865631104],"total_times":[0.02138876914978,0.020662784576416,0.021368265151978,0.020893812179565,0.02225661277771,0.022241115570068,0.022257804870605,0.022276878356934,0.022366046905518,0.022816896438599],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/alexnet\/alexnet.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn51\/272114.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.014202833175659,0.014056921005249,0.014259099960327,0.01412296295166,0.015077829360962,0.01508903503418,0.015081882476807,0.015100955963135,0.015144109725952,0.015484809875488]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn51/296977.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.090906858444214,0.090839862823486,0.09146785736084,0.091275930404663,0.09232497215271,0.091328859329224,0.091418981552124,0.091195106506348,0.091326951980591,0.091063976287842],"total_times":[0.23058986663818,0.23292088508606,0.23215270042419,0.23198795318604,0.23386001586914,0.23202180862427,0.2324070930481,0.23158621788025,0.23208212852478,0.23159503936768],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/googlenet\/googlenet-v1.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn51\/296977.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.13968300819397,0.14208102226257,0.14068484306335,0.14071202278137,0.14153504371643,0.14069294929504,0.14098811149597,0.1403911113739,0.14075517654419,0.14053106307983]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn51/311261.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.12373208999634,0.123703956604,0.12356901168823,0.12361621856689,0.12359094619751,0.12366604804993,0.12453603744507,0.12452006340027,0.12469005584717,0.12476897239685],"total_times":[0.34407019615173,0.34414887428284,0.34430408477783,0.34426927566528,0.34452199935913,0.34522604942322,0.34686803817749,0.34703898429871,0.34687614440918,0.34715509414673],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-152.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn51\/311261.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.2203381061554,0.22044491767883,0.2207350730896,0.22065305709839,0.22093105316162,0.22156000137329,0.22233200073242,0.22251892089844,0.22218608856201,0.22238612174988]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn51/329084.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.10864186286926,0.10910296440125,0.10907387733459,0.10881209373474,0.10896897315979,0.10912895202637,0.10893321037292,0.10936093330383,0.1085901260376,0.10884594917297],"total_times":[0.27486300468445,0.27519702911377,0.27480602264404,0.27508521080017,0.27511715888977,0.27517080307007,0.27520608901978,0.27532076835632,0.27582597732544,0.27472591400146],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-34.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn51\/329084.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.16622114181519,0.16609406471252,0.16573214530945,0.16627311706543,0.16614818572998,0.1660418510437,0.16627287864685,0.16595983505249,0.16723585128784,0.16587996482849]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn51/34966.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.055602788925171,0.055712938308716,0.055902004241943,0.055830001831055,0.056164026260376,0.055851936340332,0.056056022644043,0.055543899536133,0.05574107170105,0.055756092071533],"total_times":[0.1512348651886,0.15158009529114,0.15195989608765,0.15174698829651,0.15230703353882,0.15185880661011,0.15240812301636,0.15157604217529,0.15171313285828,0.15183806419373],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-18.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn51\/34966.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.095632076263428,0.095867156982422,0.096057891845703,0.095916986465454,0.096143007278442,0.096006870269775,0.096352100372314,0.09603214263916,0.095972061157227,0.096081972122192]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn51/365430.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.38192009925842,0.3819899559021,0.38201117515564,0.38170194625854,0.38380718231201,0.38198900222778,0.3826630115509,0.38300490379333,0.38237118721008,0.38246321678162],"total_times":[0.96399807929993,0.96489477157593,0.96485829353333,0.96871495246887,0.96634030342102,0.96506690979004,0.96671795845032,0.9699239730835,0.96578216552734,0.96588110923767],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-152.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn51\/365430.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.5820779800415,0.58290481567383,0.58284711837769,0.58701300621033,0.58253312110901,0.58307790756226,0.58405494689941,0.58691906929016,0.58341097831726,0.58341789245605]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn51/402717.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.49477696418762,0.49488496780396,0.49448013305664,0.49467802047729,0.49765014648438,0.50079607963562,0.50022506713867,0.4984118938446,0.50011205673218,0.49970698356628],"total_times":[1.299947977066,1.302873134613,1.301057100296,1.3067331314087,1.9129240512848,2.0669891834259,1.3874020576477,1.313355922699,1.3127501010895,1.3110408782959],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-200.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn51\/402717.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.80517101287842,0.80798816680908,0.80657696723938,0.8120551109314,1.4152739048004,1.5661931037903,0.88717699050903,0.81494402885437,0.8126380443573,0.81133389472961]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn51/461634.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.019287109375,0.019376993179321,0.019288063049316,0.019332885742188,0.019258975982666,0.019249200820923,0.01922607421875,0.019318103790283,0.019289016723633,0.019229888916016],"total_times":[0.061982154846191,0.062081098556519,0.06189489364624,0.061824798583984,0.06187891960144,0.06191611289978,0.061931133270264,0.062578201293945,0.061881065368652,0.061827898025513],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/googlenet\/googlenet-v1.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn51\/461634.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.042695045471191,0.042704105377197,0.042606830596924,0.042491912841797,0.042619943618774,0.042666912078857,0.042705059051514,0.043260097503662,0.04259204864502,0.042598009109497]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn51/539546.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.01618504524231,0.016219854354858,0.016171216964722,0.016240835189819,0.016185998916626,0.016202926635742,0.01788592338562,0.017858982086182,0.017895936965942,0.017853021621704],"total_times":[0.048879861831665,0.048933982849121,0.049142122268677,0.049165725708008,0.049154043197632,0.049121141433716,0.05486798286438,0.054914951324463,0.055052042007446,0.05498194694519],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-18.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn51\/539546.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.032694816589355,0.032714128494263,0.032970905303955,0.032924890518188,0.032968044281006,0.032918214797974,0.03698205947876,0.037055969238281,0.037156105041504,0.037128925323486]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn51/545185.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.027295112609863,0.027179956436157,0.027496814727783,0.027263879776001,0.027613878250122,0.027255058288574,0.027230024337769,0.027334213256836,0.027240037918091,0.027371168136597],"total_times":[0.080245018005371,0.079977989196777,0.080269813537598,0.08021879196167,0.080603837966919,0.080143213272095,0.080092191696167,0.080197095870972,0.080207109451294,0.080302238464355],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-34.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn51\/545185.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.052949905395508,0.05279803276062,0.052772998809814,0.052954912185669,0.052989959716797,0.052888154983521,0.052862167358398,0.052862882614136,0.052967071533203,0.052931070327759]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn51/66175.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.087587833404541,0.087504148483276,0.088426113128662,0.087435960769653,0.087385892868042,0.087434053421021,0.087547063827515,0.087544918060303,0.089141130447388,0.087631940841675],"total_times":[0.24709677696228,0.24731707572937,0.24875402450562,0.2469527721405,0.24674987792969,0.24701499938965,0.24688410758972,0.24698400497437,0.25020313262939,0.24694490432739],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-101.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn51\/66175.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.15950894355774,0.15981292724609,0.16032791137695,0.15951681137085,0.15936398506165,0.15958094596863,0.15933704376221,0.15943908691406,0.16106200218201,0.15931296348572]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn51/785346.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.17274498939514,0.17249512672424,0.17251110076904,0.17248201370239,0.17283487319946,0.17252898216248,0.17258310317993,0.17276000976562,0.17243099212646,0.17270088195801],"total_times":[0.58836889266968,0.58836221694946,0.58850407600403,0.58879804611206,0.58844804763794,0.58849692344666,0.58817005157471,0.58858418464661,0.58808588981628,0.58891797065735],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg16\/vgg16.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn51\/785346.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.41562390327454,0.41586709022522,0.41599297523499,0.41631603240967,0.41561317443848,0.41596794128418,0.41558694839478,0.41582417488098,0.41565489768982,0.41621708869934]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn51/794544.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.26063203811646,0.26040410995483,0.26015305519104,0.25940799713135,0.25982785224915,0.25976490974426,0.26013588905334,0.25961184501648,0.26016688346863,0.26467490196228],"total_times":[0.66870903968811,0.66589212417603,0.66519594192505,0.66401815414429,0.66521191596985,0.6647469997406,0.66480875015259,0.66460561752319,1.1427340507507,0.67338895797729],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-101.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn51\/794544.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.40807700157166,0.40548801422119,0.40504288673401,0.40461015701294,0.4053840637207,0.40498208999634,0.40467286109924,0.40499377250671,0.8825671672821,0.40871405601501]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn51/803718.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.073596954345703,0.073511838912964,0.073601961135864,0.074567079544067,0.073451995849609,0.07361102104187,0.073512077331543,0.073482036590576,0.073478937149048,0.073777198791504],"total_times":[0.22609496116638,0.22455978393555,0.22460389137268,0.22708892822266,0.22449517250061,0.22457003593445,0.22588920593262,0.22455716133118,0.22454190254211,0.22495102882385],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg19\/vgg19.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn51\/803718.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.15249800682068,0.15104794502258,0.15100193023682,0.15252184867859,0.151043176651,0.15095901489258,0.15237712860107,0.1510751247406,0.15106296539307,0.15117383003235]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn51/816588.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.055899858474731,0.055856943130493,0.055716991424561,0.055604219436646,0.055691003799438,0.056504964828491,0.055521965026855,0.055576086044312,0.055548191070557,0.055563926696777],"total_times":[0.15969491004944,0.15960693359375,0.15969920158386,0.15940618515015,0.15961194038391,0.16042590141296,0.15958786010742,0.15952801704407,0.15941119194031,0.15920996665955],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-50.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn51\/816588.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.10379505157471,0.10374999046326,0.1039822101593,0.1038019657135,0.10392093658447,0.10392093658447,0.10406589508057,0.10395193099976,0.10386300086975,0.10364603996277]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn51/943134.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.062252044677734,0.0621337890625,0.062144041061401,0.062275886535645,0.062141895294189,0.062561988830566,0.062902927398682,0.062167882919312,0.062126874923706,0.062273979187012],"total_times":[0.19236516952515,0.19218564033508,0.19216895103455,0.19240188598633,0.19219183921814,0.19379782676697,0.1954607963562,0.19244790077209,0.19213080406189,0.19261693954468],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg16\/vgg16.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn51\/943134.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.13011312484741,0.13005185127258,0.13002490997314,0.13012599945068,0.13004994392395,0.1312358379364,0.13255786895752,0.13028001785278,0.13000392913818,0.13034296035767]} -------------------------------------------------------------------------------- /outputs/titan_xm_cudnn51/988380.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.16882705688477,0.16883587837219,0.16962194442749,0.1689510345459,0.16891193389893,0.16910791397095,0.17001891136169,0.1703839302063,0.17048120498657,0.17103290557861],"total_times":[0.46597504615784,0.46373987197876,0.46487092971802,0.46435904502869,0.46391201019287,0.46618008613586,0.46739482879639,0.46785688400269,0.46804118156433,1.3418598175049],"gpu_name":"GeForce GTX TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-200.t7","batch_size":16,"output_json":"outputs\/titan_xm_cudnn51\/988380.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.29714798927307,0.29490399360657,0.29524898529053,0.29540801048279,0.29500007629395,0.29707217216492,0.29737591743469,0.29747295379639,0.29755997657776,1.1708269119263]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn50/232057.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.011919975280762,0.011927843093872,0.011945962905884,0.011923789978027,0.011931896209717,0.011938810348511,0.011955976486206,0.011954069137573,0.011928081512451,0.011944055557251],"total_times":[0.04026198387146,0.040299892425537,0.04033088684082,0.040341854095459,0.040316820144653,0.040349006652832,0.040331840515137,0.04033899307251,0.040356159210205,0.040335893630981],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/googlenet\/googlenet-v1.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn50\/232057.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.028342008590698,0.028372049331665,0.028384923934937,0.028418064117432,0.028384923934937,0.028410196304321,0.028375864028931,0.028384923934937,0.028428077697754,0.02839183807373]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn50/264135.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.045876026153564,0.046459913253784,0.045838832855225,0.04615306854248,0.046463966369629,0.045639991760254,0.046248912811279,0.046439170837402,0.046104907989502,0.046355009078979],"total_times":[0.15691089630127,0.15782880783081,0.15678787231445,0.15709400177002,0.15739893913269,0.1571741104126,0.15769481658936,0.1577091217041,0.15779304504395,0.15747904777527],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg16\/vgg16.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn50\/264135.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.11103487014771,0.11136889457703,0.11094903945923,0.11094093322754,0.11093497276306,0.11153411865234,0.11144590377808,0.1112699508667,0.11168813705444,0.11112403869629]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn50/285570.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.053892850875854,0.053030967712402,0.053880929946899,0.053045988082886,0.053699970245361,0.053061008453369,0.053016901016235,0.053015947341919,0.053093194961548,0.053076982498169],"total_times":[0.16187405586243,0.16099715232849,0.16200995445251,0.16105604171753,0.16155004501343,0.16106009483337,0.16179180145264,0.16089701652527,0.16247415542603,0.16111397743225],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-101.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn50\/285570.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.10798120498657,0.10796618461609,0.10812902450562,0.10801005363464,0.10785007476807,0.10799908638,0.1087749004364,0.10788106918335,0.10938096046448,0.10803699493408]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn50/481954.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.10403394699097,0.10392904281616,0.10474801063538,0.1039559841156,0.10392594337463,0.10402297973633,0.10449194908142,0.10442304611206,0.10462307929993,0.10543084144592],"total_times":[0.30518484115601,0.30502605438232,0.30588698387146,0.30584812164307,0.30525684356689,0.3052670955658,0.30767583847046,0.30756211280823,0.30702209472656,0.3080198764801],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-200.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn50\/481954.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.20115089416504,0.20109701156616,0.20113897323608,0.20189213752747,0.20133090019226,0.20124411582947,0.20318388938904,0.20313906669617,0.20239901542664,0.20258903503418]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn50/485149.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.0053269863128662,0.0053229331970215,0.0053658485412598,0.0053150653839111,0.0053331851959229,0.0053389072418213,0.0053250789642334,0.0052840709686279,0.0053129196166992,0.0053188800811768],"total_times":[0.016247034072876,0.016194820404053,0.016273975372314,0.016197919845581,0.016244173049927,0.016202926635742,0.016273021697998,0.016201972961426,0.016243934631348,0.01620078086853],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/alexnet\/alexnet.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn50\/485149.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.01092004776001,0.010871887207031,0.010908126831055,0.01088285446167,0.010910987854004,0.010864019393921,0.010947942733765,0.010917901992798,0.010931015014648,0.010881900787354]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn50/816352.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.01688289642334,0.017165899276733,0.01688289642334,0.016892910003662,0.016879081726074,0.016890048980713,0.016887903213501,0.016862154006958,0.016879081726074,0.016880989074707],"total_times":[0.055546998977661,0.056060791015625,0.055511951446533,0.055484056472778,0.05570125579834,0.05551815032959,0.055458068847656,0.055506229400635,0.055482149124146,0.055490016937256],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-34.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn50\/816352.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.038664102554321,0.038894891738892,0.038629055023193,0.038591146469116,0.038822174072266,0.038628101348877,0.038570165634155,0.038644075393677,0.038603067398071,0.038609027862549]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn50/830288.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.074920177459717,0.074928045272827,0.074932098388672,0.075739145278931,0.074925899505615,0.074949979782104,0.074896097183228,0.074909925460815,0.076033115386963,0.074934959411621],"total_times":[0.22488498687744,0.22578501701355,0.22483801841736,0.22563123703003,0.22464394569397,0.22474193572998,0.22575116157532,0.22469973564148,0.2260901927948,0.22488498687744],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-152.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn50\/830288.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.14996480941772,0.15085697174072,0.14990592002869,0.1498920917511,0.14971804618835,0.14979195594788,0.15085506439209,0.14978981018066,0.15005707740784,0.14995002746582]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn50/838864.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.056140184402466,0.056107997894287,0.056586980819702,0.055951118469238,0.055895090103149,0.056591987609863,0.054749965667725,0.055052042007446,0.055145978927612,0.05528998374939],"total_times":[0.19098997116089,0.19197106361389,0.19204711914062,0.19119310379028,0.19119000434875,0.19194388389587,0.18912696838379,0.1895740032196,0.18962693214417,0.18962502479553],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg19\/vgg19.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn50\/838864.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.13484978675842,0.1358630657196,0.13546013832092,0.13524198532104,0.13529491424561,0.13535189628601,0.13437700271606,0.13452196121216,0.13448095321655,0.13433504104614]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn50/959228.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.034848928451538,0.034865140914917,0.035719871520996,0.034874200820923,0.034849882125854,0.034896850585938,0.034892797470093,0.035572052001953,0.034872055053711,0.03486704826355],"total_times":[0.10564589500427,0.1055212020874,0.10645484924316,0.10558414459229,0.10558986663818,0.10577964782715,0.10562777519226,0.10647201538086,0.10554599761963,0.10559606552124],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-50.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn50\/959228.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.070796966552734,0.070656061172485,0.070734977722168,0.070709943771362,0.070739984512329,0.070882797241211,0.070734977722168,0.070899963378906,0.070673942565918,0.07072901725769]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn50/98112.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.010040998458862,0.010068893432617,0.010033845901489,0.010061979293823,0.010047912597656,0.010058879852295,0.010044097900391,0.010050058364868,0.010066986083984,0.010077953338623],"total_times":[0.033071994781494,0.033133745193481,0.033077001571655,0.033175945281982,0.033045053482056,0.033107757568359,0.033137083053589,0.033308982849121,0.033096075057983,0.033156871795654],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-18.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn50\/98112.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5005,"backward_times":[0.023030996322632,0.023064851760864,0.023043155670166,0.023113965988159,0.022997140884399,0.023048877716064,0.023092985153198,0.023258924484253,0.023029088973999,0.023078918457031]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn51/114516.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.04144287109375,0.041412830352783,0.042127132415771,0.041566133499146,0.041407108306885,0.041488885879517,0.041457176208496,0.041488885879517,0.041380167007446,0.042117834091187],"total_times":[0.12825083732605,0.12842869758606,0.12869620323181,0.12881302833557,0.12942314147949,0.1282069683075,0.12850117683411,0.12830686569214,0.12846302986145,0.12912893295288],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg16\/vgg16.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn51\/114516.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.0868079662323,0.087015867233276,0.08656907081604,0.087246894836426,0.088016033172607,0.086718082427979,0.08704400062561,0.086817979812622,0.087082862854004,0.087011098861694]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn51/194600.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.035048961639404,0.035034894943237,0.035022974014282,0.035021781921387,0.035003185272217,0.035079956054688,0.03504204750061,0.035003185272217,0.035037994384766,0.035048007965088],"total_times":[0.10360884666443,0.10329580307007,0.10411977767944,0.10342383384705,0.10337400436401,0.10336303710938,0.10349822044373,0.10413932800293,0.10342001914978,0.10353302955627],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-50.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn51\/194600.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.068559885025024,0.068260908126831,0.069096803665161,0.068402051925659,0.068370819091797,0.068283081054688,0.068456172943115,0.069136142730713,0.068382024765015,0.068485021591187]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn51/434880.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.016999006271362,0.017023086547852,0.017014026641846,0.017040014266968,0.017036914825439,0.017011165618896,0.016989946365356,0.017011165618896,0.016975879669189,0.017009973526001],"total_times":[0.05154013633728,0.051508188247681,0.051484107971191,0.051513910293579,0.051585912704468,0.051464319229126,0.05144190788269,0.051496267318726,0.052388906478882,0.05148983001709],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-34.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn51\/434880.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.034541130065918,0.034485101699829,0.034470081329346,0.034473896026611,0.034548997879028,0.034453153610229,0.034451961517334,0.034485101699829,0.035413026809692,0.034479856491089]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn51/440838.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.10452914237976,0.10538816452026,0.10450482368469,0.10452103614807,0.10453414916992,0.1044909954071,0.10446500778198,0.10475707054138,0.10537695884705,0.10480880737305],"total_times":[0.29602909088135,0.29676294326782,0.29686880111694,0.29596090316772,0.29596900939941,0.29689598083496,0.29591012001038,0.29621195793152,0.29698395729065,0.29750680923462],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-200.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn51\/440838.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.19149994850159,0.19137477874756,0.19236397743225,0.19143986701965,0.19143486022949,0.19240498542786,0.19144511222839,0.19145488739014,0.1916069984436,0.19269800186157]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn51/50941.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.010139942169189,0.010140180587769,0.010127067565918,0.010137796401978,0.010139942169189,0.010154008865356,0.010133028030396,0.010139942169189,0.010149955749512,0.010126113891602],"total_times":[0.031491994857788,0.031432151794434,0.031408071517944,0.031493902206421,0.031443119049072,0.03150200843811,0.031464099884033,0.031482934951782,0.032154083251953,0.031515121459961],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-18.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn51\/50941.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.021352052688599,0.021291971206665,0.021281003952026,0.021356105804443,0.021303176879883,0.021347999572754,0.021331071853638,0.021342992782593,0.022004127502441,0.021389007568359]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn51/586889.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.098071098327637,0.09801721572876,0.097939968109131,0.097922086715698,0.09863805770874,0.098030090332031,0.097980976104736,0.097915887832642,0.098023891448975,0.098958015441895],"total_times":[0.35921311378479,0.35890340805054,0.35815787315369,0.35803318023682,0.35854697227478,0.35899806022644,0.35883498191833,0.35776996612549,0.35793590545654,0.35888886451721],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg16\/vgg16.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn51\/586889.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.26114201545715,0.26088619232178,0.26021790504456,0.26011109352112,0.25990891456604,0.26096796989441,0.2608540058136,0.25985407829285,0.25991201400757,0.25993084907532]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn51/600209.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.066171169281006,0.06683611869812,0.066397905349731,0.067198991775513,0.066358089447021,0.066947937011719,0.066312789916992,0.06658411026001,0.066396951675415,0.06640100479126],"total_times":[0.17230415344238,0.17312097549438,0.17286586761475,0.17381191253662,0.17280411720276,0.17346096038818,0.17273664474487,0.17310500144958,0.17284393310547,0.17279005050659],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-34.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn51\/600209.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.10613298416138,0.10628485679626,0.10646796226501,0.10661292076111,0.10644602775574,0.10651302337646,0.10642385482788,0.10652089118958,0.10644698143005,0.10638904571533]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn51/636953.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.048153877258301,0.048150062561035,0.048135042190552,0.047960042953491,0.047959804534912,0.047929048538208,0.048776149749756,0.047937154769897,0.047931909561157,0.047946929931641],"total_times":[0.14758777618408,0.14754223823547,0.14743494987488,0.1468710899353,0.14704179763794,0.14696907997131,0.14783430099487,0.14706802368164,0.14780688285828,0.14703488349915],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg19\/vgg19.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn51\/636953.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.099433898925781,0.099392175674438,0.099299907684326,0.098911046981812,0.099081993103027,0.099040031433105,0.099058151245117,0.099130868911743,0.099874973297119,0.099087953567505]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn51/70037.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.11941814422607,0.12015986442566,0.12019014358521,0.12002801895142,0.13308811187744,0.12358593940735,0.12021708488464,0.12008690834045,0.1200168132782,0.12006783485413],"total_times":[0.42746305465698,0.42933297157288,0.43143916130066,0.48686099052429,0.47409105300903,0.43611288070679,0.42967414855957,0.42867398262024,0.42851567268372,0.42863988876343],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/vgg19\/vgg19.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn51\/70037.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.30804491043091,0.30917310714722,0.31124901771545,0.36683297157288,0.34100294113159,0.31252694129944,0.30945706367493,0.30858707427979,0.30849885940552,0.3085720539093]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn51/750624.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.23846197128296,0.23766398429871,0.23749208450317,0.23830199241638,0.23837184906006,0.23761296272278,0.23774909973145,0.23873996734619,0.23838901519775,0.23758482933044],"total_times":[0.60993099212646,0.60928392410278,0.60886812210083,0.60896396636963,0.60908985137939,0.60927081108093,0.60972023010254,0.61129903793335,0.60893893241882,0.60897493362427],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-152.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn51\/750624.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.37146902084351,0.37161993980408,0.37137603759766,0.37066197395325,0.37071800231934,0.37165784835815,0.37197113037109,0.37255907058716,0.37054991722107,0.37139010429382]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn51/750844.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.16100811958313,0.1614990234375,0.16192698478699,0.16191411018372,0.16172003746033,0.16106295585632,0.16115593910217,0.16164803504944,0.1616530418396,0.16188502311707],"total_times":[0.41790699958801,0.41829800605774,0.41894197463989,0.41880798339844,0.41842198371887,0.41855001449585,0.41871690750122,0.42016100883484,0.42058706283569,0.42073798179626],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-101.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn51\/750844.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.25689888000488,0.25679898262024,0.25701498985291,0.25689387321472,0.25670194625854,0.25748705863953,0.25756096839905,0.2585129737854,0.25893402099609,0.2588529586792]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn51/813670.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.012065887451172,0.012075901031494,0.012027978897095,0.012068033218384,0.012068033218384,0.012057065963745,0.012063026428223,0.012081861495972,0.012057065963745,0.012042999267578],"total_times":[0.039110898971558,0.039135932922363,0.03910493850708,0.039155960083008,0.039160966873169,0.039144039154053,0.039170980453491,0.03912091255188,0.039167165756226,0.039119005203247],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/googlenet\/googlenet-v1.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn51\/813670.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.027045011520386,0.027060031890869,0.027076959609985,0.027087926864624,0.027092933654785,0.027086973190308,0.027107954025269,0.027039051055908,0.02711009979248,0.027076005935669]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn51/846628.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.0050389766693115,0.0050458908081055,0.0050389766693115,0.0050439834594727,0.0050430297851562,0.0050539970397949,0.0050418376922607,0.0050551891326904,0.005047082901001,0.0050351619720459],"total_times":[0.014569997787476,0.014596700668335,0.014563083648682,0.014558076858521,0.014544010162354,0.01458477973938,0.014550924301147,0.014548301696777,0.014549016952515,0.014565229415894],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/alexnet\/alexnet.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn51\/846628.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.0095310211181641,0.0095508098602295,0.0095241069793701,0.0095140933990479,0.0095009803771973,0.009530782699585,0.0095090866088867,0.0094931125640869,0.0095019340515137,0.0095300674438477]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn51/865701.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.075244903564453,0.076074123382568,0.075314998626709,0.075268030166626,0.075250864028931,0.075294971466064,0.075273990631104,0.075304985046387,0.076148986816406,0.07527494430542],"total_times":[0.21753096580505,0.21831011772156,0.21762895584106,0.21741199493408,0.21825289726257,0.21755504608154,0.21840906143188,0.2179548740387,0.21848607063293,0.21757984161377],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-152.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn51\/865701.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.1422860622406,0.14223599433899,0.14231395721436,0.14214396476746,0.14300203323364,0.14226007461548,0.14313507080078,0.14264988899231,0.14233708381653,0.14230489730835]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn51/879577.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.3199188709259,0.3141770362854,0.31249809265137,0.3136248588562,0.32422113418579,0.31225609779358,0.31298303604126,0.31201887130737,0.31307506561279,0.31291389465332],"total_times":[0.83949995040894,0.83622622489929,0.83131694793701,0.83960485458374,0.84244728088379,0.83208107948303,0.83131098747253,0.83056974411011,0.83123707771301,0.8305549621582],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-200.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn51\/879577.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.51958107948303,0.52204918861389,0.51881885528564,0.52597999572754,0.518226146698,0.51982498168945,0.51832795143127,0.51855087280273,0.51816201210022,0.51764106750488]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn51/880068.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.057528018951416,0.057579040527344,0.057476997375488,0.057430982589722,0.057392120361328,0.05745005607605,0.057497978210449,0.05747389793396,0.057347059249878,0.057440996170044],"total_times":[0.14340806007385,0.14359593391418,0.143306016922,0.14339685440063,0.14324307441711,0.14330506324768,0.14335799217224,0.14330387115479,0.14329504966736,0.14337491989136],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/googlenet\/googlenet-v1.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn51\/880068.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.085880041122437,0.086016893386841,0.085829019546509,0.085965871810913,0.085850954055786,0.085855007171631,0.085860013961792,0.085829973220825,0.08594799041748,0.085933923721313]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn51/939670.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.034669876098633,0.034687042236328,0.034734964370728,0.034639835357666,0.034732103347778,0.034833192825317,0.0346519947052,0.034627199172974,0.034680843353271,0.035356044769287],"total_times":[0.096118927001953,0.097100257873535,0.096163988113403,0.096238851547241,0.09619402885437,0.09631609916687,0.096839904785156,0.096081256866455,0.09608793258667,0.096840858459473],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-18.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn51\/939670.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.06144905090332,0.062413215637207,0.061429023742676,0.061599016189575,0.061461925506592,0.061482906341553,0.062187910079956,0.061454057693481,0.061407089233398,0.061484813690186]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn51/962635.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.053352832794189,0.05338191986084,0.053401947021484,0.053405046463013,0.053335905075073,0.053375959396362,0.053392171859741,0.053406953811646,0.053378105163574,0.053378105163574],"total_times":[0.15637493133545,0.15648484230042,0.15647482872009,0.15646910667419,0.15639591217041,0.15645408630371,0.15644311904907,0.15647673606873,0.15641117095947,0.15643501281738],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-101.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn51\/962635.json","image_height":224,"image_width":224,"use_cudnn":1},"cudnn_version":5105,"backward_times":[0.10302209854126,0.10310292243958,0.10307288169861,0.10306406021118,0.10306000709534,0.10307812690735,0.10305094718933,0.10306978225708,0.1030330657959,0.10305690765381]} -------------------------------------------------------------------------------- /outputs/titan_xp_cudnn51/971506.json: -------------------------------------------------------------------------------- 1 | {"forward_times":[0.088304996490479,0.087491989135742,0.08752703666687,0.087547779083252,0.087496995925903,0.087574005126953,0.087591171264648,0.087502002716064,0.087582111358643,0.087571144104004],"total_times":[0.24716711044312,0.24631786346436,0.24626302719116,0.24717688560486,0.24615502357483,0.24634504318237,0.24644136428833,0.24704813957214,0.24640727043152,0.24643301963806],"gpu_name":"TITAN X","opt":{"gpu":0,"num_passes":10,"model_t7":"models\/resnets\/resnet-50.t7","batch_size":16,"output_json":"outputs\/titan_xp_cudnn51\/971506.json","image_height":224,"image_width":224,"use_cudnn":0},"cudnn_version":"none","backward_times":[0.15886211395264,0.15882587432861,0.15873599052429,0.15962910652161,0.15865802764893,0.15877103805542,0.15885019302368,0.15954613685608,0.15882515907288,0.15886187553406]} -------------------------------------------------------------------------------- /run_cnn_benchmarks.py: -------------------------------------------------------------------------------- 1 | import os, json, itertools, random, argparse 2 | 3 | 4 | DEFAULT_MODELS = ','.join([ 5 | 'models/alexnet/alexnet.t7', 6 | 'models/vgg16/vgg16.t7', 7 | 'models/vgg19/vgg19.t7', 8 | 'models/googlenet/googlenet-v1.t7', 9 | 'models/resnets/resnet-18.t7', 10 | 'models/resnets/resnet-34.t7', 11 | 'models/resnets/resnet-50.t7', 12 | 'models/resnets/resnet-101.t7', 13 | 'models/resnets/resnet-152.t7', 14 | 'models/resnets/resnet-200.t7', 15 | ]) 16 | 17 | parser = argparse.ArgumentParser() 18 | parser.add_argument('--gpus', default='0') 19 | parser.add_argument('--models', default=DEFAULT_MODELS) 20 | parser.add_argument('--batch_sizes', default='16') 21 | parser.add_argument('--use_cudnns', default='0,1') 22 | parser.add_argument('--output_dir', default='outputs') 23 | 24 | 25 | def main(args): 26 | factors = { 27 | 'gpu': [int(g) for g in args.gpus.split(',')], 28 | 'model_t7': args.models.split(','), 29 | 'batch_size': [int(b) for b in args.batch_sizes.split(',')], 30 | 'use_cudnn': [int(c) for c in args.use_cudnns.split(',')], 31 | } 32 | 33 | base_command = 'th cnn_benchmark.lua' 34 | 35 | output_jsons = set() 36 | for vals in itertools.product(*factors.values()): 37 | lua_args = dict(zip(factors.keys(), vals)) 38 | while True: 39 | lua_args['output_json'] = '/%d.json' % random.randint(1, 100000) 40 | rand_id = random.randint(1, 1000000) 41 | lua_args['output_json'] = os.path.join(args.output_dir, '%d.json' % rand_id) 42 | if lua_args['output_json'] not in output_jsons: break 43 | output_jsons.add(lua_args['output_json']) 44 | 45 | command = base_command 46 | for k, v in lua_args.iteritems(): 47 | command = '%s -%s %s' % (command, k, v) 48 | 49 | print command 50 | os.system(command) 51 | 52 | 53 | if __name__ == '__main__': 54 | args = parser.parse_args() 55 | main(args) 56 | 57 | -------------------------------------------------------------------------------- /utils.lua: -------------------------------------------------------------------------------- 1 | local cjson = require 'cjson' 2 | 3 | local M = {} 4 | 5 | 6 | function M.setup_gpu(opt) 7 | local dtype = 'torch.FloatTensor' 8 | local use_cudnn = false 9 | local gpu_name = 'cpu' 10 | local cudnn_version = 'none' 11 | if opt.gpu >= 0 then 12 | require 'cutorch' 13 | require 'cunn' 14 | cutorch.setDevice(opt.gpu + 1) 15 | gpu_name = cutorch.getDeviceProperties(opt.gpu + 1).name 16 | local msg = 'Running on GPU %d (%s)' 17 | print(string.format(msg, opt.gpu, gpu_name)) 18 | dtype = 'torch.CudaTensor' 19 | if opt.use_cudnn == 1 then 20 | require 'cudnn' 21 | use_cudnn = true 22 | cudnn.benchmark = true 23 | cudnn_version = cudnn.version 24 | print('Using cuDNN version ' .. tostring(cudnn.version)) 25 | end 26 | else 27 | print('Running on CPU') 28 | end 29 | return dtype, use_cudnn, gpu_name, cudnn_version 30 | end 31 | 32 | 33 | function M.sync() 34 | if cutorch then cutorch.synchronize() end 35 | end 36 | 37 | 38 | function M.timeit(f) 39 | M.sync() 40 | local timer = torch.Timer() 41 | f() 42 | M.sync() 43 | return timer:time().real 44 | end 45 | 46 | 47 | function M.clear_gradients(m) 48 | if torch.isTypeOf(m, nn.Container) then 49 | m:applyToModules(M.clear_gradients) 50 | end 51 | if m.weight and m.gradWeight then 52 | m.gradWeight = m.gradWeight.new() 53 | end 54 | if m.bias and m.gradBias then 55 | m.gradBias = m.gradBias.new() 56 | end 57 | end 58 | 59 | 60 | function M.restore_gradients(m) 61 | if torch.isTypeOf(m, nn.Container) then 62 | m:applyToModules(M.restore_gradients) 63 | end 64 | if m.weight and m.gradWeight then 65 | m.gradWeight = m.gradWeight.new(#m.weight):zero() 66 | end 67 | if m.bias and m.gradBias then 68 | m.gradBias = m.gradBias.new(#m.bias):zero() 69 | end 70 | end 71 | 72 | 73 | function M.read_json(path) 74 | local file = assert(io.open(path, 'r')) 75 | local text = file:read() 76 | local info = cjson.decode(file:read()) 77 | file:read() 78 | return info 79 | end 80 | 81 | 82 | function M.write_json(path, data) 83 | local file = assert(io.open(path, 'w')) 84 | file:write(cjson.encode(data)) 85 | file:close() 86 | end 87 | 88 | 89 | return M 90 | --------------------------------------------------------------------------------