Getting Started with ComfyUI on AMD Radeon™ RX 9000 Series GPUs
Summary
AMD has released a guide for setting up ComfyUI, a node-based interface for Stable Diffusion and other generative AI models, on AMD Radeon RX 9000 series GPUs. This guide addresses common stability issues like HIP memory errors, slow first-time generation, and VAE decoding failures that previously frustrated AMD GPU users. It outlines hardware requirements, recommending AMD Radeon RX 9000 Series GPUs with 16GB+ VRAM, 32GB+ system RAM, and 100GB+ SSD storage. Software requirements include Ubuntu 22.04/24.04 LTS, ROCm 7.1, Python 3.10-3.12, and PyTorch 2.6.0+ with ROCm support. The guide provides detailed installation instructions for both Docker and native Linux setups, along with specific solutions and recommended launch configurations to optimize performance and stability on AMD Radeon hardware.
Key takeaway
For AI Engineers and content creators using AMD Radeon RX 9000 series GPUs for generative AI, this guide provides essential configurations to overcome historical stability issues. You should prioritize using the latest ComfyUI version and ROCm 7.1, and apply the recommended `--reserve-vram` and `--lowvram` flags based on your GPU's VRAM capacity. This will ensure a more stable and performant experience for image and video generation workflows.
Key insights
ComfyUI is now stable and performant on AMD Radeon RX 9000 series GPUs with ROCm 7.1.
Principles
- VRAM management is critical for AMD GPUs.
- MIOpen compiles kernels once, improving subsequent runs.
- Tiled VAE decoding is a normal memory fallback.
Method
Install ComfyUI via Docker or natively on Ubuntu with ROCm 7.1, then apply specific launch flags like `--reserve-vram` and ensure the latest ComfyUI version for optimal stability and performance.
In practice
- Use `--reserve-vram 3` for 16GB VRAM GPUs.
- Update ComfyUI to disable `torch.backends.cudnn.enabled`.
- Monitor VRAM with `rocm-smi --showmeminfo vram`.
Topics
- ComfyUI
- AMD Radeon GPUs
- ROCm
- Generative AI Workflows
- Stable Diffusion
Code references
Best for: Machine Learning Engineer, AI Engineer, Software Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by AMD ROCm Blogs.