News for hackers. Stuff that matters.
Re:Nvidia announces its most powerful AI chip as it seeks to... by nemothekid on Tuesday March 19, 2024 @12:21AM (#39752919)
>My prediction is eventually there will be anti-trust ligitation, they will be required to open the CUDA standard, after which AMD will become a competitor.

If AMD isn't a competitor before government intervention, I don't the government forcing nvidia to open up CUDA changes much. CUDA's moat isn't due to some secret sauce - nvidia put in the developer hours; and if AMDs CUDA implementation is still broken, people will continue to buy nvidia.

There has been a lot of trying to get AMD to work - Hotz has been trying for a while now[1] and has been uncovering a ton of bugs in AMD drivers. To AMD's credit, they have been fixed, but it does give you a sense of how far behind they are in regards to their own software. Now imagine them trying to implement a competitor's spec?

[1] https://twitter.com/__tinygrad__/status/1765085827946942923

Re:Nvidia announces its most powerful AI chip as it seeks to... by blitzar on Tuesday March 19, 2024 @04:01AM (#39753775)
Getting this working might be worth a trillion $ to AMD - they should be doing more than just waiting for a bootstrapped startup to debug their drivers for them.
Re:Nvidia announces its most powerful AI chip as it seeks to... by AYBABTME on Tuesday March 19, 2024 @12:45AM (#39753024)
I don't understand AMD in this. Isn't it insanity that they're not throwing all they've got at their software stack?
Re:Nvidia announces its most powerful AI chip as it seeks to... by roenxi on Tuesday March 19, 2024 @02:10AM (#39753362)
You know what happens to companies that panic and throw all their resources into knee-jerk software projects? I don't, but I'd predict it is ugly. Adding more people to a bad project generally makes it worse.

The issue that AMD has is they had a long period where they clearly had no idea what they were doing. You could tell just from looking at websites, CUDA pretty much immediately gets to "here is a library for FFT", "here is a library for sparse matricies". AMD would explain that ROCM is an abbreviation of the ROCm Software platform or something unspeakably stupid. And that your graphics card wasn't supported.

That changed a few months ago; so it looks like they have put some competent PMs in the chair now or something. But it'll take months for the flow on effects to reach the market. They have to figure out what the problems are which takes months to do properly; then fix the software (1-3 months more minimum); then get it into the open and the foundational libraries like PyTorch pick it up (might take another year). You can speed that up, but more cooks in the kitchen is not the way. Bandwidth use needs to be optimised.

It isn't like ROCm seems lacks key features; it can technically do inference and training. My card crashes regularly though (might be a VRAM issue) so it is useless in practice. AMD can check boxes but the software doesn't really work and grappling with that organisationally is hard. Unless you have the right people in the right places, which AMD didn't have up to at least mid 2023.

Re:Nvidia announces its most powerful AI chip as it seeks to... by elcomet on Tuesday March 19, 2024 @04:09AM (#39753792)
Pytorch has been supporting rocm for all last 2 years
Re:Nvidia announces its most powerful AI chip as it seeks to... by blagie on Tuesday March 19, 2024 @06:58AM (#39754519)
I'd add quotes there:

Pytorch has been "supporting" rocm for all last 2 years

Re:Nvidia announces its most powerful AI chip as it seeks to... by elcomet on Tuesday March 19, 2024 @06:49PM (#39761122)
Can you say more?
Re:Nvidia announces its most powerful AI chip as it seeks to... by Certhas on Tuesday March 19, 2024 @04:48AM (#39753917)
Look at AMDs vs Intel. They have now surpassed Intel in terms of CPUs sold and market cap. That was unthinkable even six, seven years ago.

It makes perfect sense that, organisationally, they were focused on that battle. If you remember the Athlon days, AMD beat Intel before, but briefly. It didn't last. This time it looks like they beat Intel and have had the focus to stay. Intel will come back and beat them some cycles, but there is no collapse on the horizon.

So it makes sense that they started looking at nVidia in the last year or so. Of course nVidia has amassed an obscene war chest in the meantime...

Re:Nvidia announces its most powerful AI chip as it seeks to... by nicoburns on Tuesday March 19, 2024 @05:26AM (#39754081)
AMDs graphics was an acquisition though (ATI), and I understand that the company culture of that division might still be quite different.
Re:Nvidia announces its most powerful AI chip as it seeks to... by makomk on Tuesday March 19, 2024 @06:10AM (#39754287)
> AMD would explain that ROCM is an abbreviation of the ROCm Software platform or something unspeakably stupid. And that your graphics card wasn't supported.

If even that. A few years ago they managed to break basic machine learning code on the few commonly-used consumer GPUs that were officially supported at the time, and it was only after several months of more or less radio silence on the bug report and several releases that they declared those GPUs were no longer officially supported and they'd be closing the bug report: https://github.com/ROCm/ROCm/issues/1265

Re:Nvidia announces its most powerful AI chip as it seeks to... by tempaccount420 on Tuesday March 19, 2024 @01:02AM (#39753094)
Hardware people don't get along very well with software people.
Re:Nvidia announces its most powerful AI chip as it seeks to... by elbear on Tuesday March 19, 2024 @02:05AM (#39753341)
Why's that?
Re:Nvidia announces its most powerful AI chip as it seeks to... by rapsey on Tuesday March 19, 2024 @03:00AM (#39753516)
Because it is a different type of engineering. If you manage software development like you manage hardware development your software is going to be bad. That has always been AMD's problem and it is not likely to get fixed.
Re:Nvidia announces its most powerful AI chip as it seeks to... by AYBABTME on Tuesday March 19, 2024 @11:50AM (#39757027)
2t$ problem of egos?
Re:Nvidia announces its most powerful AI chip as it seeks to... by imtringued on Tuesday March 19, 2024 @04:00AM (#39753771)
Because they didn't go to uni when hardware-software-codesign was being taught.
Re:Nvidia announces its most powerful AI chip as it seeks to... by nebula8804 on Tuesday March 19, 2024 @07:31AM (#39754697)
What unis would that include? Isn't ATI Canadian? Therefore i'd expect lots of UToronto and Waterloo people there. Aren't they some of the best in this field?
Re:Nvidia announces its most powerful AI chip as it seeks to... by imtringued on Tuesday March 19, 2024 @04:03AM (#39753778)
You have to remember that this only applies to cheap consumer GPUs, they tend to support their datacenter GPUs better. When you consider that Ryzen AI already eats the AI inference lunch, having better GPUs with better software only threatens to cannibalize their data center GPU offering. Given enough time nobody will care about using AMD GPUs for AI.
Re:Nvidia announces its most powerful AI chip as it seeks to... by wmf on Tuesday March 19, 2024 @04:19PM (#39759834)
Yet we've heard about nobody doing training on AMD.
Re:Nvidia announces its most powerful AI chip as it seeks to... by logicchains on Tuesday March 19, 2024 @05:06AM (#39753982)
It's a political problem. Good software engineers are paid more than good hardware engineers, but AMD management is unwilling to pay up to bring on good software engineers because then they'd also need to pay their hardware engineers more, otherwise the hardware engineers would be unsatisfied. If you check NVidia salaries online you'll see NVidia pays significantly more than AMD for both hardware and software engineers; it's a classic case of AMD management being penny-wise, pound-foolish.
Re:Nvidia announces its most powerful AI chip as it seeks to... by dheera on Tuesday March 19, 2024 @04:27PM (#39759901)
This is quite possibly also why Boeing is having issues.

If they paid everyone $1M/year salaries maybe more people would consider going into aerospace engineering.

Right now though Boeing's starting salaries aren't that much higher than what an Uber driver in the bay area makes.

Re:Nvidia announces its most powerful AI chip as it seeks to... by e4325f on Tuesday March 19, 2024 @07:05AM (#39754552)
They did buy Nod.ai recently
Re:Nvidia announces its most powerful AI chip as it seeks to... by matt-p on Tuesday March 19, 2024 @08:23AM (#39754998)
It changes alot. It is not legal to make a 'CUDA' driver for an AMD GPU as Nvidia own cuda. You can see there was a open implementation of this that AMD sponsored until they got threatened with a lawsuit by Nvidia
Re:Nvidia announces its most powerful AI chip as it seeks to... by dogma1138 on Tuesday March 19, 2024 @02:22PM (#39758732)
ZLUDA ate the dust not because they implemented CUDA but because they were misusing complied NVIDIA libraries.

If it was a clean room implementation of the API NVIDIA wouldn’t care. Heck that’s exactly what AMD did with HIP.

But what you cannot do is essentially intercept calls to and reverse engineer NVIDIA binaries in real time because you can’t be arsed to build your own.

Re:Nvidia announces its most powerful AI chip as it seeks to... by dheera on Tuesday March 19, 2024 @04:13PM (#39759784)
> But what you cannot do is essentially intercept calls to and reverse engineer NVIDIA binaries in real time because you can’t be arsed to build your own.

And this is precisely what anti-trust ligitation would allow them to do.

Preventing someone from reverse-engineering a product with the sole intention of maintaining monopoly status may be seen as anti-competitive.

AMD makes really, really good CPUs now, but only after ligitation against Intel allowed them to keep up with evolving x86 standards.

It's not about being "arsed" to build your own, the problem is NVIDIA can add to CUDA at any point in time and launch a new GPU at the same time and the market will buy them because the cutting edges of the ecosystem are all CUDA-based, so people are forced to buy NVIDIA if they want to stay on that cutting edge and not wait a year for AMD to reverse engineer it.

Re:Nvidia announces its most powerful AI chip as it seeks to... by dogma1138 on Thursday March 21, 2024 @03:40PM (#39783419)
They didn’t RE the CUDA API, they reused libraries like cudnn that’s a completely different case than say Oracle vs Google.

What ZULDA did wasn’t to maintain a compatibility with the CUDA API and provided an open implementation of it but rather use all the CUDA based libraries that NVIDIA provided on top of it.

The equivalence again would be that not only Google implemented their own Java compatible API but rather that they used the now Oracle owned JVM to do so and redistributed it.

AMD already implemented CUDA essentially one to one in the form of HIP in ROCm. The issue that they face is that they don't have all the equivalent middleware to make copy pasting code actually work and this was what ZULDA did but instead of building a HIPdnn they just reused NVIDIA binaries.

Re:Nvidia announces its most powerful AI chip as it seeks to... by nemothekid on Tuesday March 19, 2024 @02:44PM (#39758928)
>that AMD sponsored

The problem currently, as people like Hotz and many others are discovering, it not the lack of CUDA. Most people use PyTorch and don't care what the underlying software is. Infact most CUDA is hand tuned to nvidia hardware anyways and is optimized to make the most on nvidia. The problem is AMD's drivers - the piece that actually sends the code to run on the GPU, tends to be broken. AMD cannot "sponsor" an outsider to fix this. A legal, but broken, AMDCUDA will not be any better than the current situation; so no, having CUDA on AMD wouldn't change anything.

The problem is not "CUDA is not AMD", the problem is AMD has not, does not, and for some reason will not invest adequately in GPU compute. CUDA is a mirage; if AMD had a similar platform someone would have done the work already to ensure PyTorch works on it. PyTorch already supports ROCm, people don't use it because the performance is bad and it's buggy. When nvidia had this problem, nvidia hired engineers to work on open source projects and debug issues in open source libraries (not even limited to AI, you will find nvidia engineers debugging issues in a wide range of CUDA projects). When AMD has this issue, they barely acknowledge it.