News for hackers. Stuff that matters.
Re:Open-source project ZLUDA lets CUDA apps run on AMD GPUs by gnabgib on Tuesday March 05, 2024 @10:56AM (#39605151)
Did we need this posted again? [0] (261 points, 3 years ago, 77 comments), [1] (237 points, 9 months ago, 90 comments), [2] (1045 points, 22 days ago, 409 comments)

[0]: https://news.ycombinator.com/item?id=26262038 [1]: https://news.ycombinator.com/item?id=36341211 [2]: https://news.ycombinator.com/item?id=39344815

Re:Open-source project ZLUDA lets CUDA apps run on AMD GPUs by drakerossman on Tuesday March 05, 2024 @10:58AM (#39605205)
It now supports AMD GPUs since 3 weeks ago, check the latest commit at the repo:

https://github.com/vosen/ZLUDA

The article also mentions exactly this fact.

Re:Open-source project ZLUDA lets CUDA apps run on AMD GPUs by KeplerBoy on Tuesday March 05, 2024 @11:03AM (#39605300)
That's exactly what the post from 3 weeks ago discussed.

AMD dropped ZLUDA funding, the remains were opensourced and it won't ever be a viable option.

Re:Open-source project ZLUDA lets CUDA apps run on AMD GPUs by bri3d on Tuesday March 05, 2024 @11:20AM (#39605595)
> it won't ever be a viable option

For production workloads, I generally agree. It's an unsupported hack with a questionable future, I wouldn't do anything money-making with it.

However, for tinkering and consumer workloads, it already works pretty well. Enough of cuDNN and cuBLAS work to run PyTorch and in turn, Stable Diffusion with https://github.com/lshqqytiger/ZLUDA - there's even a fairly user-friendly setup process already in https://github.com/vladmandic/automatic .

I was able to get a personal non-ML related project working on my AMD card in just a few minutes, which saved me a lot of development time before I then deployed the production workload on NV hardware (this is probably why AMD pulled the plug on the project - it's almost more of a boost to NV than anything else, AMD really need people to be writing code on ROCm to deploy on AMD datacenter hardware).

Re:Open-source project ZLUDA lets CUDA apps run on AMD GPUs by HarHarVeryFunny on Tuesday March 05, 2024 @11:59AM (#39606182)
Given that PyTorch supports AMD cards with ROCm support, I'm curious why would you be coding in CUDA (very low level!) as opposed to PyTorch ?
Re:Open-source project ZLUDA lets CUDA apps run on AMD GPUs by bri3d on Tuesday March 05, 2024 @12:48PM (#39606826)
> a personal non-ML related project

Not everything is DNNs and tensors...

As for the Stable Diffusion thing, a silly edge case - because MIOpen (and therefore PyTorch-on-ROCm) doesn't work on Windows yet (they're slated to ship it next month, I think).

Re:Open-source project ZLUDA lets CUDA apps run on AMD GPUs by HarHarVeryFunny on Tuesday March 05, 2024 @02:01PM (#39607786)
> Not everything is DNNs and tensors...

Sure, but you could use PyTorch for cuBLAS/cuRAND etc type functionality too.

Re:Open-source project ZLUDA lets CUDA apps run on AMD GPUs by dpflan on Tuesday March 05, 2024 @10:57AM (#39605173)
I think it is a relevant zeitgeist reaction to NVIDIA banning translation of CUDA to non-NVIDIA hardware post from earlier.
Re:Open-source project ZLUDA lets CUDA apps run on AMD GPUs by paulmd on Tuesday March 05, 2024 @12:33PM (#39606609)
by earlier do you mean 2021?
Re:Open-source project ZLUDA lets CUDA apps run on AMD GPUs by dpflan on Tuesday March 05, 2024 @12:49PM (#39606838)
I mean with regard to the recency of posts on HN. The community sees a post, and then related posts begin to trickle in.
Re:Open-source project ZLUDA lets CUDA apps run on AMD GPUs by remram on Tuesday March 05, 2024 @11:34AM (#39605810)
We upvote it because we found it interesting. What's the point of arguing against other people's interest? What do you think will come from your outrage at the Internet?
Re:Open-source project ZLUDA lets CUDA apps run on AMD GPUs by beeboobaa on Tuesday March 05, 2024 @11:08AM (#39605412)
Yes, we did. Any other questions?
Re:Open-source project ZLUDA lets CUDA apps run on AMD GPUs by fortran77 on Tuesday March 05, 2024 @11:39AM (#39605893)
Your best option is not to upvote or comment on content you don't find interesting! That's how this all works.
Re:Open-source project ZLUDA lets CUDA apps run on AMD GPUs by malux85 on Tuesday March 05, 2024 @11:06AM (#39605376)
Not everyone sits on hacker news 24/7 - I missed the previous post 22 days ago and I appreciate it being here again.

Let the community decide with upvotes, that’s the point.

Re:Open-source project ZLUDA lets CUDA apps run on AMD GPUs by huhWell on Tuesday March 05, 2024 @11:01AM (#39605262)
Other people do not engage HN in the same pattern you do.

Do we really need such self centered complaints posted over and over?

Go touch grass. Seems like you spend too much time browsing this website.

Re:Open-source project ZLUDA lets CUDA apps run on AMD GPUs by Brian_K_White on Tuesday March 05, 2024 @11:12AM (#39605466)
Are you suggesting that it's wrong to presume to police other people's speech?