Open-Source AMD GPU Implementation Of CUDA "ZLUDA" Has Been Taken Down (www.phoronix.com)
from sundray@lemmus.org to technology@lemmy.world on 07 Aug 2024 05:41
https://lemmus.org/post/6805960

cross-posted from: lemm.ee/post/38967838

Back in February of this year you may recall the interesting news that was announced on Phoronix that AMD Quietly Funded A Drop-In CUDA Implementation Built On ROCm: It’s Now Open-Source. That open-source ZLUDA code for AMD GPUs has been available since AMD quit funding the developer earlier this year. But now the code has been retracted. It’s not from NVIDIA legal challenges but rather AMD reversing course on allowing it to be open-source.

As explained in that article earlier in the year, AMD had quietly funded the ZLUDA developer Andrzej Janik to bring his CUDA-compatible implementation to AMD GPUs and atop the ROCm software stack. ZLUDA start off originally as an open-source CUDA implementation for Intel graphics built atop the Level Zero (hence the ZLUDA name) software stack. While working on ZLUDA, he got it working out rather nicely and various CUDA applications running seamlessly on AMD GPUs as shown and benchmarked in my prior article. But then AMD decided to quit funding the project.

The agreement was reportedly that if/when the contract ended, the ZLUDA code could be open-sourced. That’s what happened back in February. But now that code has been retracted from the official public GitHub repository. It’s not from legal threats from NVIDIA as one might imagine given its working to support CUDA on non-NVIDIA hardware, but rather from AMD itself.

Janik also noted in his announcement that he had a NVIDIA GameWorks implementation working on AMD GPUs but sadly that code will now never be open-sourced.

Andrzej Janik notes he wants to “rebuild ZLUDA” moving forward and is working on project funding. What wasn’t clear from his message whether this means a new ZLUDA focused on the original Intel GPU plans or a new clean sheet design for AMD GPUs. When I asked Janik about it, he’s still exploring options.

It will be very interesting to see where ZLUDA goes from here but disappointing that the prior open-source code has been retracted. The GitHub repository is at vosen/ZLUDA while we are eager to see its future direction.

#technology

threaded - newest

deanne@lemmy.world on 07 Aug 2024 06:24 next collapse

rust in peace

yu_cosmic@sh.itjust.works on 07 Aug 2024 07:07 next collapse

ZLUDA being 6 months open source before it was taken down gives me hope that the project might probably be forked into something else or in the same path as originally intended

bruhduh@lemmy.world on 07 Aug 2024 07:18 next collapse

Something like this suyu.dev right?

mikwee@thebrainbin.org on 07 Aug 2024 07:33 collapse

Wasn’t that built by some teenagers who abandoned it?

[deleted] on 07 Aug 2024 07:39 next collapse

.

leopold@lemmy.kde.social on 07 Aug 2024 08:20 collapse

Yuzu wasn’t. Suyu was.

EddoWagt@feddit.nl on 07 Aug 2024 08:33 collapse

Probably, but it runs pretty well and is at least still available

NinjaCheetah@sh.itjust.works on 08 Aug 2024 00:24 collapse

Ryujinx is also freely available and doesn’t have the weird past that Yuzu did, and also wasn’t forced to shut down.

I’m honestly not sure why everyone is holding on to Yuzu so strongly when Ryujinx has been a better option for a while now.

EddoWagt@feddit.nl on 08 Aug 2024 10:13 collapse

Yuzu used to run better so I just kinda stuck to it, gotta try ryujinx out

PolarisFx@lemmy.dbzer0.com on 08 Aug 2024 10:43 collapse

Ive always had issues with RyujinX, yuzu just worked.

bitfucker@programming.dev on 07 Aug 2024 08:04 collapse

Yep, I really hope that AMD is cooking up something. A shame that it’s not open sourced but if it means going up against nvidia dominance now, I’ll take their side just for that cause only.

mikwee@thebrainbin.org on 07 Aug 2024 07:33 next collapse

Please let somebody fork it and keep it going…

wiki_me@lemmy.ml on 07 Aug 2024 13:16 collapse

There is a fairly active fork already . We well see what he will do. AMD saying it is not legally binding despite him signing a contract sounds like BS. Consulting the software freedom law center or some other non profit might be worth while.

bitfucker@programming.dev on 07 Aug 2024 17:16 next collapse

Yeah, that is the only weird part about it. I think AMD is cooking up something right now behind the curtain. Whether that something is good or bad we don’t know yet but so far it does not look good.

aniki@lemmy.zip on 07 Aug 2024 17:32 collapse

Its on github so that’s about as solid as play-doh. I bet it doesn’t last a week.

mikwee@thebrainbin.org on 08 Aug 2024 08:58 collapse

They should seed it as a torrent or something. Or at least put it on a Gitea/Forgejo instance.

[deleted] on 07 Aug 2024 07:39 next collapse

.

mogoh@lemmy.ml on 07 Aug 2024 09:30 next collapse

Can someone explain the motivation of AMD? Why abandon it? Why 6 month later depublishing it? Why not embracing it? Why? (Please no sarcasm)

SomeGuy69@lemmy.world on 07 Aug 2024 10:14 next collapse

I only see them adding more reverse engineered code that they don’t want to see public, until they solved the legal issues. Maybe they’ll release a ZLUDA version soon that’s competing performance wise and an open source version later? But whatever it is, AMD is leaving the playing field to Nvidia since 2007, so there might actually be no logical reason at all for this move.

gazby@lemmy.dbzer0.com on 08 Aug 2024 04:06 collapse

Because they will forever be chasing Nvidia, bound to their development decisions & direction choices, compatibility a constant issue, swimming in some pretty murky legal waters, all to run slower than Nvidia’s cards for the same workloads. Admittedly I don’t see AMD doing much of what’s actually needed either, but alas this was never it anyway 🙁

rdri@lemmy.world on 08 Aug 2024 09:55 collapse

We need that in order to preserve those terrible implementations of physx etc. in older games that look even more terrible with them disabled. Hope the work is continued.