News for hackers. Stuff that matters.
Re:Boosting Computational Fluid Dynamics Performance with AM... by gymbeaux on Sunday January 19, 2025 @03:05AM (#42754960)
Now if only I could purchase one*

*I realize enterprise “GPUs” are difficult to purchase as an individual whether they’re AMD or Nvidia, but AMD might be well-served to mimic their RX 480 strategy (“make a competitive mid-range GPU, distribute it through several board partners, and sell it at rock-bottom prices to get it to as many customers as possible”). If there’s a compelling reason to use AMD hardware over Nvidia, the software support will come. As an extreme example, if one could purchase an MI300X for $50 a pop, surely FAANG and others would invest time and effort into the software side to leverage the cost savings vs Nvidia, who is unquestionably price-gouging due to their monopolistic hold on the enterprise GPU market.

Re:Boosting Computational Fluid Dynamics Performance with AM... by mpreda on Sunday January 19, 2025 @04:05AM (#42755308)
It seems AMD has to choose between monetizing the GPUs right now by selling them at the maximum effective price, or forgoing that gain and selling the GPUs at cost and increasing GPU market share in the future. The choice between short-term gain and long-term gain.
Re:Boosting Computational Fluid Dynamics Performance with AM... by mpreda on Sunday January 19, 2025 @04:10AM (#42755336)
And the splitting into CDNA and RDNA comes from the same direction: market segmentation, to allow much higher prices for the CDNA data-center GPUs, while keeping the gamer-focused RDNA GPUs affordable for mere mortals. Of coures this backfires by making the powerful GPUs not available for mostly anybody anymore to experiment on.

For example this blog post, about how great MI300X is. Really, what do I care -- I'm not a billionaire.

Re:Boosting Computational Fluid Dynamics Performance with AM... by tormeh on Sunday January 19, 2025 @04:22AM (#42755404)
They’re unifying the architectures. AMD will move to UDNA for both gaming and data center. The next graphics cards after RDNA4 will be UDNA. Makes sense given how ML-heavy graphics has become.
Re:Boosting Computational Fluid Dynamics Performance with AM... by kouteiheika on Sunday January 19, 2025 @07:52AM (#42756553)
The point is they shouldn't have done it in the first place. It was obvious right from the start it's a bad idea, except maybe for temporarily boosting short term profits.

The whole AMD AI/ML strategy feels like this - prioritize short term profits and completely shoot themselves in the foot in the long term.

Re:Boosting Computational Fluid Dynamics Performance with AM... by Cumpiler69 on Sunday January 19, 2025 @08:36AM (#42756815)
>The whole AMD AI/ML strategy feels like this - prioritize short term profits and completely shoot themselves in the foot in the long term.

That's what the stock market rewards.

Re:Boosting Computational Fluid Dynamics Performance with AM... by dragontamer on Sunday January 19, 2025 @10:39AM (#42757931)
ROCm was clearly designed with Wave64 in mind. It was going to take years for ROCm to be reworked for Wave32 of RDNA.

DirectX shaders however were already ready for Wave32, and other architectural changes that RDNA had. In fact, RDNA was basically AMD changing their architecture to be more "NVidia-like" on many regards (32-wide execute being the most noticeable).

CDNA existed because HPC has $Billion+ contracts with code written for Wave64 and still needing ROCm support. That means staying on the older GCN-like architecture and continuing to support say, DPP instructions or other obscure features of GCN.

---------

Remember how long it took for RDNA to get ROCm support? Did you want to screw the HPC customers for that whole time?

Splitting the two architectures, focusing ROCm on HPC (where the money was in 2018 for GPU Compute research dollars), and focusing on better video game performance for RDNA (where money is for video game / consumer cards) just makes sense.

Re:Boosting Computational Fluid Dynamics Performance with AM... by dragontamer on Sunday January 19, 2025 @10:34AM (#42757867)
> And the splitting into CDNA and RDNA comes from the same direction: market segmentation

Not really.

Wave64 on CDNA is provably more throughput. But with most video game code written for NVidia's Wave32, RDNA being reworked to be more NVidia-like and Wave32 is how you reach better practical video game performance.

HPC will prefer the wider execute, 64-bit execution, and other benefits.

Video Gamers will prefer massive amounts of 32MB+ of "Infinity cache", which is used in practice for all kinds of screen-space calculations. But this would NEVER be used for fluid dynamics.

Re:Boosting Computational Fluid Dynamics Performance with AM... by markstock on Monday January 20, 2025 @11:38AM (#42770356)
Maybe never by the big players, but RDNA and even fp32 are perfectly fine for a number of CFD algorithms and uses; Stable Fluids-like algorithms and Lagrangian Vortex Particle Methods to name two.
Re:Boosting Computational Fluid Dynamics Performance with AM... by dragontamer on Monday January 20, 2025 @11:53AM (#42770517)
I'm talking about Wave64.

CDNA executes 64-threads per compute unit per clock tick. RDNA only executes 32-threads. CDNA is smaller, more efficient, more parallel and much higher compute than RDNA.

Furthermore, all ROCm code from GCN (and older) was on Wave64, because historically AMD's architecture from 2010 through 2020 was Wave64. RDNA changed to Wave32 so that they can match NVidia and have slightly better latency characteristics (at the cost of bandwidth).

CDNA has more compute bandwidth and parallelism. RDNA is narrower, faster latency and less parallelism.

Re:Boosting Computational Fluid Dynamics Performance with AM... by markstock on Monday January 20, 2025 @02:53PM (#42772376)
I wasn't familiar with the "Wave32" term, but took "RDNA" to mean the smaller wavefront size. I've used both, and wave32 is still quite effective for CFD.
Re:Boosting Computational Fluid Dynamics Performance with AM... by dragontamer on Monday January 20, 2025 @03:15PM (#42772603)
ROCm support for RDNA took like 2 years, maybe longer.

If you actually were using both, you'd know that CDNA was the only supported platform on ROCm for what felt like an eternity. That's because CDNA was designed to be as similar to GCN so that ROCm could support it easier.

--------

What I'm saying is that today, now that ROCm works on RDNA and CDNA, the two architectures can finally be unified into UDNA. And everyone should be happy with the state of code moving forward.

Re:Boosting Computational Fluid Dynamics Performance with AM... by 42lux on Sunday January 19, 2025 @05:33AM (#42755808)
You mean hard in regards of pricing? Because otherwise it’s not really hard to buy enterprise gpus at all.
Re:Boosting Computational Fluid Dynamics Performance with AM... by latchkey on Sunday January 19, 2025 @12:20PM (#42759069)
Depends on what country you are in. These are technically export controlled.
Re:Boosting Computational Fluid Dynamics Performance with AM... by gymbeaux on Monday January 20, 2025 @02:38AM (#42765972)
Can you provide a link to where I can purchase the MI300X? The only way I seem to be able to buy one is to contact AMD Sales who will surely laugh at my request for “less than 1000 units.”
Re:Boosting Computational Fluid Dynamics Performance with AM... by ieidkeheb on Sunday January 19, 2025 @06:43AM (#42756211)
Nope ... IMO AMD cannot compete on software with nvidia. I bought an rx580 to test rocm/tensorflow ... Only for it to be a buggy mess that was discontinued for support in the next version.

AMD needs to invest a Fsck load of money in software... Until then they can have the greatest compute cards in the world.but it will.mean nothing

Re:Boosting Computational Fluid Dynamics Performance with AM... by bavell on Sunday January 19, 2025 @07:39AM (#42756484)
Isn't rx580 like 4 gens behind now? It was released in 2017. Probably not the right card for anything AI.
Re:Boosting Computational Fluid Dynamics Performance with AM... by imtringued on Sunday January 19, 2025 @07:45AM (#42756514)
Why would anyone buy a new AMD card if the expectation is that the new one won't work either after support runs out? I use AMD at home and Nvidia A100s at work. There is no need to upgrade an old GPU to a new GPU if all it does is act as a fancy iGPU.
Re:Boosting Computational Fluid Dynamics Performance with AM... by KeplerBoy on Sunday January 19, 2025 @11:51AM (#42758699)
Because only the new ones are officially supported by AMDs compute stack?
Re:Boosting Computational Fluid Dynamics Performance with AM... by gymbeaux on Monday January 20, 2025 @03:07AM (#42766133)
To be fair Nvidia is the de-facto king of “planned obsolescence” and “remove features for no reason other than to force people to pay more $$$”. I think they’re even worse than Apple in this regard.

My favorite one of many examples of this is when Nvidia said “okay, fine, we’ll allow customers to enable G-Sync (adaptive refresh) on any display, but only 1000 series and newer GPUs!” No hardware limitation for this, they just didn’t want to give any 900-series holdouts a reason not to upgrade.

Then there’s the arbitrary lock on using consumer Nvidia GPUs in passthrough on a level 1 hypervisor. Sometimes there are unofficial workarounds but why do I have to go through that hassle at all? Ain’t nobody realistically going to buy consumer grade GPUs to throw in datacenter racks… but even if they were, so what? It’s their hardware, they bought it, let them use it. No reason whatsoever to block passthrough on consumer cards except $$$.

Re:Boosting Computational Fluid Dynamics Performance with AM... by ieidkeheb on Sunday January 19, 2025 @10:33PM (#42764718)
Yes this was years ago... Pre covid ... I thought the fact I used tensoflow as the target library I thought would flag that for others
Re:Boosting Computational Fluid Dynamics Performance with AM... by gymbeaux on Monday January 20, 2025 @02:58AM (#42766083)
I will say AMD seems to have come a long way since 2020/2021. I also messed around with an RX580 and ROCm on Ubuntu Server and while I wasn’t as experienced in the world of ML/Data Science then, I remember encountering a roadblock or two when following the official install guide. I haven’t had an AMD GPU since, but I’ve read and heard many good things. Supposedly Tensorflow and PyTorch work more or less out of the box with the right AMD GPU.
Re:Boosting Computational Fluid Dynamics Performance with AM... by latchkey on Sunday January 19, 2025 @12:30PM (#42759191)
Disclosure, I have a business in this.

This is what I saw as well. As a developer, I wanted access to enterprise HPC compute, but I'm also not going to do a PhD just to play around with these things. So, I got funding, started a business and bought 8 of them as a PoC test. We got customers, we got more funding, got a real datacenter, we bought 128 more. Crawl, walk, run.

You can now rent them by the minute from us for a few bucks an hour. Currently limited to docker containers for individual GPUs, but you can get a full bare metal 8x box too (with BIOS too!). Support for VM's is coming. If you want multiple boxes, we have the full 8x400G NICs too. The boxes are fully loaded with tons of enterprise NVMe, RAM and top core/clock Intel CPUs (not AMD cause Dell didn't have that as a solution).

Our model is to follow AMD's roadmap and buy/release their products as they come. We're currently debating the 325x and looking forward to / planning for the 355x.

Despite your desire, it will be a long time before there is a consumer version of these things. Especially as they move to more and more complex deployments. Look at the NV72 and the requirements around that... we can all guess where AMD is going. DC rails in the racks, DLC cooling, massive power requirements. It is only getting more and more capex/opex intensive.

Let's also not forget that AMD is really just a hardware manufacturer. When you buy a RX480 (I had 130,000 of these previously), it was from an OEM, like Sapphire, that could handle all the end user support.

This is why the whole NeoCloud industry has sprung up. Large clouds can only handle this pace by selling thousands at a time in multi-year contracts. We are taking the long tail and built a business around that. Short of doing everything we are doing yourself (which trust me, is not easy), your best bet is to work with companies like mine to get you access to this gear.

You can now rent them by the minute from us for a few bucks an hour. Currently limited to docker containers for individual GPUs, but you can get a full bare metal 8x box too. Support for VM's is coming. If you want multiple boxes, we have the full 8x400G NICs too. The boxes are fully loaded with tons of enterprise NVMe, RAM and top core/clock Intel CPUs (not AMD cause Dell didn't have that as a solution).

Re:Boosting Computational Fluid Dynamics Performance with AM... by LtdJorge on Sunday January 19, 2025 @03:55PM (#42761717)
You're doing good work on your subreddit!
Re:Boosting Computational Fluid Dynamics Performance with AM... by latchkey on Sunday January 19, 2025 @04:00PM (#42761762)
Re:Boosting Computational Fluid Dynamics Performance with AM... by latchkey on Sunday January 19, 2025 @04:00PM (#42761754)
(sorry that last paragraph got duplicated somehow)
Re:Boosting Computational Fluid Dynamics Performance with AM... by gymbeaux on Monday January 20, 2025 @02:53AM (#42766061)
I recognize that selling enterprise hardware one or two units at a time to people like me is not cost effective and is why AMD isn’t doing it, but I don’t think there’s anything stopping them from relying on distribution partners like Sapphire, Gigabyte and XFX to handle everything but the GPU die. Demand would be low relative to consumer stuff, and after cutting these partners in they’re probably selling at cost or on thin margin, but again, if they want to carve out market share it’s going to be VERY slow-going if they continue with this “charge as much money as possible and only sell to datacenters” approach. Nvidia can do that because they’ve cornered the market.

Meanwhile I can’t even find an MI300X on eBay. I can at least poach enterprise Nvidia GPUs like the A100 on eBay. This tells me AMD’s shipping far fewer units and therefore enterprise GPUs aren’t doing much for their balance sheet (though I’d have to look at their quarterly and annual reports to know for certain). To me this strengthens the case for selling to individuals/startups, and at prices that offset the risk of picking AMD over Nvidia and potentially running into software shortcomings.

I’m set with two RTX 3090s at the moment, but it’s very neat that you’ve been able to bootstrap essentially a cloud service provider in the age of AWS, Azure and GCP (and DO and Vultr and Linode et al).

Re:Boosting Computational Fluid Dynamics Performance with AM... by latchkey on Monday January 20, 2025 @01:15PM (#42771425)
> I don’t think there’s anything stopping

There absolutely is. The current form factor is not standard PCIe. It is a OAM/UBB board that is custom designed by AMD to support Infinity Link. It only comes in an 8x configuration. Now, you're asking for a totally different design and that requires a huge investment that would take away from their existing focus on enterprise.

> Meanwhile I can’t even find an MI300X on eBay.

https://www.ebay.com/itm/305850340813

Re:Boosting Computational Fluid Dynamics Performance with AM... by gymbeaux on Tuesday January 21, 2025 @06:53PM (#42786806)
I just want the card, not an entire server with a cluster of them. You can’t get an MI300X on eBay. But yes I didn’t realize they don’t come in the standard PCIe form factor. Their previous Instict “GPUs” did.

They should have considered the RX 480 approach for the Instinct accelerators.

Re:Boosting Computational Fluid Dynamics Performance with AM... by latchkey on Tuesday January 21, 2025 @07:06PM (#42786929)
What you're asking for is HPC level of compute, but as a consumer product. They moved away from that market because they realized that it wasn't going to compete with the AI farms that Nvidia is building with companies like CoreWeave. The 355x is going to move even further away cause it'll require even more high end datacenter deployments.

So, on one hand, people want them to compete with Nvidia, but on the other hand we want them to ignore the market that is actually going to make them money. As much as it would be nice to have, we can't have it both ways.

The middle ground is to rent a single one from us billed by the minute (or another neocloud). We handle all the detailed problems for you (don't forget the massive upfront capex spend), and you get to build your products/companies on that. Once you grow to the point of being able to buy your own equipment, we can even help you deploy it.

Re:Boosting Computational Fluid Dynamics Performance with AM... by LtdJorge on Sunday January 19, 2025 @04:21PM (#42761983)
I'm pretty sure they're selling at capacity