whatisgithub

What is comfyui-int8-fast-rocm?

aksugat/comfyui-int8-fast-rocm — explained in plain English

Analysis updated 2026-05-18

1PythonAudience · developerComplexity · 4/5Setup · hard

In one sentence

A ComfyUI node that speeds up AI image model inference on AMD RDNA3 graphics cards using int8 and int4 quantization.

Mindmap

mindmap
  root((ComfyUI-INT8-Fast-ROCM))
    What it does
      int8 and int4 inference
      RDNA3-tuned kernels
      Faster diffusion models
    Tech stack
      Python
      Triton
      ROCm
    Use cases
      Speed up AMD GPU inference
      Compare tuning configs
      Selective quantization
    Audience
      AMD GPU users
      ComfyUI developers
    Limitations
      RDNA3 only tested
      RDNA1 and RDNA2 unsupported

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Speed up AI image generation on an AMD RDNA3 GPU using lower-precision math

USE CASE 2

Run int8 or int4 quantized diffusion models faster than plain fp16 on AMD hardware

USE CASE 3

Compare RDNA3-tuned settings against the original NVIDIA/CDNA-tuned configs

USE CASE 4

Check which layer sizes actually benefit from int8 quantization before applying it broadly

What is it built with?

PythonTritonROCmPyTorch

How does it compare?

aksugat/comfyui-int8-fast-rocm0xustaz/streamgatea-bissell/unleash-lite
Stars111
LanguagePythonPythonPython
Setup difficultyhardhardhard
Complexity4/54/54/5
Audiencedeveloperdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Only works on AMD RDNA3 GPUs, requires ROCm PyTorch and Triton 3.6+, and will hang on RDNA1/RDNA2 cards.

So what is it?

This is a custom node for ComfyUI, a visual tool for running AI image generation models, that speeds up diffusion models by running them with lower-precision math called int8, and now also int4, instead of the usual higher-precision format. It specifically targets AMD graphics cards using AMD's ROCm software stack, rather than the NVIDIA cards most similar tools are built for. This particular version is a fork, meaning a modified copy, of an earlier fork of an original project. The chain exists because the original speed settings were tuned for AMD's high-end data center GPUs, which have very different hardware characteristics than the consumer RDNA3 graphics cards most people actually own, such as the RX 7800 XT the author tested on. This fork adds a second set of tuning settings sized correctly for those consumer cards, along with a fix for a math correctness bug found along the way. On the author's test card, the new settings measured about 5 percent faster than the original settings, and about 16 percent faster than running the same model at normal precision, based on layer shapes pulled from a real quantized model. The author notes one honest exception: on very small layers, running at normal precision can actually be faster than the int8 path, so it is not a universal win. The tool has only been tested on RDNA3 graphics cards specifically. It does not work at all on the two prior AMD architecture generations, RDNA1 and RDNA2, because those chips lack the specific matrix math instructions the underlying code depends on, and using it there will hang the GPU rather than just run slowly. It has not yet been tested on the newer RDNA4 cards, though the author expects it should work there too. It requires a fairly recent version of Triton, a GPU programming toolkit, and was tested on Windows with a portable Python setup.

Copy-paste prompts

Prompt 1
Explain what int8 quantization means and why it speeds up image generation.
Prompt 2
Walk me through installing this ComfyUI node and checking my GPU is RDNA3.
Prompt 3
What is the difference between this fork's tuning and the original project's settings?
Prompt 4
Help me understand why RDNA1 and RDNA2 GPUs cannot run this node at all.

Frequently asked questions

What is comfyui-int8-fast-rocm?

A ComfyUI node that speeds up AI image model inference on AMD RDNA3 graphics cards using int8 and int4 quantization.

What language is comfyui-int8-fast-rocm written in?

Mainly Python. The stack also includes Python, Triton, ROCm.

How hard is comfyui-int8-fast-rocm to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is comfyui-int8-fast-rocm for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.