Install ComfyUI for AMD GPU (6000 and 7000 series) on Linux - Faster than webUI

preview_player
Показать описание
In this video, I show how to install ComfyUI for AMD GPUs on Linux. This tutorial will work on RDNA2 cards (RX 6000 series) and on RDNA3 cards (RX 7000 series). Older cards like Polaris (RX 580...) are no longer supported and will not work using this tutorial. If you want to install on a Polaris card, look for the tutorial for Polaris GPUs on this channel.

Your distro will need to have Python 3.11 or 3.10 available. Most popular distros have it officially or through community repositories.

Download the SD model:

Install the packages:
Arch Linux(AUR) = sudo yay -Syu wget git python311 python-virtualenv

Fedora 40/RHEL 9 = sudo dnf install wget git python3.11 python3-virtualenv

OpenSUSE Leap/Tumbleweed = sudo zypper in wget git python311 python311-virtualenv

Ubuntu_22.04/Debian 12 = sudo apt install wget git python3.11 python3.11-venv

Ubuntu_24.04 = sudo add-apt-repository ppa:deadsnakes/ppa && sudo update && sudo apt install wget git python3.11 python3.11-venv

Get SD webUI:

Install Torch with ROCm:

Launch command:

00:00 Intro
00:10 Installing dependencies
02:27 User groups
02:53 Download model
03:16 Configuring and installing
07:17 Testing
08:24 How to Launch and Close
Рекомендации по теме
Комментарии
Автор

Finally a tutorial that works and it's a gazillion times easier to follow. Thank you very much.

narcos
Автор

this is really underrated, now i can do batch of 4 832x1248 SDXL images on my RX 7600 8GB using tiled VAE, without using --medvram or --lowvram

Placeholder-klpq
Автор

I love you!!! Thank you a lot. The command HSA_OVERRIDE fixed my issue. I had a hipblast error when trying to run the prompt. Now i must figur out how to make it use both gpus. I have 2 rtx7900xtx

FjellapeHns
Автор

Thank you very much! I will give it a try.

JamesJones-ztyx
Автор

I understand all this instruction is hard work and i much appreciate. But wait... after all, in the end every launch from ubuntu i need write: source venv/bin/shit activate.... ? And don't tell me i need do all this halfhour procedure after every reboot.

Kostya
Автор

It doesnt work with 6800xt i had to get rocm 5.7 to make it work but great tutorial

kkryptokayden
Автор

Make oobabooga video pls. I can't run llm GGUF models on my rx 6600

sundowner
Автор

dear fiend thank you for such step by step information

it would be very helpful if you can guide me to install Flux models and SD3.5 models in Comfy UI
Thanks a lot

RaviKumar-mgg
Автор

i get this any fix?

python: can't open file [Errno 2] No such file or directory

danielflores
Автор

I haven't tried your procedure yet, but have tried ComfyUI install for Linux AMD, without success. I wasn't even aware of using HSA_OVERRIDE_GFX_VERSION. I haven't seen it mentioned in other searches. How do I find out what peramiture to use for my particular laptop. I'm using a HP AMD Ryzen 7 PRO 5850U laptop running POP O/S. I think my GPU is a AMD Radeon RX Vega 7. BTW, in my other attempts to install ComfyUI I didn't use the venu command. I didn't see that mentioned in my other install directions. With my CURRENT installation configuration I'm getting this error, RuntimeError: No HIP GPUs are available.

DaSmokeDaddy
Автор

Is there a specific reason you went for installing multiple versions of python natively through a third party PPA rather than using a conda environment for this purpose?

onceuponaban
Автор

Do you really need to use Python 3.11 for this?

HeirofSigma
Автор

Hi bro i have two rtx580 which sum up to 16 g vram what should i do???

hphp
Автор

Hey I can't launch it. I get this error:
File "/usr/local/lib/python3.11/lzma.py", line 27, in <module>
from _lzma import *
ModuleNotFoundError: No module named '_lzma'

ZakiAsir