comfyui-rocm
August 8, 2026 ยท View on GitHub
Windows-only version of ComfyUI that uses AMD's official ROCm and PyTorch libraries to achieve better performance on AMD GPUs.
[includes auto-installation and popular performance-enhancing packages such as Triton, Sage Attention, Flash Attention, and bitsandbytes]
- Currently supported GPUs: GCN5 /Vega, RDNA1*, RDNA2 , RDNA3 and RDNA4.
- note : some 5000 series users reporting bad performance with the available rocm-pytorch packages with comfyui, for those unfortunately comfyui-zluda is the only other option, remember you can use-install both at the same PC without interfering with each other, so feel free to try both-compare
NEWS
-
The included ComfyUI-INT8-Fast-ROCM got an important update. It now has a global "hijacker" that reroutes all int8 operations to the node's int8 kernel, so we can load int8 models and vae's through native comfyui loaders. (the custom node's loaders are still usable) It is only activated automatically below rdna3 so newer gpu's won't be forced to use it unless they use the custom laoders.
-
rocm-pytorch-package-updater.batadded. Easily update the rocm and pytorch packages to the latest ones available. Useful when a newer rocm-pytorch might be the solution or have some enhancements - speedups over what was installed during the first time. (Not app itself, that is still updated viacomfyui-rocm-updater.bat) -
You can use int4 models & int8 clips models with the ComfyUI-INT8-Fast-ROCM (have to update it to the latest version) Details in its readme.
-
The included ComfyUI-INT8-Fast-ROCM now converts directly to a comfyui native loader compatible int8-convrot format. At the moment the native loader is either slow or have problems with AMD GPUs. So for better speed and compability with AMD just use this nodes loader. The only odd model out of all I tested was qwen-image-edit and to make it work I had to choose dtype as float32 manually. Every model I tested is faster than native loader (if one can make native loader work with patches etc). So please try the custom loader.
-
Updated the rocm & pytorch builds to the multi-arch builds, this shouldn't cause many problems, so far only gfx942 and gfx950 doesn't seem to have windows builds yet, they are set to use the old urls for the time being.Obviously I can't test for every gpu out there so please open an issue if your gpu isn't getting recognized by this new system.
-
Added my fork of the ComfyUI-INT8-Fast , ComfyUI-INT8-Fast-ROCM ; which essentially lets us use int8 quantized models with triton ; one needs bf16 version of the model they need to quantize or can download various prequantized models on huggingface or civitai. With every model I've tested everyone one of them was faster -at least 25 to 40 percent- and better or identical quality then fp8 quantizations. Sage-attention can be added with models that support it by starting comfyui with --use-sage-attention or using the "patch sage attention" node from kjnodes. This really helps with the gen times.
-
Added color-coding to both installer and starter bat file.
-
Added logging and
--debugoption forinstall.bat
:: Older news ::
- Thanks to the latest updates on TheRock , we now have full gpu support from gcn5/vega to the latest RDNA4 gpu's.
- Added a simple updater, run it to keep your install of comfyui-rocm updated.
- Added some tested workflows inside "sample-workflows" folder. Wan 2.2 i2v & ltxv2.3 distill model only and 2-stage dev model using distill lora workflows are added at the moment.
- Added kijai's hfremotevae nodes. You can now use these for VAE decoding (not encoding) for faster, OOM-free decoding for these model types: SD 1.5, SDXL, Flux, HunyuanVideo and their variants (for example, any model that uses the Flux VAE like the z-image model can use this instead).
Important Note
DON'T INSTALL into your user directory or inside Windows or Program Files directories. Don't install to a directory with non-English characters. The best option is to install to the root directory of whichever drive you'd like.
Installation (Windows-Only)
- Download and install Git (available from https://git-scm.com/download/win). During installation, don't forget to check the box for "Use Git from the Windows Command Line and also from 3rd-party software" to add Git to your system's PATH.
- Download and install the Visual C++ Runtime Library, available from https://aka.ms/vs/17/release/vc_redist.x64.exe.
- Download and install Visual Studio Build Tools, available from https://aka.ms/vs/17/release/vs_BuildTools.exe.
- Download the latest package from
https://github.com/patientx-cfz/comfyui-rocm/releases, unzip it to a folder of your choice (preferably the root folder of your C or D drive). - IF YOU HAVE a CPU with an integrated graphics unit, such as a 5600G, please disable it from BIOS before attempting to install this fork.
- Run:
install.bat
- If you want detailed output to see what is installed / downloaded during installation process , use
install.bat --debuginstead. - This "hopefully" auto-detects your AMD GPU and installs the correct ROCm & PyTorch packages. I only have an RX 6800 and obviously cannot test other AMD GPUs.
- This is partly portable and doesn't need Python installed on the system. You can try it separately with
ComfyUI-Zludafor example, without interfering with your existing setup. It also doesn't need HIP installed, as those components are now installed into the venv with the ROCm packages. - Running
comfyui-rocm-updater.batat least once before running comfyui-rocm for the first time is recommended, this would make sure you are using latest version as of the time you are installing it. And make sure to runcomfyui-rocm-updater.batregularly to keep the app up-to-date. - You can use
comfyui-user.bat, or put a shortcut to it on your desktop, to run the app later. My recommendation is to make a copy ofcomfyui-user.batwith another name and modify that copy, so that when updating you won't run into trouble. (don't make changes in thecomfyui-rocm.bat; instead use and editcomfyui-user.bat) - At the moment, there are some startup options I am using with my RX 6800 in the batch file. You can edit them; I'll try to add more options in there.
First-Time Launch
- If you have completed every previous step correctly, it will install without errors. You can start the app with
comfyui-user.bat. If you already have checkpoints, copy them into yourmodels/checkpointsfolder so you can use them with ComfyUI's default workflows. You can use ComfyUI's Extra Model Paths YAML file to specify custom folders.
Keeping the app and basic rocm-pytorch packages up-to-date
- You always have the option to wait for new releases to appear, but it is better to use the two updater batch files :
comfyui-rocm-updater.bat: Update comfyui-rocm to the latest version, and update necessary packages if it is needed.rocm-pytorch-package-updater.bat: Update the rocm and pytorch packages to the latest ones available. Useful when a newer rocm-pytorch might be the solution or have some enhancements.- Use the first one if you want to keep your comfyui-rocm up-to-date and use the second weekly or maybe bi-weekly to check for potential performance improvements or enhancements. (this is totally optional though)
Troubleshooting
Incompatibilities
- DO NOT use non-English characters as folder names anywhere in the comfyui-rocm path.
- Make sure you do not have any residual NVIDIA graphics drivers installed on your system.