151 points · by jonbaer · 10y ago · 83 comments
I am aware of about fifteen different sites that are enacting significant architecture changes as the 5110 supplies dry up and the 7120s are clearly next.
It does not matter which product is technically superior when one of them is literally unsupportable.
Intel are correct that the memory size on GPUs is increasingly becoming a problem in some complex deep learning models. Having access to cheap(ish) DDR4 RAM using the same programming model would be a big win.
Interestingly, AMD is going after a related market (visualization) which is also very RAM hungry by building GPUs with M.2 SSDs onboard[1]. AFAIK no one has tried these for deep learning.
But within the deep learning community there's a fair bit of cynicism about Intel's claims. Over the last few years they have frequently claimed parity with GPUs... any day now. Yet they keep falling further behind in any useful benchmark.
[1] http://www.anandtech.com/show/10518/amd-announces-radeon-pro...
Found this comment useful as it's not clear to me whether the 'Knights Landing' will actually be comparable to GPU in terms of pure grunt.
Then I wonder if Nvidia will respond with more memory on their cards. From my totally uninformed perpective, that would seem easier than the transition Intel are trying to go for.
Intel could bypass that and end up with an easier programming model. But.. believe it when you see it.
Note that this is almost entirely about deep learning though. Non DL machine learning is mostly done on CPUs at the moment (with a few exceptions) and generally performs adequately. More speed is always nice, but you don't hear a lot of complaints about XGBoost's speed, or FastText, or VopalWabbit, or the various FTL regression algorithms implemented on CPUs.
Having a non-integrated GPU (i.e. NVIDIA or AMD) in a machine is not a stretch of the imagination these days. This means that any curious dabbler can grab Tensorflow and start learning ML. Over the past few months, I've been seeing exactly this on HN: many developers with ML Show HNs. In my opinion, it is precisely the general availability of ML that has caused this explosion.
As you pointed out, the above scenario falls away entirely under an expensive SKU. I strongly believe that having to buy any specific SKU in order to approach this stuff will spell doom for the tech. If it's not on every SKU down to the Core 2, I really can't see it taking off.
Once you have the software, a service is fine. But the ecosystem of tools around NVidia CUDA and CuDNN is there because you can buy a gaming card for a few hundred dollars and hack up libraries you find useful.
I'm curious where AMD falls in this war. While it's true GPU can provide really nice theoritical TFLOPS, the cost of moving data in and out of the GPU's memory is a well known issue. This renders GPU much less attractive for real applications.
The reason I mentioned AMD is that I read some time ago about their Heterogeneous system architecture [1]. One of the HSA's goal is to get rid of the particular issue of moving that data. I wonder if this was adopted in any HPC cluster or anywhere else.
[1] http://developer.amd.com/resources/heterogeneous-computing/w...
I'm not sure of cracking a new market space would be a good idea either, just like how they aren't trying to go toe to toe with Allwinner offering H3 SOCs for $1ea with a quadcore and H.265 hardware decoding, it might not make sense to get into a 3 way war with Intel, Nvidia, etc.
Retaking or getting into another market with a single vendor or none presently would likely be more profitable, just as VIA did with their point of sale motherboards with crypto accelerators and tons of serial ports.
AMD only has so much money and talent, getting into a pissing contest is not something they are looking to do. Intel can piss harder and longer than them (just look at the contra-revenue they did with the HP Stream 7 and the $50 Walmart android tablet, Intel charged the manufacturer for the chip $X and paid them $X+Y for using said chip to compete with ARM).
I thought so too, but looking at it stock recently it seems to be doing much better (especially in last year). Not sure how to interpret that. Wonder if it was mostly investors being happy they divested from that ARM microserver company, or there is genuine upswing and increased market share.
One interpretation: NVIDIA has been doing a very good job of A) pursuing deep learning and B) talking that up on earnings calls. Even if they're not seeing much money from it right now, investors are excited that they might in the future.
This leads some investors and algos to think, "Hey, NVIDIA is doing well, and AMD is nominally in the same business as NVIDIA, so let's buy AMD because it's cheaper and therefore must represent a better value." This drives up the price of AMD stock, which is itself already prone to more volatility because of their lower market cap.
However, they are two fundamentally different companies. I hear a lot about founder-led vs non-founder-led businesses, and AMD vs NVIDIA is a good example of non-founder-led vs founder-led atm. Also, they've done a very poor job with their ATI acquisition. The ATI acquisition is why they even have a leg to compete with NVIDIA in the first place, but that train has basically left the station at this point.
Intel is in a weird position because their market cap is 10x NVIDIA's, so they need markets where they can make literally 10x more money than for NVIDIA to be interested. Victims of their own success, innovators dilemma, etc. Personally, I think that will hinder them because everything they want to try won't be "big enough" while NVIDIA doesn't suffer from that problem and AMD just has no idea what it's doing besides professional supply chain management.
Respect where it's due, Nvidia will win the hardware side of deep learning and fast matrix multiplication for the foreseeable future.
If you keep in mind that they only need to capture something like 10% to 20% of the server market to double their revenue you can see why people are willing to bet on them.
Of course if they've been fudging the Zen numbers as they've done in the past then they'll probably be done as a company, but it seems very unlikely this time around.
They also have HIP for converting CUDA code into performance cross platform code.
http://wccftech.com/amd-exascale-heterogeneous-processor-ehp...
They been talking about killing GPU many years. They been doing it both technical and non-so technical point. E.g. in 2011 Intel paid $1.5Bln to NVIDIA, because the Intel killed NVIDIA chipset business through not so fair licensing practice.
Instead NVIDIA invested so much in the GPU computing ecosystem CUDA. For many early years it was niche, but quickly growing. However, they hit jackpot with deep learning. I wouldn't be surprised that majority of self-driving cars will have NVIDIA chip in it.
AMD, on the other hand, while fighting Intel and Nvidia for the past decade and coming up short, may be at the horizon of a breakthrough. Only AMD seems ready to find the synergy between CPUs and GPUs. A Zen and Vega combination of architectures could essentially be an Intel i7 top of the line + an Nvidia GTX top of the line. Add some special sauce, and they could really do it.
Nothing that Intel has done in a long time has been impressive, but Nvidia is on fire. AMD's CPUs may help them leap ahead instead of merely catching up (which Vega may do anyway).
In the best case, the architecture will be able to avoid memory copies, but although inconvenient, existing applications have been able to pipeline host-device/device-host memory copies, effectively negating the problem.
Even on this limited promise, AMD hasn't been able to deliver.
Contrary to what you may believe, that "synergy" does mean a lot, considering that one of the worlds fastest supercomputers does run on Opterons and NVIDIA Tesla cards.
The thing is, high-performance computing is a niche market. Yet typical consumer hardware needs aren't CPU-driven, but GPU driven. Computer games don't take advantage (or need) multi-core CPUs, thus AMD's bet on the 6-core and 8-core AMD FX line didn't paid off as it was expected. Yet, everyone needs a good GPU to run games, and the "synergy" between that the CPU delivers and the GPU processes ends up being the bottleneck in consumer hardware.
What? Their first iterations were somewhat meh (Tegra K1 with Denver 1 in the Nexus 9), but the latter iterations and reoriented focus (Jetson K1, K1 with A15s, Denver2) having been scoring some excellent design wins.
Sure, Intel is part of every Nvidia system, but they're becoming a smaller and smaller part in dollar amounts. It's not uncommon that the GPUs in a CUDA setup costs 4-10 times as much as the CPUs. And at the end of the day it's much easier to replace Intel CPUs with AMD CPUs in a system, than it is to replace Nvida GPUs with AMD GPUs. Plus Nvidia feels a lot closer to come up with a CPU good enough to replace Intel in these systems than Intel is at coming up with something to replace Nvidia.
You can buy an "eccentric room heater" from AMD with 8 CPU cores for around 100€, which in some benchmarks runs equivalent to Intel's 900€ processors.
Intel fanboys usually take jabs at AMD but they seldom back them up with evidence.
Now, please show us non-trivial use cases where recompiling "good old X86" to Knights Mill architecture yields satisfactory performance?
To get good performance you need to ensure your code makes good use of Knights Mill vector instructions (AVX-512*).
Using a GPU is much more complex, because it has a separate memory space and you have to copy arrays back and forth. It's easy to lose all your performance gains if you get the array allocation wrong.
If you're using it in standalone mode then keep in mind that every part of code that is not using AVX runs on slow Atom-like CPU. You have to vectorize code yourself or find a library that did that for you.
Neither of above is close to "recompile good old X86 and run".
Obviously if your code is completely serial (and arguably bad), you have a lot of work ahead of you. Whereas, if you have been taking advantage of AVX already (or relying on libraries that do), you are basically just going to need to recompile.
Are you going to get peak on a KNL? God no. But if it runs well on a "normal" processor, it is likely to run pretty well on the KNL. Which is a MUCH better foundation to start from than if you are trying to port a code to a GPU
And those tweaks you make to better utilize that KNL? It will probably improve normal perf as well.
It is obviously not as simple as the marketing led us to believe, but it never is. GPUs are a load of toss without a lot of work (and often some creative presentations). But the underlying principle of "Use the same code on both types of processor" does actually hold true as of KNL.
As for performance numbers: Check the presentations from SC as they become available. Multiple outlets have begun to publish, or at least present, these numbers and their experiences using KNLs. I would personally argue that we still have a long way to go, but there is actually light at the end of the tunnel and it does look like there is an actual path now.
Then again, CUDA is NVidia only.
I expressed some vague interest in using CUDA for something and we were offered a demo account on one of their boxes, invited to apply for an academic hardware grant, and pointed at tons of training material (books, a MOOC, conferences, and even some 1-2 day sessions), libraries, and other resources.
On the other hand, my institute apparently has some Phis. I discovered this because there's a small queue with that name on our cluster. I don't think I've ever been contacted by an Intel rep or offered training material--or even marketing material--from Intel, let alone a Phi of my own to experiment with.
Intel has forced Nvidia out of the mobile and lowend/midrange desktop space, eliminating what used to be their bread and butter, so this pivot by Nvidia to markets where they either control the whole stack with their custom ARM cores, or where Intel can't lock them out by getting rid of PCIE lanes like on laptops/desktops (AMD would get subbed in cause PCIE lanes are all that matter) has definitely put them in a stronger position, justifying that valuation.
Looked into it, [0] looks like you add some compiler instructures before code you want to outsource to the coprocessor. It doesnt look extreme, mostly naming which variables need to be sent and to where. Ive never worked with cuda so I dont know if its a pain or not. Looking into it, it seems instead of x86 code it is cuda prefixed functions that will offload. Granted, there are speed advantages to having direct accessbto memory, I dont think Api is the biggest selling point.
Im quite interested in seeing if nvidia thinks this is a threat and how they will respond. New systems may stay with nvidia just because the experience and failures have been there. Though if the speed gains are even 25% I would bet there would be a migration
[0] https://software.intel.com/sites/default/files/managed/ee/4e...
This a million times! The SIMT programming model that the GPUs (except Intel's) support so well is way easier to program and parallelize for than the explicit SIMD that x86 requires.
PS. Are you the person that wrote gogui?
https://en.m.wikipedia.org/wiki/Xeon_Phi
It's not threads, it's driver and compiler support for existing multiprocessing frameworks.
"Please don't get too far into the OpenCL/SPIR/etc software ecosystem, guys. We will totally lap these GPUs Real Soon Now. And the best part is that it will all be x86!"
I really wish Intel would produce a real GPU with fixed-function parts like the competition (and GDDR5 or whatever's next!). Their most attractive quality is their commitment to the open source world.
Sounds great, when will it..
>Intel loosely laid down plans to eventually integrate the unique Nervana architecture with Xeons this week, but was hesitant to put a year stamp on when that might happen.
So their theoretical eventual integration is hypothetically 100x faster than current-gen GPUs?
If they can deliver, great news for deep learning - but this seems like a lot of speculation.