236 points · by tim_sw · 3y ago · 214 comments
Until a couple of years ago, AMD was in survival mode, fighting Intel on one side and Nvidia on the other. Two rivals that were making money hand over fist while AMD was bleeding money.
AMD picked open standards and made investments on open source frameworks and libraries commensurate with their financials, the hope being that the community could help pick up some of the slack. The community, understandably, went with the proprietary solution that worked well at the time and had resources behind.
The net results is that the Nvidia ecosystem has gained a dominant position in the industry and benefits from being perceived as a quasi-standard. On the other hand, open source efforts by AMD or others get viewed as "not serious".
The financial situation of AMD has improved somewhat over the last couple years. So AMD is "taking AI more seriously now". But it might be too late and the proprietary ecosystem has probably won.
I would consider their open efforts to be "not serious" for anyone but the consumer space - games, desktop users, maybe even professional text editors. If you're using the GPUs for "professional" applications in a one-off scenario, even AMD falls short.
I'm honestly not sure what the moral of this story is.
"Open source" by itself is not a magic dust you can sprinkle on your projfcts that will make your software work well.
That said, I think AMD isn't really competing with Nvidia. Sure, their R&D budget is smallish but it feels like they're somewhat fine with the current status quo.
At some point, hardware (necessarily?) evolves to become optimized to do one thing, and then you have to just treat the driver as an API to the hardware.
Even "simple" things like keyboards and mice are now small computers that run their own code, moreso more complex devices like sound cards and hard drives.
And since graphics card performance seems to be the bottleneck in a lot of computing, it has become super specialized and you just hand off a high-level chunk of data and it does magic in parallel with fast memory and spits it out the hdmi cable.
AMD is working on moving to things like the open source form of AGESA. They plan to start deploying openSIL by 2026.
That people will go with what is easier and works?
That open source and open standards don't win by default? That it takes a lot of persistence and effort.
Just having 30 extra good software engineers focusing on AI would have made such a massive difference, because it's so bad that there's a lot of low hanging fruit.
As someone who was pretty invested in AMD stock since 2018, it always made me pretty angry how bad they managed the AI side. Had they done it well, just from the current AI hype the stock would probably be worth 50 bucks more.
Hindsight bias much?
How easily we forget in today's speculative AI bubble that AMD rolled into 2018[1] with 6.1x levered D/E and substantial business uncertainty while the Fed was actively ratcheting interest rates up, and ended the fiscal year still 3.3x levered despite turning operationally profitable[2].
> Had they done it well, just from the current AI hype the stock would probably be worth 50 bucks more.
It strikes me as pretty audacious and quite unconscionable to assert "big mismanagement" while simultaneously crying about speculative short-term profit taking opportunities.
[1] https://www.sec.gov/Archives/edgar/data/2488/000000248818000...
[2] https://www.sec.gov/Archives/edgar/data/2488/000000248819000...
As a result, with things like XLA now supporting AMD GPUs using RoCM under the hood the feature gap has closed A LOT.
Sure, Nvidia still has the performance crown lead with CuDNN, NCCL, and other libraries providing major boosts. But AMD is starting to catch up quite fast.
Compiler ecosystems can and have changed rather quickly. Especially given that most NNs run on a handful of frameworks. Not _that_ many people are writing directly on top of CUDA/cuDNN.
Make an equivalent toolchain that runs on cheaper hardware and the migration would be swift.
Currently AMD hardware is a bit behind and the toolchain is frustratingly buggy, but it's probably not as big of a moat as NVIDIA are trading on. Especially since NV's toolchain isn't particularly polished either.
This has been their claim, but more often than not they haven't actually done anything to encourage the community to pick up slack. So many of their graphics tools have been released with promises of some sort of support or of working with the community yet have basically had nothing to help the community help them.
Even accepting the unreasonable idea that they can't afford the full-time developers for the various tools and libraries they come up with, they often don't even really work with the community to build and maintain those.
One of the bigger cases which contributed to turning me off from AMD GPUs was buying a 5700XT at launch, eager to work on stuff using AMD specific features, only to be led on for over a year about how ROCm support was coming soon, every few months they'd push back the date further until they eventually just stopped responding at all. Trying to develop on their OpenGL drivers was a similar nightmare as soon as you wandered off the old well worn paths to more modern pipeline designs.
Another glaring example would be Blender's OpenCL version of Cycles, which was always marred with problems and hacks to work around driver issues. They tried to work with AMD for years before finally just dropping it and going for CUDA (and thus HIP) even though AMD's HIP support, especially on Windows, is still in a very early state.
According to the latest ROCm release notes, it supports Navi 21. Well, at least the pro models. It doesn't even mention the 5000 or 7000 cards. My current understanding is that 7000 support is mostly there a few months late and 5000 was abandoned partway done after years of vague promises.
At least it might support windows soon. Not my sub-4-year-old GPU, of course, god forbid. But most of the rest of them.
https://www.google.com/search?q=amd%20debt%20to%20equity%20r...
Hardware is very capital intensive. They've not been making much until much more recent. From 2012 through 2017, almost all years were a net loss. They hit $1B net profit only in 2020. I imagine quite a bit of that money went into keeping/accelerating the pace of Ryzen, and paying off debts. Only now do they have more breathing room for other endeavors. If they diverted a chunk of that change to AI, they probably would have a lower performing Ryzen right now.
So no, they did not have piles of money.
Nvidia didn't pull their AI leadership out of thin air overnight, but they shipped the first CUDA capable consumer cards with the GeForce 8000 series way back in 2007 and committed to this ecosystem over the years, consistently investing in the HW, SW.
By the time AMD woke up and shipped ROCm in 2016, Nvidia already had nearly 10 years head start and a cemented moat in this field. AMD now has a huge mountain to climb to catch up to Nvidia.
Especially for something like this, with massive open source / open standard companies like Google as heavy users. It seems surprising to me that Google didn't ensure that open standards won in an area that they are so heavily dependent on.
There is a lot more boilerplate to it, read/write to the buffer, queueing being handled explicitly. Here's an example that illustrate what I mean: https://github.com/rsnemmen/OpenCL-examples/blob/master/mand...
For comparison here is an implementation in CUDA: http://selkie.macalester.edu/csinparallel/modules/CUDAArchit...
Notice how the CUDA code is more readable.
OpenCL brought no advantage here considering it only worked on AMD GPUs which were lackluster in performance and switching from CUDA to OpenCL meant extra work that researches already iterating on CUDA weren't willing to do.
I think a lot of companies are overpaying their software people, but if there is any one that should pay their devs much more it would be AMD, because they are in a position to compete against Nvidia if their software integrated well with the AI training stuff.
(Canada does chronically underpay its software engineers, though.)
My main point was still that AMD should really pay a lot more than what they currently are paying, they actually already increased it quite a bit compared to 3 years ago, but not nearly enough! In a way, I think this reflects poorly on Lisa Su because she didn't invest enough into AI while it should have been obvious from the start.
I know CUDA via their HIP is a moving target they don't control making it hard and expensive for them to prevent bit rot but this is still an AMD caused problem due to opencl not getting any love by anyone anymore. AMD included.
This is an old article but the old "vendor B" stuff still rings incredibly true with at least AMD's OpenCL stack as well.
https://richg42.blogspot.com/2014/05/the-truth-on-opengl-dri...
Thus NVIDIA actually has even less of a lock-in than people think. If you want to write a better OneAPI ecosystem and run it on OpenCL runtime... go hog wild! NVIDIA is best at that too! You just don't get the benefit of NVIDIA's engineers writing libraries for you.
https://github.com/RadeonOpenCompute/ROCm/issues/2198#issuec...
I wrote some code that compiles as opencl and found it an intensely annoying experience. There's some C++ extension model to it now which might help but it was still missing function pointers last time I looked. My lasting impression was that I didn't want to write opencl code again.
No worries, AI is not very complicated tech. It's just a core that can do arithmetic (something AMD already knows how to do very well) copied a very large number of times on a chip, plus some interconnect.
CPUs with all their speculative execution and random memory access patterns are much more complicated.
Machine learning engineers (or most people writing GPU code) do not typically have the time, knowledge or interest to diagnose driver issues and beg AMD engineers to address them in a reasonable time frame.
The other front is developer experience and tooling, NVidia is way ahead on this front and entrenched. They need cleaner integrations and abstractions for OpenCL. This should probably include clean support for Python tooling as well as for Rust targets. The former being massive for education and common use space and the latter being for those that want to eek out performance without necessarily using C. Both of which will mean more community involvement and investment that lasts longer than AMD is typically known for.
If AMD targets mainly support for Linux tooling, then is should/must also support WSL for windows users. No idea where Mac is headed in terms of expansion boards on M2 or future gen. But they definitely need to expand the user base with good, relatively cheap higher end cards as well as devex.
Edit: the top end mentioned at 48gb is just for top consumer comparison... I think good tooling for 16-24gb cards in the $500-1200 space that is gaming competitive and can handle AI experimentation and workstation workloads would go a long way as well.
Affordable cards with lots of memory and good software support is the only solution to maybe get into the market. Double the memory for some gaming cards (just like NVIDIA's 3060 12GB and the 4060 TI 16GB)
Additionally data center products with enormous vram amounts and very fast interconnects will be important
AMD can't even take orders that NVIDIA can't keep up with because they are producing on very similar nodes. NVIDIA can easily outspend AMD for TSMC production capacity
The same types that will run a 5950x/7950x for 16-cores without jumping to threadripper or server parts are the same ones that are playing with Cuda on 3080/4080 class hardware. This drives the market in open-source and prosumer into the professional path.
"Nobody ever got fired for buying nvidia" might be the situation in the future if AMD doesn't manage to get a more popular choice among developers
Credit for the decision to put Keller back in charge of AMD's CPU core design goes to AMD CTO Mark Papermaster.
I would give the launch of products based on Zen as much credit for AMD's turnaround and present success as I would give Doctor Su.
Dr Su made some decisive calls to stop projects and placed a prescient long term bet on high-performance computing.
She shut down low-power tablet asic designs, shut down the SeaMicro acquisition, shutdown Keller's K12 ARM chip, shutdown a large monolithic CPU/GPU asic with shared memory and planned a shift from Global Foundries to TSMC.
Deep Learning was not on the radar unfortunately. It fell under Raja Koduri's group and he made an unfortunate bet on Virtual Reality (way before Zuckerburg started his metaverse fantasy).
It the end it helped that Intel stumbled badly allowing AMD to recover financially.
Didn't even get the card thinking I could use it with ROCm for hobbyist AI stuff but turns out it works great and having 12GB of VRAM is super nice.
AMD is laser-focused on surgically tapping high-margin markets. There is money in HPC, let's support that. There is money in AI, let's support that. Nothing more nothing less.
The way to think about ROCm isn't a platform like CUDA, it's as an embedded processor that gets engineered into some other product. It doesn't matter if there isn't a good general-purpose OS and ecosystem etc for Zilog Z80 - we aren't making a computer, we are making a microwave, it only ever needs to run one specific piece of software (or a small handful). And that's what AMD has become, a processor that goes into someone else's platform rather than a platform in itself. We are building a HPC supercomputer, we are building an AI training platform, and for that specific product AMD might offer the best value for performance. But you're fundamentally someone else's platform.
The ironic thing is that's exactly what everyone is implying that NVIDIA might be doing now with AI, and nothing could be farther from the truth. Abandoning gaming/graphics and focusing AI would be a one-way road to the same situation AMD is in. Once you've abandoned that virtuous cycle it's tremendously hard to get back. NVIDIA has always been laser-focused on making sure that innovation happens on their platform, making sure that prosumers can write CUDA on their gaming hardware and grad students can write their thesis in CUDA and so on. It's not that NVIDIA keeps accidentally falling into success, they're deliberately putting themselves there, and they're not going to stop because of AI or anything else. If they stop and chase AI to the exclusion of graphics, that spigot will dry up, and they will no longer be in the position to catch the next fountain of money when it happens.
Besides, all their other products center around graphics anyway - do you sign a big multiproduct partnership with Mediatek or Nintendo if you don't have a good gaming IP, and DLSS, and wide adoption of that software? Does Blender integrate the next OptiX if none of the userbase can run it? Do you just make quadros and not do the single last step (gaming drivers) and forego that revenue because it's not enough? No, that's crazy.
Platform is hugely important to NVIDIA. It's their core product. Jensen told everyone 15 years ago that NVIDIA was a software company and people scoffed. They're not just a company that writes software, it's almost their primary product really. They write the software that sells the hardware. DLSS and AI and CUDA are their products, and they just sell you the fuel to run their product. Razor-and-blade model in action. "What if they just stopped selling razors" ok then in the long term you won't sell many blades, will you?
They're just not going to do it at zero cost or a loss. And just like the Radeon 7850 has no real successor in the $150 segment, that is creeping higher and higher in the stack as fixed costs overwhelm the progress now that moore's law is dying.
The true threat to NVIDIA's platform is the rising costs of low-end products. Fixed assembly/testing/shipping costs, fixed die area overhead for memory PHYs, increased VRAM needs (without drops in the per-GB cost of VRAM) - are gradually sapping the low-end segment. It is already not possible to make a $100 or $150 GPU that's very compelling, you can equivocate about whether a $200 or $300 GPU could be better for the price but nobody is making a good $100 or $150 GPU that's a worthy enthusiast-tier successor to the Radeon 7850/R7 270 or similar, because it's just not possible, and everyone agrees on that at least. The RX 6500XT and similar products are never going to compel anyone to upgrade, that segment has gone terminal.
And that threshold is creeping higher every time they shrink because people want more memory and GDDR density hasn't kept up and PHYs don't shrink. There is de-facto a "minimum die size that is worth it" because of the fixed size of PHYs (to get the fixed amount of memory people want) and in a world of spiraling cost-per-mm2 that means there is a minimum cost that's worth it, and it's inching higher and higher ever time you shrink. Like try to even imagine what the $200 segment is going to look like with RDNA4 - are they going to launch a 8500XT 16GB on N5P or N3 at $200, just a tiny sliver of compute area sandwiched between PHYs? No, they can't do it either.
Console-style or Apple-style APUs are the way out and that is a market that NVIDIA doesn't control, and that is the primary long-term threat to NVIDIA's platform.
But for now - they are an incredibly powerful accelerator and everyone reaches for their software when they have a hard task. People get super upset when they can't upgrade the platform for NVIDIA at a compelling performance increase every 2 years. Why would you ever give that up willingly? Not even AMD wants to be where AMD is.
> The goal of the tiny corp is: “to commoditize the petaflop”
> ... If we succeed at this project, we will be on the cutting edge of non NVIDIA AI compute. We have the ability to make the software, and that’s the hard part.
[1] https://geohot.github.io//blog/jekyll/update/2023/05/24/the-...
He is now saying that his users would probably want the installer to work and the demo apps to not crash the IOMMU on a supported OS/kernel/hardware configuration? Who knew.
https://github.com/RadeonOpenCompute/ROCm/issues/2198#issuec...
Part of it is that as you shrink, the PHYs don't shrink much, so everyone is incentivized to minimize the number of memory channels and reduce the PCIe bus size/etc on lower tier products. And in turn, since GDDR6 tops out at 16 Gbit (=2 Gigabyte) per chip, that means a 4-PHY card tops out at 8GB, etc.
And while you can do clamshell... you want to be selling those cards to workstation users, not giving them away to gamers! It is the same problem NVIDIA faces, the fact that GDDR density has not increased leaves them with one single move (clamshell) and they've traditionally reserved that for workstation cards (and 3090) to increase margins.
On the GPGPU stack front it may be different but CUDA is also really low level and abstracted away by ML stacks. And some of them also had OpenCL / SYCL backends at one point, I wonder what's the story there.
The whole concept of the way graphics drivers works is bonkers, thanks to IP issues and game patching, but in production the NVIDIA drivers are very reliable and sophisticated.
https://github.com/apple/coremltools
Clearly no one is going to be doing training or even fine tuning on Apple hardware at any scale (it competes at the low end, but at scale you invariably will be using nvidia hardware), but once you have a decent model it's a robust way of using it on Apple devices.
> CUDA... is here to stay for a very long time.
Yes, this unfortunately seems to be the case. It would've been great to have more competition in this space. CUDA is closed source which sometimes leads to issues, but it works and is well supported by Nvidia and still has the first-mover advantage. I still have some hope for OneAPI (from Intel) but I'm not holding my breath.
> [Jensen] Huang, who is a distant relative of [Lisa] Su’s [...]
This is an excellent, Dickensian level of coincidence. And they both come on stage in leather motorcycle jackets.
May this rivalry of -- what, cousins nth removed? -- bring us great new chips.
For AMD though, the software side is going to be important. OpenCL was a total bust, Cuda is king. They need to do something about that.
That means creating the most awesome products possible at the lowest price practical.
In GPU's, AMD is doing the exact opposite.
And winning GPUs is what will allow winning AI.
Put another way, AMD simply does not compete with Nvidia - it trails along behind, trying to match the Nvidia products in specs, and being slightly less ridiculously expensive.
AMD GPUs are overpriced and AMD's most recent GPUs - the 7600 is garbage - this is not a strategy that is going to win any crown.
AMDs latest card the 7600 did not need to be garbage - this is a low end card so Nvidia can easily make it faster. But it very closely matches Nvidias card at the same level, the 7060, which is also garbage. AMD is simply copying Nvidia.
And you’re wrong…. People buy cheaper. It’s not the only factor but it’s a major factor.
Even when you can run on both, electricity costs can dominate capital. I remember reading something that amounted to xeons cost so much more to run than epyc chips that even if the xeon chips are given away free it's cheaper to buy the epyc ones, assuming they'll be running for more than some smallish number of months.
Taiwan is a small place and Taiwanese Han people came from a relatively non-diverse group of immigrants (e.g. largely Hokkien). For these two to have got a good education and risen to the top like this as immigrants to the US, likelier than not they were from educated or rich families.
If you filter for Taiwanese families educated or rich during the years they were born, the scope would probably have been somewhat small and covered an even smaller range of bloodlines, possibly even all somewhat related to a handful of historical clans.
The degree of separation between people like them from a small geographical region tends to be fairly small in general.
What's the story behind the semiconductor industry being centered at Taiwan of all places?
Adidas and Puma.
https://www.techtimes.com/articles/253736/20201030/fact-chec...
Nvidia is nothing but overpriced and if AMD is able to offer something really cool for really cheap, it might spark an interest in the gaming community which eventually means a win in the overall global market.
That is, what makes you think Nvidia is a) overpriced and b) not doing the best they can?
I'd like AMD to go back to the RX580 days, when the offerings were simple, cheap and made sense.
I also have an Nvidia card, I don't have any complaints but they are NOT cheap that is for sure.
Nvidia was charging extra for DLSS. RTX2050 vs GTX1660 had a huge price difference. When the leak happened we found out DLSS doesn't even require AI cores to run properly, it was purely a software limit. So they were really selling overpriced and underpowered hardware.
The bad thing is, Nvidia keeps increasing the prices because AMD is not competing well enough and there's no limit to Nvidia's pricing. Top of the line cards used to sell for $300 and we thought that was expensive.
I've also been burned so many times by AMD GPUs that I have more faith in Intel catching up in the ML space than AMD.
Would love to be wrong though.
As far as overpricing goes, I think the pushback (and AMD's pricing advantage) will definitely come on VRAM. I was only able to get a 3080 10GB close to MSRP when the GPU shortage started to abate, and people are already reporting that it's maxing out that amount on Diablo 4 at 1440p ultrawide max settings. Yes, there's been inflation, Moore's Law isn't what it used to be, and it had been years since I had bought a discrete GPU, but that doesn't change the fact that I've paid a premium price and I'm not future-proof for 4K or ultrawide, either of the two popular monitor upgrade paths. The bulk of this can be attributed squarely to Nvidia's desire to maintain market segmentation and profit margins. If AMD really can close the yawning CUDA gap on the software side and start to force more commoditization in the GPU market, it can only be a good thing.
Hardware-oriented companies often struggle to build good software stacks for the simple reason that they don't know what's good or bad in software, so they don't know who to hire.
In the worst case, you get a model where the software guys aren't worth paying well because their stuff is easy, and somehow their stuff is always late and broken anyway so they can't be worth much.
Then noone can sell the hardware because it's worthless without the code and the company fails and it's all the fault of the software engineers who couldn't do the easy thing that, uh, the hardware guys also couldn't do.
If Tenstorrent 'wins', while Intel is able to catch and beat AMD, I think that would prove the strongest case for Keller.
If AMD keeps staying as far ahead and they have been, it makes a strong case for Su.
The truth is likely a combination of the two.
“AMD fails again: Radeon RX 7600 Review” https://m.youtube.com/watch?v=Yhoj2kfk-x0
“AMD is a Mess: Radeon RX 7600 GPU Review & Benchmarks” https://m.youtube.com/watch?v=MCxYfXe1DAA
“AMD Radeon RX 7600 review: Another water-treading midrange GPU for $269” https://arstechnica.com/gadgets/2023/05/review-amds-269-rx-7...
“Equally Disappointing - $269 AMD Radeon RX 7600 Review”
AMD now simply copies Nvidia and makes their price a little lower but still way too high.
Even when Nvidias product is garbage - that's what AMD does too.
The 7600 is a microcosm of AMD and its strategy - don't built awesome cards at highly competitive prices - build whatever Nvidia is building and make it a little bit cheaper.
AMD and Nvidia's new GPUs are barely faster than the previous generation from years ago, and in many cases, slower.
It's not a winning strategy because its not giving customers what they want.
I remember a time when ATI 9600 was the #1 card on the market. It can come again, and quicker than you think ...
In terms of technology Nvidia is quite ahead, and has been for more than a decade.
> the new AMD M780 iGPU (7940hs APU) just wiped out NVidia's entire MX product line and is literally 2x faster than Intel's best iGPU and equal to an m1650 laptop GPU!
Pretty sure Nvidia doesn't give a shit about such a low end market segment.
125.62 million Switch sold would beg to differ.
If we're gonna talk about GPU market share, the dominant leader has always been Intel. Do you have an Intel CPU? It has an Intel GPU inside.
The CEO has more power and responsibility. They receive blame for company wide problems and conversely deserve credit for company with success.
There are definitely many cases where CEO should bare responsibility for the company's success or failure, but definitely not in the case of AMD.
The first Zen products didn't launch until 2017 - that is when their "success kinda started" at least in the CPU market.
Here's a quote from Suzanne Plummer, senior director of the Zen project, in September 2015: "This is the first time in a very long time that we engineers have been given the total freedom to build a processor from scratch and do the best we can do."
You could make a reasonable argument that supplying the GPUs for PS4 and Xbox One, both of which pre-date Dr Su's appointment, is their "success kinda start[ing]", but one could also argue that AMD was really the only vendor capable of providing the APUs needed.
Like someone else mentioned here, Jim Keller always says "team work" and all when someone praises him. Microprocessor as complex as a modern consumer CPU certainly involves so many people that attributing it to any one person is just impossible.
But obviously now we are getting into the topic of whether any CEO is that important to a large company. I'd like to say they aren't, but our hero worshipping culture makes it hard to break out of that mindset.
Prior to Lisa they were on a downward spiral and heading towards bankruptcy.
/s