Replies: 4 comments 2 replies
-
HIP is kinda like a layer that makes CUDA code readable / usable with ROCm (AMD). I imagine it somewhat like Windows program + Wine -> Windows program usable on Linux. I'm not using Ubuntu, but this guide looks like it got you covered: https://www.reddit.com/r/ROCm/comments/177pwxv/comment/k4um67g/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button The official guide on AMD for Ubuntu suggests installing amdgpu dkms, which is not necessary. Edit: It's enabling ROCm support for your graphics card if your graphics card can handle it, even if your graphics card may be officially unsupported. |
Beta Was this translation helpful? Give feedback.
-
you need to sort out to get official amd drivers and rocm installed. i cannot help with that. |
Beta Was this translation helpful? Give feedback.
-
It looks like science fiction, on the RX 6800 the maximum that I squeezed out on the standard automatic1111, in April on Ubuntu 20.04 + ROCM 5.4.2 -7.2it/s Now is the maximum Tomorrow I'll rearrange the system and play with the old drivers and describe the result |
Beta Was this translation helpful? Give feedback.
-
Ubuntu 20.04.6 LTS vs Ubuntu 22.04.3 LTS -12% new rocm ,new torch,new libraries...very good -((( |
Beta Was this translation helpful? Give feedback.
-
Issue Description
I'm trying to install SD on my PC for image generation, I got it working on Windows using DirectML, however it has a lot of issues with VRAM usage and poor performance. So I decided to dual boot a Linux system in order to install.
But for some reason no matter what I do to try and install it on Linux, my GPU is not being detected by pytorch. For reference I have a Ryzen 5800X3D processor, and an RX 6800 XT GPU. When I try to install the AMD drivers other than the ones default to the Ubuntu environment, I kept running into a blackscreen issue.
Running any form of webui, such as Automatic1111 or SD Next returns an error where torch can't find my GPU and is asking me to skip the CUDA checks. If I put in the command to skip the cuda checks, it will get past that check however it well then throw a warning regarding "No HIP", and it will default to using my CPU instead of GPU.
My suspicion is that it's to do with the drivers I'm installing, but I've tried multiple different ways to install it. If I use ROCMinfo it shows my GPU accurately, but if I do Radeontop to see my usage it doesn't detect my GPU name and says unknown, but it still shows the stats correctly such as VRAM and pipeline.
I have tried all the standard recommended solutions, such as forcing HSA override etc. If anyone has experience with this card and Linux and can help me I'd greatly appreciate it. I know it is possible as I can see benchmarks of my card on vladmandics benchmarks hitting up to 10 it/s.
Version Platform Description
Ubuntu 22.04, Ubuntu 20.04, Pop OS 22.04.
Google Chrome, Firefox
Rocm 5.1 - 5.7 all tried.
Relevant log output
No response
Backend
Original
Branch
Master
Model
SD 1.5
Acknowledgements
Beta Was this translation helpful? Give feedback.
All reactions