Can you expand on that? As far as I'm aware that's not true (anymore). It runs quite fine on AWS which uses older NVIDIA cards and I know several people use it on older-gen GPU-enabled MBPs.
Yeah, those are just cards we know that work: we don't have all possible GPUs to test our 20+ changes a day on, so we can't formally guarantee it will work on older cards, but in general we try our best to keep it all working for older and even newer cards.
In my experience, the architecture supports cards with shader model >= 3.0. Occasionally a commit will break the support (eg https://bitbucket.org/eigen/eigen/commits/a19653b8035d8ace53... was required earlier this year) but this is a function of the speed of development and usually straightforward to fix.
Not exactly, no. But not even the output of the same framework will always be the same since you are usually randomly initalizing the weights in a network and randomly picking the samples used in SGD[1] (the seed for the RNG could of course be a fixed one to mitigate this somewhat).
But in the end, if you are using the same model, the same solver and the same RNG, yes the output of all frameworks should be the same. In practice this also mostly holds true, since the stochastic processes involved are geared towards finding a good local minimum, which is the same given a model and a dataset.
So, there is a strong chance that you are comparing very different things, and frameworks which perform not good in terms of speed can be far superior in terms of models quality.
I just patched the link on the landing page to the repo [1] and updated benchmarks for Leaf 0.2 + cuDNN 4 for Overfeat and VGG. But I couldn't get Torch and Tensorflow running with cuDNN 4, yet.
Feel free to ping us (TensorFlow) on github issues to get installation issues resolved -- on cudnn r4 we're doing much better, and we're soon to check in a series of changes to get us roughly on par with Torch on cudnn r4.
We'd love to get a more up-to-date representation of the state of our own progress :)
We would love to include those, but we didn't find the implementation for the tested models for Theano, yet. Do you have link? You can also submit your own Benchmarks via PR, if you'd like to.
Ah. I'd look at keras examples - they have alexnet and VGG right now. Although, an exact implementation may be hard to find - the best you can do is an "alexnet~ish" implementation keeping some keras graph limitations on convs.
I haven't run any in a while so I don't have the data myself, unfortunately.
Great input, thank you so much for the links. I will try to get them to work and publish the results. Same with Keras and LSTMs, very curious to see those.
28 comments
[ 3.0 ms ] story [ 84.6 ms ] threadFor more benchmarks (including updated TensorFlow performance with cudnn v4) see https://github.com/soumith/convnet-benchmarks
EDIT: clarification
I guess the cards listed there are not an all inclusive list?
> Supported cards include but are not limited to[...]
These benchmarks aim to highlight the performance differences in terms of speed/memory usage across frameworks and machine configurations.
There is also the practical hurdle that training imagenet models to maximum accuracy takes 1 week+.
Sorry, if I am asking stupid questions.
But in the end, if you are using the same model, the same solver and the same RNG, yes the output of all frameworks should be the same. In practice this also mostly holds true, since the stochastic processes involved are geared towards finding a good local minimum, which is the same given a model and a dataset.
[1]: https://en.wikipedia.org/wiki/Stochastic_gradient_descent
[1]: https://github.com/autumnai/deep-learning-benchmarks
We'd love to get a more up-to-date representation of the state of our own progress :)
I haven't run any in a while so I don't have the data myself, unfortunately.
Great work btw.
What was the motivation to build leaf?
VGG: https://gist.github.com/baraldilorenzo/07d7802847aaad0a35d3
For Googlenet, sadly not yet: https://github.com/fchollet/keras/issues/302
I'd also try some non conv, RNN/LSTM stuff btw. Those are of special interest to me, but also, keras has some great models there.