News for hackers. Stuff that matters.
Re:Which GPUs to Get for Deep Learning by ceduic on Monday February 23, 2015 @02:30PM (#9096428)
Weird that there's not a single mention of AMD cards.
Re:Which GPUs to Get for Deep Learning by Homunculiheaded on Monday February 23, 2015 @03:39PM (#9096862)
My experience has been that none of the major Deep Learning libraries (Theano, Torch7, Caffe) offer support for OpenCL, whereas they all make it trivially easy to get models running on a CUDA GPU. On top of that NVIDIA has a library of deep neural network primatives[0], and I don't believe AMD offers anything similiar.

The general consensus I've seen is to just get an NVIDIA card if you're serious about working with deep neural nets on the GPU.

One thing that did surprise me was that there was no mention of using EC2 GPU spot instances for getting your feet wet. If you don't have access to a GPU with CUDA support you can get a spot instance for about $0.07 an hour to at least test out that you have your GPU code configured correctly (and you will see some performance gains). There are even a couple of AMIs out there with Torch7 and Theano already installed.

0.https://developer.nvidia.com/cuDNN

Re:Which GPUs to Get for Deep Learning by timdettmers on Monday February 23, 2015 @03:44PM (#9096889)
Thanks for elaborating, these are exactly the points why AMD's GPUs are just not used in deep learning.

AWS is great if you want to use a single or two separate GPUs. However, you cannot use them for multi-GPU computation as the virtualization cripples the PCIe bandwidth; there are rather complicated hacks that improve the bandwidth, but it is still bad. Everything beyond two GPUs will not work on AWS because their interconnect is way to slow.

Re:Which GPUs to Get for Deep Learning by RussianCow on Monday February 23, 2015 @02:53PM (#9096559)
That was my first thought as well. I know Nvidia pretty much dominates the GPU deep learning scene, but I talked to some devs who said they got more bang for their buck using AMD GPUs. And it seems their docs have gotten significantly better over the years.
Re:Which GPUs to Get for Deep Learning by higherpurpose on Monday February 23, 2015 @03:10PM (#9096689)
Maybe they just prefer using CUDA over OpenCL? Perhaps AMD can change that around when HSA is supported across all of its product lines.
Re:Which GPUs to Get for Deep Learning by timdettmers on Monday February 23, 2015 @02:59PM (#9096599)
Why I did not mention AMD cards: NVIDIA's standard libraries made it very easy to establish the first deep learning libraries in CUDA, while there are no such powerful standard libraries for AMD's OpenCL. Right now, there are just no deep learning libraries for AMD cards -- so you just cannot use AMD cards for deep learning.
Re:Which GPUs to Get for Deep Learning by foxhill on Monday February 23, 2015 @03:51PM (#9096930)
i feel that you should have at least mentioned it, otherwise it feels like the article implicitly asserts that only NVIDIA GPUs exist, or perhaps even that you are some way not impartial (partial..? that sounds strange).
Re:Which GPUs to Get for Deep Learning by timdettmers on Monday February 23, 2015 @04:10PM (#9097076)
Thanks for your feedback. I updated the blog post with a small NVIDIA vs. AMD section.
Re:Which GPUs to Get for Deep Learning by Lorkki on Tuesday February 24, 2015 @04:10AM (#9099520)
That and Nvidia's OpenCL implementation is almost the bare minimum you can do to say you have one (unless things have changed significantly within the past year or so). Improvements to OpenCL libraries are unlikely to come from anyone already locked into using their hardware.
Re:Which GPUs to Get for Deep Learning by nsxwolf on Monday February 23, 2015 @05:21PM (#9097443)
Sounds like an opportunity for someone.
Re:Which GPUs to Get for Deep Learning by dima55 on Monday February 23, 2015 @03:19PM (#9096745)
say that in the article
Re:Which GPUs to Get for Deep Learning by Teodolfo on Monday February 23, 2015 @04:16PM (#9097116)
The libraries all use CUDA right now. Hopefully people will eventually have more OpenCL stuff.
Re:Which GPUs to Get for Deep Learning by maaku on Monday February 23, 2015 @03:04PM (#9096628)
AMD cards are slow, for these sorts of applications.
Re:Which GPUs to Get for Deep Learning by timdettmers on Monday February 23, 2015 @03:06PM (#9096657)
AMD cards were much faster than the Kepler equivalents, but now NVIDIA fixed their mistakes in that architecture and they are as fast as AMD cards. So AMDs hardware is good, it is just a software issue.
Re:Which GPUs to Get for Deep Learning by wtallis on Monday February 23, 2015 @03:14PM (#9096716)
Was Kepler actually slow, or did it just seem that way because the 680 was built with their mid-range chip while the big high-end GPGPU-oriented chip was initially reserved for the server products?
Re:Which GPUs to Get for Deep Learning by timdettmers on Monday February 23, 2015 @03:23PM (#9096765)
Tesla GPUs are also rather slow, but the value of Tesla lies in increased double performance, larger memory and memory correction -- and you cannot beat Tesla GPUs in these departments.
Re:Which GPUs to Get for Deep Learning by wtallis on Monday February 23, 2015 @03:09PM (#9096675)
Care to offer any benchmarks or an explanation of the architectural deficiencies that would make them dramatically under-perform their FLOPS and memory bandwidth ratings? When AMD cards were vastly preferred over NVidia for bitcoin mining, it had a very simple and straightforward explanation.