193 points · by hendler · 11y ago · 150 comments
Our biggest plus factors compared to a GPU is that we are a fully standalone/independent chip that does not need to have a CPU with your main system memory attached to it. Large machine learning data sets are getting into terabytes in size, and the biggest bottleneck with GPUs is the PCIe link limiting them to 16GB/s and adds a whole lot of additional latency. In our case, we have direct connection to DRAM (We've been looking at DDR4 and HMC). In addition, we have designed the architecture to allow massive scalability with up to 384 GB/s of aggregate chip-to-chip bandwidth... NVIDIA's NVLink is aiming for 80GB/s in the 2018/2019 timeframe and will still need a connected CPU to issue jobs.
EDIT: I should also mention that our chip is fully general purpose, but we perform really well when it comes to dense matrix math (Most deep learning), with a 10 to 15x efficiency advantage over GPU. Our real killer app is FFTs, which GPUs do abysmally on, and our current benchmarks are showing a 25x efficiency advantage over the best DSPs and FPGAs built for large constellation FFTs.
A truly specialized deep learning chip probably wouldn't be useful for much else, but it would be a monster at deep learning. And the thing about deep learning is it scales really well. If you have a 10x faster machine you're almost certain to set world records on any machine learning benchmark you try.
We still have the option of including a 16 bit (half precision float) packed SIMD mode into our FPUs, which would add a bit of complexity (bringing our efficiency numbers down a bit for the double precision float, which we like to talk about as it is over 10x better than anything out there), but if there is enough customer interest we may decide to include it.
Do you have any benchmarks on *gemm or FFTs?
We will be releasing benchmark data when we have first silicon back next year. As of right now, our numbers are based on FPGA prototype implementations.
Programmed via OCL? Don't I need some kind of OS/host CPU functionality to load the inputs into DRAM and retrieve them?
Then, if outliers/problems are encountered in the real world, rather than training the end user's neural network alone, the outliers are fed back to the centralised system, and later a new snapshot might be sent out.
After all, people want their self-driving cars and voice recognition phones to work out of the box. And if there's a misclassification you correct on your phone, you want it to propagate to your tablet, PC and smart fridge :)
If things are done that way, I would have thought the market would end up with only a handful of customers - there won't be a need for a deep learning chip in every phone. There might be a world market for maybe five deep learning systems :)
Deep learning--and machine learning more generally, because that's what we're really talking about here--is going to go through the same process. NVIDIA is positioning themselves to be the vertically integrated supplier in this market. The really interesting part is that no one is sure yet what kinds of applications these tools will open up -- it is likely to be an enabling platform/toolset in much the same way relational databases, app stores, or IaaSs were.
AMD and Intel are woefully behind. Intel because it's not yet a big enough market ($137B market cap compared to NVIDIA's $12B, Intel needs an opportunity to be literally 10x as interesting to be interested). Why AMD is not all over this I'm not sure... If it's interesting for NVIDIA, it should be very interesting to a $1.6B operation like AMD.
For Nvidia's market, imo we have to be careful to separate out which kind of ML specifically. Certain kinds of training of deep networks get large speedups from GPUs, which isn't true of all ML techniques. So if Nvidia wants to get a big win in this space by being a vertically integrated tool supplier leveraging GPU hardware, the strategy is tied to a bet on a specific subset of ML techniques, those where the ratio of GPU:CPU performance is especially large.
NVidia have been very good at encouraging the use of their proprietary CUDA. They also have a slight FLOPS advantage I'm told (where AMD have an integer advantage)
AMD are barely treading water in the markets they already compete in. Both Intel (CPU) and NVIDIA (GPU) have stolen back enormous mind and market share [0]. I doubt they could afford the outlay of capital and research time to build something competitive. Maybe if they were in better shape financially a braver board/CEO could pivot them away from the CPU/GPU markets they've lost to something different. Their current road-map takes AMD through to 2016, after that who knows.
[0] NVIDIA's 9XX series GPUs have been incredibly aggressively priced and marketed. AMD effectively ceded the high end consumer (gaming etc) market since September last year. Gaming parts are big PR for both companies, so it's quite a bad sign IMO.
They're barely staying alive, and have been axing branches left and right to "focus". Like selling off their smartphone graphics branch a year after the iPhone was announced… it's now rather successful under Qualcomm (Adreno is an anagram of Radeon).
He's referencing this:
https://en.wikipedia.org/wiki/Thomas_J._Watson#Famous_misquo...
And while I think one can build a deep learning ASIC, a 10x better ASIC seems like a tough bet to me. I mean on the surface it sounds good, but the devil is in the details here and by the time you've built something flexible enough to run every reasonable variant of a neural network both forwards and backwards, you start making the sort of decisions that make your processor look more and more like a GPU and that magical perf delta drops. Also if you start today, you need to target tomorrow's GPUs, not the $1000 consumer model you can buy on Amazon now.
That said, I'm looking forward to Altera's new hardcoded floating point-enhanced FPGAs. Too bad I have no idea how much they cost.
I wonder why the popular deep learning frameworks are using mainly CUDA instead of OpenCL. Is because of better Linux GPU drivers? Wondering why AMD isn't jumping on deep learning
The Altera FP capable FPGA's sound real interesting too. 10 TFLOPS, OpenCL support?
http://www.slideshare.net/embeddedvision/a04-altera-singh
Looks like they're about to be bought by Intel? http://www.electronicsweekly.com/news/business/altera-import...
Does this mean FPGA co-processors in the future from Intel?
But its performance is less than half that of a GTX 980 running CUDA. Still, AMD is silly not to try and improve on this IMO.
Probably in the same ballpark as current high end Altera chips: over $30k. If you need a thousand of them for your datacenter, think about what kind of ASIC you could design for $30 millions. Or think about how many Titan X cards you can buy for $30k :)
Beyond sensing and perception, I believe that deep learning will also be the technology that solves planning, natural language, reasoning, and creativity for machines. This is much more speculative, but you can see the beginnings of planning in the DeepMind Atari work, the beginnings of natural language processing and reasoning in machine translation and various question answering systems, and the beginnings of creativity in Deep Dream and other generative models people have done. Of course once all those pieces are solved then AI is solved. The market for a technology that solves AI is practically unlimited.
Intel is constantly searching for the next big application that will require more processing power so people need to buy faster CPUs and they can justify spending $X billion on their next fab. In recent years they've been struggling to find it. Deep learning is it. The appetite for FLOPS and memory bandwidth is unbounded for the foreseeable future. Unfortunately for Intel, CPUs are weak on both compared to GPUs. Maybe Xeon Phi can morph into a deep learning system?
What blew my mind was this lecture, given by Hinton https://drive.google.com/file/d/0B8i61jl8OE3XdHRCSkV1VFNqTWc...
The main idea is that reasoning is just a sequence of 'thought vectors' that can be encoded within a recurrent neural network.
Sounded almost outlandish to me until I watched Richard Socher's lectures and started to understand that words can be represented as vectors, and that these vectors can be then encoded into new vectors of even higher representation. 'Thought vectors' may not be so outlandish after all.
I would take this (and any such very self-assured predictions) with a grain of salt.
As for the business opportunity, if you are in one of these industries then one of the prime ways you differentiate from your competitors is how well your algorithm works. And how well it works depends a great deal on how much training data you are able to feed into it, which in this era of information saturation is basically a hardware limitation.
Give me a 10x more powerful machine learning system, and I'll give you a few basis points advantage over the competition, and that'll make you, not them, the dominant player.
nVidia has already demoed hardware on that area
Formal proofs even in avionics are very limited, and planes aren't exactly dropping out of the sky. Safety critical systems need a degree of auditing and testing, to be sure, but formal proofs have never been a requirement since they aren't that practical.
whoa - are you telling me that the nVidia drivers on Linux are so stable that they are building a commercial deep learning system on top of that. Is this the same thing as normal graphics drivers ?
nVidia uses CUDA or OpenGL - so its not quite the question of proprietary API.
At this point, I'm not worried about "framerate on my linux box isnt as good as windows".. its more "it works...".
[0] https://developer.nvidia.com/deep-learning-courses
[1] http://on-demand.gputechconf.com/gtc/2015/webinar/deep-learn...
and keep in mind, it is a binary blob. proprietary to the core. in fact, CUDA the protocol itself is kinda proprietary.
if you base your solution on OpenCL, you can use all the vendors. nvidia, amd, imb, intel, altera, etc...
but NVIDIA spends billions on marketing to convince you that only CUDA matters. the same way sony spent millions to convince you that only laser disc^H^H^H^H^H^H mini disc ^H^H^H^H^H memory stick ^H^H^H^H^H blue ray, matter.
$15K is probably OK(ish) if you figure in your own time for the DIY build...probably a few days. Plus you get some vendor support, warranty on the whole package, certified working stack, future test-bed for CUDA updgrades (will work first), etc as you say.
In wild agreement. Save maybe 30% doing a custom build...so they aren't adding a huge mark-up, as they would for a gaming machine. Apparently...someone at Nvidia is looking a bit further into the future than just the short-term revenue.
Makes sense to me, since you want the best airflow possible getting to the cards in a multi-GPU setup, and unlike in conventional cases, the A540 doesn't have a drive cage between the front fans and the video cards.
Yes. You're a drywall contractor you go to Craigslist and start humping some jobs. Make some bucks and buy you a nice F150.
Conversely, there aren't a lot of "need deep learning in my dentistry" ads on CL -- and not as easy or clearcut path from point A to point B.
So the investment makes sense, if the right conditions are true. To the average developer, those conditions look very murky and uncertain to gauge. So while it's obviously some sweet tech, but it takes a lot more than tech.
Which BTW, the drywall impresario who's buying a new truck for his business isn't finding jobs on Craigslist. He's got business relationships with serious people who call him when a bid needs bidding and drywall needs hanging. It's deal flow just as it is for the sort of person who needs a 4 GPU box and CUDA code for their business. It's only a lot of money if it sits idle.
If there isn't a business case, there isn't a business case and buying it is an inefficient allocation of resources.
Of course this isn't for the average developer. Which is why they are marketing it to researchers and maybe AI startups.