ComfyUI Extension: ComfyUI-RadialAttn

Authored by woct0rdho

Created

Updated

120 stars

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

RadialAttention in ComfyUI native workflow

Looking for a different extension?

Custom Nodes (0)

    README

    ComfyUI-RadialAttn

    This repo is RadialAttention ported to ComfyUI native workflows. If you're using kijai's ComfyUI-WanVideoWrapper rather than native workflows, then you can use their WanVideoSetRadialAttention node rather than this repo, and you still need to install the SpargeAttention wheel below.

    This supports Wan 2.1 14B, Wan 2.2 14B, Wan 2.2 5B, and many of their variants, both T2V and I2V.

    This does not give speedup if you only generate a single frame image.

    Installation

    1. Install SpargeAttention
    2. git clone ComfyUI-RadialAttn to your ComfyUI/custom_nodes/

    It's also recommended to install SageAttention, and add --use-sage-attention when starting ComfyUI. When RadialAttention is not applicable, SageAttention will be used.

    Usage

    Just connect your model to the PatchRadialAttn node. There's an example workflow for Wan 2.2 14B I2V + LightX2V LoRA + RadialAttention.

    It's believed that disabling RadialAttention on the first layer (dense_block = 1), the first time step (dense_timestep = 1), and the last time step (last_dense_timestep = 1) improves the quality.

    Run ComfyUI workflows without the setup

    No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

    Learn more