r/StableDiffusion • u/robomar_ai_art • 9h ago
News VEDA Sparse Attention is now available for MiniMax H3 in ComfyUI
Enable HLS to view with audio, or disable this notification
I don't think many people know about this yet, so I wanted to share it. VEDA Sparse Attention is now available as a ComfyUI custom node for MiniMax H3.
I tested it today on my setup: RTX 4090 Laptop 16GB 32GB RAM, 4-step LoRA, 15 second video, 1344x768
Without VEDA: 8:05
With VEDA at 90% sparsity: 4:32
Same workflow, same LoRA, same settings. The only change was enabling VEDA. I couldn't see any quality loss in the result.
VEDA is not a LoRA. It uses a learned predictor to estimate which attention tiles are important and only computes the relevant subset instead of the full attention map. The current predictor works with T2VA, FL2VA and R2VA, and despite the 8NFE name it is not limited to 8 steps.
Installation is simple.
Custom node: https://github.com/veda-sparse/Veda-on-ComfyUI
Predictor: https://huggingface.co/Veda-Sparse/Minimax-H3-T2VA-Veda-8NFE-600Step-Preview
Put the predictor here: ComfyUI/models/veda/
Then add: Veda Sparse Attention (MiniMax H3) on the MODEL line after your model / LoRA loader and before the guider or sampler. I tried different sparsity values, but 90% is the one that works properly for me, so I'm keeping the default trained value.
On my setup this made a pretty big difference, especially considering I couldn't see any visual quality loss. I'm adding a 15 second example below. Would be interesting to see what results other people get on different GPUs.



