How to use ComfyUI with Flux and Stable Diffusion 3.5 on Linux. Detailed Installation including ROCm

preview_player
Показать описание
Use ComfyUI with Flux and Stable Diffusion 3.5 locally with AMD ROCm and NVIDIA Cuda on Ubuntu Linux.
Includes ROCm and ComfyUI installation, a start batch file, ComfyUI Manager, examples for Flux and SD3.5, performance comparison, and optimization.

Videos:

Patreon:

Links:

Chapters:
0:00 About ComfyUI on Linux
2:02 ROCm Installation
5:46 GIT and Python
7:16 ComfyUI Installation
9:10 Starting ComfyUI
9:52 Validating Installation
10:50 Create Start File
11:32 ComfyUI Manager
12:20 Flux Example
13:34 SD3.5 Example
14:17 Performance and Optimization

For your convenience, the most important text inputs for copying:

ROCm-Installation:
sudo apt update
sudo amdgpu-install --usecase=graphics,rocm

PyTorch for AMD:

PyTorch for NVIDIA:

Starting ComfyUI:

--
#!/bin/bash

source .venv/bin/activate

read -p "Press enter to continue"
--

#ComfyUI #Linux #Flux #stablediffusion
Рекомендации по теме
Комментарии
Автор

Perfect timing. I use Linux more than I thought, so I'll be moving to a new 1TB hard drive. More space for ComfyUI, AI models, virtual environments and applications. Thanks for the great videos!

DerEggen
Автор

I already have installed ConfyUI on Linux (AMD), but I will definitely will use it after breaking my installation by installing some rnd extensions to generate animations again...

AdmiralAcabar
Автор

Thank you! Very helpful! The first attempt didn't work for me.I was thinking that maybe I'd screwed up, so I reset everything and started again, and since my system didn't ask about mok, I looked it up and found this command “sudo mokutil --import I configured mok with this command and followed the tutorial. And everything worked! And for the first time I was able to use FLUX

JackC-dx
Автор

cool does it work with AMD APU ? Because I can run Stable Diffusion on A1111 but I've issues with comfyui

Techonsapevole
Автор

Hi would be useful to know how to do a dual boot or other options with a Windows 11 installation using the same approach, think it will be another year or more before AMD pull their finger out and bring some direct software support for Windows 11.

CoderTronics