A streamlined PowerShell script to set up ComfyUI with ROCm support for AMD RDNA graphics cards on Windows. Uses UV for blazing-fast package management.
- 🎮 Full AMD GPU Support: RDNA 3, RDNA 3.5, and RDNA 4
- ⚡ Lightning Fast: Uses UV for 10-100x faster package installation
- 🔄 Automatic Setup: One command to rule them all
- 💾 Persistent Configuration: Remembers your GPU settings
- 🎨 Beautiful CLI: Colorful interface with helpful emojis
- 🔧 Zero Config: Handles virtual environments, dependencies, and ROCm PyTorch automatically
| Generation | GPUs | Architecture |
|---|---|---|
| 🔴 RDNA 3 | RX 7900 XTX, RX 7900 XT, RX 7800 XT, RX 7700 XT, RX 7600 | gfx1100 |
| 🟣 RDNA 3.5 | Ryzen AI (Strix Point/Halo), Radeon 890M, 8060S | gfx1151 |
| 🔵 RDNA 4 | RX 9070 XT, RX 9070 | gfx1200 |
- Windows 10/11 (64-bit)
- Git (Download)
- PowerShell 5.1+ (included in Windows)
Open PowerShell and run this one-liner:
irm https://raw.githubusercontent.com/SystemVll/ComfyUI-AMD/main/ComfyUI-AMD.ps1 | iex-
Download the script:
git clone https://github.com/SystemVll/ComfyUI-AMD.git cd YOUR_REPO
-
Run the setup:
.\ComfyUI-AMD.ps1
- ✅ Installs UV (if not present)
- ✅ Clones ComfyUI repository
- ✅ Creates Python 3.12 virtual environment
- ✅ Installs ROCm PyTorch for your specific GPU
- ✅ Installs all ComfyUI dependencies
- ✅ Configures GPU settings (HIP_VISIBLE_DEVICES)
- ✅ Launches ComfyUI web interface
On first run, you'll be prompted to select your GPU generation:
1- RDNA 3 (RX 7000 series)2- RDNA 3.5 (Ryzen AI)3- RDNA 4 (RX 9000 series)
Your choice is saved and reused on subsequent runs.
If you have multiple GPUs, the script will ask you to configure HIP_VISIBLE_DEVICES:
0- First GPU1- Second GPU0,1- Use both GPUs
your-folder/
├── setup.ps1 # This setup script
├── .gpu_config.json # Saved GPU configuration
└── ComfyUI/ # ComfyUI installation
├── .venv/ # Virtual environment
├── models/ # Place your models here
├── custom_nodes/ # Custom nodes
└── output/ # Generated images
.\setup.ps1Select your GPU, configure settings, and ComfyUI will launch automatically.
.\setup.ps1Just hit Enter through the prompts - your settings are remembered!
Once launched, open your browser to:
http://127.0.0.1:8188
To update ComfyUI to the latest version:
cd ComfyUI
git pull
cd ..
.\setup.ps1The script will handle any new dependencies automatically.
UV is a modern, extremely fast Python package manager written in Rust. Benefits:
- ⚡ 10-100x faster than pip
- 🎯 Better dependency resolution
- 💾 Efficient caching
- 🔒 More reliable installations
- Close and reopen your PowerShell terminal
- Run the script again
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser- Ensure your AMD GPU drivers are up to date
- Check that ROCm is supported on your GPU model
- Try setting
HIP_VISIBLE_DEVICES=0manually
- Check that no other instance is running on port 8188
- Look for error messages in the console
- Try deleting
.venvfolder and running setup again
- First installation may take 5-10 minutes depending on your internet speed
- ROCm PyTorch builds are large (~2-3GB)
- Models are not included - download them separately to
ComfyUI/models/
Found a bug? Have a suggestion? Open an issue or submit a PR!
This setup script is provided as-is. ComfyUI has its own license - please refer to the ComfyUI repository for details.
- ComfyUI - The amazing UI for Stable Diffusion
- UV - Modern Python package management
- AMD ROCm - GPU compute platform
Made with ❤️ for the AMD + AI community