cudnn_rnn_theano_benchmarks's People
cudnn_rnn_theano_benchmarks's Issues
Benchmark results on i5 6600 + GTX 1070 machine
Hello, firstly I want to thank you for providing the nice code samples and benchmark results!
I think it would be great to include compile time on the results, because I saw that using cuDNN decreased the compile time substantially. (over 20 seconds vs. about 5~6 seconds)
Using your codes, I ran benchmarks on my machine.
On small networks, there were no big differences, and for a very small network using cuDNN performed worse than the pure Theano version.
Some of my experimental results do not match your results, especially when the model is very simple (-b 32 -t 30 -o 128 -d 1) and when the model is very complex (-b 128 -t 200 -o 1024 -d 3).
Depth 1
Batch Size 32 x Seq Len 30
Hidden Size 128
Version | Train (µs) | Forward only (µs) |
---|---|---|
Theano | 108.0 | 32.1 |
cuDNN Theano | 108.5 | 44.4 |
Hidden Size 512
Version | Train (µs) | Forward only (µs) |
---|---|---|
Theano | 401.7 | 106.1 |
cuDNN Theano | 228.5 | 87.4 |
Hidden Size 1024
Version | Train (µs) | Forward only (µs) |
---|---|---|
Theano | 888.6 | 235.6 |
cuDNN Theano | 441.9 | 161.7 |
Batch Size 128 x Seq Len 30
Hidden Size 128
Version | Train (µs) | Forward only (µs) |
---|---|---|
Theano | 105.8 | 29.1 |
cuDNN Theano | 29.9 | 11.3 |
Hidden Size 512
Version | Train (µs) | Forward only (µs) |
---|---|---|
Theano | 399.9 | 103.9 |
cuDNN Theano | 102.8 | 29.1 |
Hidden Size 1024
Version | Train (µs) | Forward only (µs) |
---|---|---|
Theano | 932.1 | 241.0 |
cuDNN Theano | 218.1 | 78.9 |
Depth 3
Batch Size 128 x Seq Len 30
Hidden Size 512
Version | Train (µs) | Forward only (µs) |
---|---|---|
Theano | 592.3 | 294.7 |
cuDNN Theano | 254.3 | 70.8 |
Hidden Size 1024
Version | Train (µs) | Forward only (µs) |
---|---|---|
Theano | 1386.4 | 690.8 |
cuDNN Theano | 722.3 | 246.9 |
Batch Size 128 x Seq Len 200
Hidden Size 512
Version | Train (µs) | Forward only (µs) |
---|---|---|
Theano | 1880.6 | 1065.9 |
cuDNN Theano | 1678.3 | 447.8 |
Hidden Size 1024
Version | Train (µs) | Forward only (µs) |
---|---|---|
Theano | 6133.5 | 3609.7 |
cuDNN Theano | 4867.0 | 1593.2 |
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.