5 ms·
Which GPUs to Get for Deep Learning
- antimora 12y agoDoes anyone know if there are options to use GPUs on AWS to do calculations using Python for Deep Learning?
- valarauca1 12y agoAmazon has GPU powered instances [1] Python has pycuda [2] Python has OpenCL [3] amusing ran by the same person as pycuda [1] http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using_cluster_computing.html http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using_clu... [2] http://documen.tician.de/pycuda/ http://documen.tician.de/pycuda/ [3] http://documen.tician.de/pyopencl/ http://documen.tician.de/pyopencl/
- deleted 12y ago[deleted]
- jo_ 12y agoThe gx2.2 instances will run you $0.650 per hour of compute time and have K520 (?) in them, which works pretty well. There are a few preconfigured instances, but if you want to make your own and go through the hassle, it will take about two hours to set up. When you're spinning up your instance, do a search for CUDA and you'll see a few Ubuntu preconfigured images with Theano+PyLearn2 already installed. Spawn them on the aforementioned GPU instance and you're good to go.
- adrianbg 12y agoTheano supports CUDA: http://deeplearning.net/software/theano/ http://deeplearning.net/software/theano/ http://deeplearning.net/software/theano/tutorial/using_gpu.html http://deeplearning.net/software/theano/tutorial/using_gpu.h...
- obrienmd 12y agoThe new Maxwell 970/980 kit is very interesting from a compute perspective. 970: $329 for 3494 SP / 109 DP GFLOPS @ 145W TDP 980: $549 for 4612 SP / 144 DP GFLOPS @ 165W TDP
- miahi 12y agoIf the article is correct (saying that the memory bandwidth is very important) then a 780Ti is still interesting (336GB/s[1] vs 224GB/s[2]). They increased the memory clock but they decreased the memory interface width from 384 to 256-bit, for some reason. [1] http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-780-ti/specifications http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-780... [2] http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-980/specifications http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-980...
- happycube 12y agonVidia released the first level cutdown (GM204) as the "80" part, while it really should be the 960 at most - the full/big Maxwell core hasn't been released yet. Chances are the first fabbed version simply didn't work and they're waiting for the GM210.
- liuliu 12y agoHmm. I am thinking about to get additional two GPUs for my configuration. 980 indeed sounds interesting, but the memory is too small. Any rumors about when NVIDIA plan to release a 6G+ card at similar price point as Titan?
- brigade 12y agoNo rumors, but it would make sense to come out about a year after they released the Titan black, which itself was about a year after they released the original Titan.
- benanne 12y agoAnandtech has some compute benchmarks for the 980: http://www.anandtech.com/show/8526/nvidia-geforce-gtx-980-review/20 http://www.anandtech.com/show/8526/nvidia-geforce-gtx-980-re... unfortunately I don't know which of these are representative of typical deep learning workloads, i.e. lots of GEMM calls, basically. A discussion about this is ongoing on the G+ Deep Learning community as well: https://plus.google.com/+SanderDieleman/posts/7ua9oCdRFV7 https://plus.google.com/+SanderDieleman/posts/7ua9oCdRFV7 This thread on the NVIDIA forums is also interesting, someone mentions they achieved > 6 TFlops for SGEMM on an overclocked GTX 980: https://devtalk.nvidia.com/default/topic/776043/cuda-programming-and-performance/whats-new-in-maxwell-sm_52-gtx-9xx-/2/ https://devtalk.nvidia.com/default/topic/776043/cuda-program...
- agibsonccc 12y agoFor those looking to do it on the jvm, I have a prepacked scientific computing framework that might be interesting: http://nd4j.org/ http://nd4j.org/ This is a generic wrapper with ndarrays for cuda and normal blas operations. Deeplearning4j (my deeplearning project) also has support for GPUs (it's built on nd4j) Stable version coming soon =D For those of you in python land, I would look in to theano
- postit 12y agoI'll give a shot over the next weeks. I'll let you know my comments.
- agibsonccc 12y agoI look forward to it, it's obv still very new, but I think the idea of a common interface for ndarrays on the jvm has potential.
- e_modad 12y agoHey Adam, I just want to say I loved the recent talks you've given. The one at Hadoop Summit with Josh Patterson was so cool as a general overview. Keep it up!
- agibsonccc 12y agoThanks! Things are coming along.
- simplyinfinity 12y agoIs there any reason why there isn't any AMD GPU? Mantle?
- TTPrograms 12y agoMy guess is that while AMD GPUs would likely be better raw performance/$, my understanding is that their version of CUDA is sorely lacking compared to nVidia's offering.
- agapos 12y agoAMD GPU's have no CUDA support, if someone wants to do some computing on it, usually OpenCL is the way to go.
- TTPrograms 12y agoSorry, when I say "version of CUDA" I meant "whatever the hell they have on AMD" :) Last I heard CUDA will outperform OpenCL on nVidia vs AMD at the same price point generally as a result of CUDA being in house and closer to hardware. As a result if you just care about compute performance you would go nVidia. If AMD offered their own Mantle based compute offering it would probably shift the other way.
- wmobit 12y agoThere isn't really anything fundamentally that would make CUDA faster that OpenCL. There aren't any huge semantic differences between them.
- liuliu 12y agoThe computing model, no, not really anything fundamentally different. It comes to tooling and profiling under Linux. Also, NVidia has slightly beefer cores and fewer ones, where as AMD has more cores (as I heard). Thus, for me, CUDA is a more complete tool-chain with proper compiler (nvcc), profiler (nvprof, nvvp) and libraries (cublas, cudnn, cufft).
- benanne 12y agoI disagree with his position on memory (he mentions in the post that anything above 1.5GB should be fine). In my experience, anything below 3GB can be pretty uncomfortable these days, if you want to work on serious problems. It's not just about fitting the parameters into GPU memory, but also all the operations you perform on them, which can require a lot of intermediate storage. The example he gives only has fully-connected layers, but convolutional neural networks tend to require more space, especially some more recent implementations (e.g. FFT-based convolutions or the GEMM approach used by Caffe). He mentions that his network (fully connected) has 52M parameters and compares it to Krizhevsky's 2012 ImageNet network (convolutional) network, which had 60M. But Krizhevsky actually explicitly mentions in his paper that memory was an issue: "A single GTX 580 GPU has only 3GB of memory, which limits the maximum size of the networks that can be trained on it. It turns out that 1.2 million training examples are enough to train networks which are too big to fit on one GPU. Therefore we spread the net across two GPUs." (from http://papers.nips.cc/paper/4824-imagenet-classification-with-deep-convolutional-neural-networks http://papers.nips.cc/paper/4824-imagenet-classification-wit... )
- deleted 12y ago[deleted]
- PostOnce 12y agoSerious is a spectrum, someone working on more "serious" problems than you might laugh at the idea of doing any work at all on a single consumer GPU.
- benanne 12y agoWell, I did say "in my experience" :) I certainly didn't mean to imply that problems requiring less than 3GB of GPU RAM are laughable, or anything like that. I should have said something like like "problems that people are currently writing papers about", maybe.
- driverdan 12y agoThe best value right now are used AMD GPUs. GPU cryptocurrency mining has become unprofitable so the used market is saturated with 290, 280x, and other AMD GPUs. If you have a limited budget this is probably the way to go.
- scottlocklin 12y agoWhat DL packages target AMD GPUs?