Git Product home page Git Product logo

dl-benchmarks's Introduction

DL-benchmarks

This is the companion code for DL benchmarking study reported in the paper Comparative Study of Deep Learning Software Frameworks by Soheil Bahrampour, Naveen Ramakrishnan, Lukas Schott, and Mohak Shah. The paper can be found here http://arxiv.org/abs/1511.06435. The code allows the users to reproduce and extend the results reported in the study. The code provides timings of forward run and forward+backward (gradient computation) run of several deep learning architecture using Caffe, Neon, TensorFlow, Theano, and Torch. The deep learning architectures used includes LeNet, AlexNet, LSTM, and a stacked AutoEncoder. Please cite the above paper when reporting, reproducing or extending the results.

Updated results

Here you can find a set of new timings obtained using cuDNNv4 on a single M40 GPU on the same experiments performed in the paper. The result are reported using Caffe-Nvidia 0.14.5, Neon 1.5.4, Tensoflow 0.9.0rc0, Theano 0.8.2, and Torch7. Note that Neon does not use cuDNN.

  1. LeNet using batch size of 64 (Extension of Table 3 in the paper)
Setting Gradient (ms) Forward (ms)
Caffe 2.4 0.8
Neon 2.7 1.3
Tensorflow 2.7 0.8
Theano 1.6 0.6
Torch 1.8 0.5
  1. Alexnet using batch size of 256 (Extension of Table 4 in the paper)
Setting Gradient (ms) Forward (ms)
Caffe 279.3 88.3
Neon 247.0 84.2
Tensorflow 276.6 91.1
Torch 408.8 98.8
  1. LSTM using batch size of 16 (Extension of Table 6 in the paper)
Setting Gradient (ms) Forward (ms)
Tensorflow 85.4 37.1
Theano 17.3 4.6
Torch 93.2 29.8
  1. Stacked auto-encoder with encoder dimensions of 400, 200, 100 using batch size of 64 (Extension of Table 5 in the paper)
Setting Gradient (ms) AE1 Gradient (ms) AE2 Gradient (ms) AE3 Gradient (ms) Total pre-training Gradient (ms) SE Forward (ms) SE
Caffe 0.8 0.9 0.9 2.6 1.1 0.6
Neon 1.2 1.5 1.9 4.6 2.0 0.9
Tensorflow 0.7 0.6 0.6 1.9 1.2 0.4
Theano 0.6 0.4 0.3 1.3 0.4 0.3
Torch 0.5 0.5 0.5 1.5 0.6 0.3
  1. Stacked auto-encoder with encoder dimensions of 800, 1000, 2000 using batch size of 64 (Extension of Table 7 in the paper)
Setting Gradient (ms) AE1 Gradient (ms) AE2 Gradient (ms) AE3 Gradient (ms) Total pre-training Gradient (ms) SE Forward (ms) SE
Caffe 0.9 1.2 1.7 3.8 1.9 0.9
Neon 1.2 1.6 2.3 5.1 2.0 1.0
Tensorflow 0.9 1.1 1.6 3.6 2.1 0.7
Theano 0.7 1.0 1.8 3.5 1.2 0.6
Torch 0.7 0.9 1.4 3.0 1.4 0.6

Run the benchmarks

See the readme file within each folder to run the experiments.

License

DL-benchmarks is open-sourced under the MIT license. See the LICENSE file for details.

For a list of other open source components included in DL-benchmarks, see the file 3rd-party-licenses.txt.

dl-benchmarks's People

Contributors

dl-benchmarks avatar choeppler avatar

Stargazers

lukas.schott avatar Nikolaos Dionelis avatar

Watchers

lukas.schott avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.