|
|
|
|
|
by avcxz
1004 days ago
|
|
I'd also like to point out that ROCm has been packaged for Arch Linux since the beginning of 2023, with efforts starting since March 2020 [1]. Currently on Arch Linux you can run the following successfully: $ sudo pacman -S python-pytorch-rocm
Arch Linux even has ROCm support with blender.[1] https://github.com/rocm-arch |
|
Let's get things started the way the arch wiki suggests:
Ok, I wonder what's wrong. maybe it's this? https://stackoverflow.com/questions/4959621/error-1001-in-cl...Nope. Anything about this on the arch wiki? Nope
This bug report[2] from 2021? Maybe I need to update my groups.
[2]: https://github.com/RadeonOpenCompute/ROCm/issues/1411
Ok, I'm a pretty advanced linux user, I'll just jump right in: Apparently I have some leftover environment variables (OCL_ICD_VENDORS) from last time I spent half a day trying to get this to work. I can fix that. After all, it'd be entirely unreasonable to expect rocm to give me a better error, like "Could not open opencl icd `rusticl.icd`".Success:
Well, let's run some apps! uh that's great. Maybe blender?It worked! Not too bad for 2 minutes render: https://i.imgur.com/FD1SsQG.png
What about pytorch? It prompted this whole thing anyway:
uh oh. Maybe I can crack some passwords? Well, so much for that.Best I can get to work with rocm is 1/4 apps.