358 points · by f2n · 8y ago · 200 comments
After decades of being the principled underdog, hopefully everyone can rally around them and make sure their open source projects work well with AMD products and contribute to their new open source initiatives.
But these days AMD is a serious contender at all levels! If the performance or value isn't actually in AMD's favor, it's near enough to be undetectable outside of a benchmark, and very easy to support the good guys.
But AMD doesn’t run CUDA? Is it very easy to switch a stack relying on CUDA to OpenCL? I don’t think so.
How well it works is likely codebase and application dependent.
The added code complexity was not worth it - we originally did it as NRE for a big client who wanted OEM capabilities to our IP.
Most have some kind of branch or patchset with OpenCL support. The problem is that they aren't great. If you need any new layers there is no support. There is nothing like CuDNN so you don't get the high speed convolutional kernels.
It's great to blame developers for supporting NVidia, but the thing is NVidia are great to work with. They dedicate large teams to deep learning support (not like the 2 or 3 part time Devs AMD does), and they publish good research and tutorials. AMD does nothing like this.
AMD has done some interesting work on HCC (a more proper gpgpu compiler approach with llvm base) and that is showing promise. See here: https://instinct.radeon.com/wp-content/uploads/sites/4/2017/...
Additionally, they support cuda decompiling to HIP which is an intermediary that can be built to target Nvidia (via nvcc) or amd (via HCC).
Nvidia has built a lot of tooling for DL, such as cudnn, and the new Tesla cards have dedicated silicon for tensor calculation. Amd does have a cudnn equivalent called MlOpen. They have also ported caffe via HIP and it works well. Work is being done by amd right now to torch, mxnet and tensorflow to add support for amd hardware with minimal burden to the maintainers of these projects.
You can read about some of the DL toolkits available here: https://instinct.radeon.com/en/6-deep-learning-projects-amd-...
I think it's particularly bad form on behalf of everyone in the DL framework and library world to cator only to Nvidia and cuda, and that they very much walked into this shake down with open arms.
The original comment is correct in that contributing support for OpenCL (which works on mobile too) will alleviate this to a fair degree. It's one of those things where the more momentum is behind it, the more device manufactures will focus on ensuring their opencl compiler is building properly optimized kernels for their hardware.
Start contributing to OpenCL or adding hip support to existing projects and we'll see some viable alternatives pop up from not only AMD, but players like Qualcomm and Samsung.
There's also just not much incentive for people to move to AMD here. There's a reason NVIDIA gives out these graphics cards like candy to academia. It's because they want to make their margins in data center while keeping the broader developer community locked in to cuda.
People on HN make broad and sweeping comments about "if you open it they will come and everything will be magically better".
It's a lot more complicated than that. The market incentives just aren't quite there yet. Could it happen one day? Yes. Will it happen today? No. It's going to take a lot more than this for other vendors to start supporting AMD.
What I will say: There will be competition and the space is heating up. AMD is one player.
Now let me put my commercial hat on here: What would it take for me as a deep learning vendor to support/care about AMD?
1. Show me the money. I need a clear revenue stream. AMD has some hope here. Customers don't care about which gpu they use as long as it fulfills a use case they care about.
2. Code: Show me something that's actually a robust. A 1 off fork of any deep learning framework (see the random 1 off caffe forks that aren't actually caffe by nvidia, intel,amd)
3. Share the burden. Put the code out there and support the broader community. Actually maintain and follow up with the latest innovations (hint: this is hard. throwing code over the wall once doesn't mean anything)
4. Amazon will be key here. Google cloud (look google is great but they aren't the leading cloud player by a long shot and likely won't be anytime soon) - get them on board with some AMD cards.
5. (Disclaimer I know the founders) - make opencl not suck. https://vertex.ai/ is an interesting player in this space.
So look, I won't say it's impossible. Let's just not ignore the actual commercial market forces that are also at play here.
have a look, people had to make a petition to ask AMD to fix their craps.
https://www.phoronix.com/forums/forum/linux-graphics-x-org-d...
Obviously the petitioner is also clueless, or else how could they write "We feel that Radeon hardware is vastly superior to competition", when their hardware in 2013 was nowhere near NVIDIA. (See the review the petition links to for an example...).
You sir are a typical phoronix reader. Uninformed, biased and thick.
If you're involved in the tvm project - are you aware of any major deep learning libraries working on utilizing it? I'd imagine MXNet would be the first one to try it, but I haven't seen anything.
And while slightly off topic, their CPUs contain just as much Evil as Intel's CPUs (PSP/ME). I wouldn't be so quick to call them a "principled" underdog.
1. restrict its software to be deployed at one physical or virtual computer.
2. Similar to one but restrict it to be deployed the specific vendor hardware.
3. Non-commercial usage only
4. Commercial usage allowed but only for small company less than 50 employees, buy more expensive license for that.
What's the difference?
If those ridiculously existing consumer-unfriendly licenses are valid, I think NVIDIA's stupid no-data-center-deployment-except-for-blockchain-processing license is also valid.
But AMD/ATI cards are heavily bought by crypto miners, so it's almost impossible to buy one, even at an insanely high prize. And NVidia cards are compatible with all games made between 2000 and 2017. AMD driver were very bad several years ago. So if you are playing GoG games or older games occasionally there is only NVidia. Yes, both NVidia with their spyware-driver and now this shit, and AMD driver sucks. For CPUs everyone suggests now AMD which are now better than the crippled Intel CPUs with their plastic pads inside the CPU so that a new Intel CPU will last only about 3 years.
I read that AMD cards were friendly to Linux, so after removing my NVIDIA card for stability reasons, I switched to AMD only to have other issues.
I’m still looking for an easy Debian compatible graphics card so I can do CAD (Onshape - OpenGL). The AMD card works now, but I don’t know what to do next time around.
Unsourced Japanese news outlet published an article claiming this clause was added to the EULA. (Edit: located here: https://wirelesswire.jp/2017/12/62708/ )
This version of the EULA, located at: http://www.nvidia.com/content/DriverDownload-March2009/licen..., has the no-data center clause. Note the "2009".
The version linked from the actual driver download page (at https://www.geforce.com/drivers/license ), has no such clause.
I think I'll postpone my outrage until the clause appears on the EULA that I actually have to agree to when I download GeForce drivers.
Alright, edit: For me, downloading drivers through https://www.geforce.com/drivers gets me the second EULA that I linked to. However, downloading drivers through http://www.nvidia.com/Download/index.aspx?lang=en-us gets me a EULA with this data center "limitation". This seems to me to be pretty problematic and an ineffective update.
On Windows, it's also the license you must accept during installation time before you can use the driver, even if you did not accept it during your download.
Interestingly, the license inside the Linux package does not include the data centre clause at this point in time.
https://www.geforce.com/drivers/license/geforce
http://www.nvidia.com/content/DriverDownload-March2009/licen...
Then clicked through to https://www.geforce.com/drivers/results/126577. This page has the standard "*By clicking the "Agree & Download" button, you are confirming that you have read and agree to be bound by the License For Customer Use of NVIDIA Software..." That sentence links to the EULA that I linked to.
EDIT: Alright, it matters which site you download the driver from. See the edit to my original comment.
Restricting innovation is an anti-competitive and frankly a dumb move -- who knows how many innovations were discovered in data centers that made their way to the mainstream.
That said, It's a little easier for me to be outraged at this, I'm already running Radeon, so I've already voted with my wallet.
The second link is presented and you agreed upon when you try to download the GeForce or Titan driver software from NVIDIA website.
At least, try to read the title.
Oh and the original Japanese version of the article does have a source(has a link to the second link) https://wirelesswire.jp/2017/12/62658/
Thanks for pointing out that the original Japanese article did have a link.
Everyone on HN knows to always go with free, open software. Without competition any company (Intel, nvidia, etc.) starts to exploit the consumer.
2. Sell it to companies who bought racks full of GeForce GPUs for deep learning.
3. Profit!
They at least used to be responsive to questions a couple of years back when they started publishing the docs, but I'm not up-to-date on the present situation.
I thought they were trying to mitigate the diversion of gaming gpus towards mining, apparently not.
The Tesla V100 is $17,000: http://www.nextwarehouse.com/item/?2782569_g10e
We're talking the difference of ~5.5x the price here for otherwise similar cards.
It works pretty well, but i couldn't reliably train production models for work on it. it's just too flaky. I mentioned this to our 'trustworthy' dell rep who suggested that a good v100 suite would surely solve all the reliability problems, what with it's greatly increased memory bus, or something...
https://www.oreilly.com/ideas/distributed-tensorflow
On a DeepLearning11 server (cost $15K), you get about 60-75% DL training performance compared to a DGX-1 (cost $150k)
Check Tensorflow issue 22 for more info.
Just sayin.
Do you really think a judge would be swayed by your little word game?
This will also not be enforceable in all countries. It is probably not enforceable at sea where maritime law rules.
It's only with software that people consider it acceptable for the vendor to tell you what you can and can't do.
Won't this just be hurting their own sales possibilities? I can only guess they'll be announcing some datacenter-specific version of the software soon, which is essentially the same but mysteriously more expensive.
They don't want their consumer line (GeForce) competing with their datacenter line (Tesla).
They previously reduced the FP64/FP16 performance on GeForce cards (making them much worse for neural networks), but it's easier to limit the losses legally than by reducing hardware. Modern games don't want artificially limited ALUs!
"GeForce GTX 1080, on the other hand, is not faster at FP16. In fact it’s downright slow. For their consumer cards, NVIDIA has severely limited FP16 CUDA performance. GTX 1080’s FP16 instruction rate is 1/128th its FP32 instruction rate, or after you factor in vec2 packing, the resulting theoretical performance (in FLOPs) is 1/64th the FP32 rate, or about 138 GFLOPs."
EDIT: I was wrong. Apparently they dont include this "datacenter" provision http://www.nvidia.com/content/DriverDownload-March2009/licen...
The first two criteria in your list are irrelevant, it's purely due to licensing.
Isn't this similar to how movie studios used to require Video Rental Stores pay more money for a film, vs the retail cost?
This gives you a while to continue using the cards, without violating the ToS.
For all new servers you set up, you will have to look at other solutions, though.
Edit: Some driver download pages currently link to this page.
I have 2 racks in my basement, if I had an NVIDIA GPU in one of my servers for playing games, am I violating their EULA?
Not sure what's the way out. The market doesn't and won't care (that's exactly why they're doing it), and you can't legislate things as vague as "don't be an greedy asshole", which is what all of this boils down to.
Don't be surprised. NVidia are assholes.
https://github.com/sk1080/nvidia-kvm-patcher/blob/master/REA...
https://www.eevblog.com/forum/chat/hacking-nvidia-cards-into...
The difference between their "professional" GPUs and regular ones is literally a few sub-cent resistors.