kijai/ComfyUI-SolAttn_triton

Python

491

36 commits

updated Sep 7, 2026

See the code

README

DEPRECATED

ComfyUI and comfy-kitchen now includes optimized proper Sparse Attention including sol-attn built-in, this node is redundant.


ComfyUI-SolAttn

Experimental Triton implementation of Sol-Attn for ComfyUI

Paper Code Project Page


Overview

Sol-Attn is a training-free sparse attention method for accelerating image and video generation. This community extension integrates a Triton implementation of Sol-Attn into ComfyUI.

[!NOTE] This project is a work in progress. It has currently been tested on RTX 4090 and RTX 5090 GPUs with MiniMax H3.

Usage notes

Triton kernels are compiled on first use, so the first run will be slower.

Use start_percent, end_percent, and tau to balance generation quality and speed.

Examples

Test output

https://github.com/user-attachments/assets/8d9ed820-0417-4d68-9d1c-5199534bed3b

SageAttention vs. Sol-Attn

SageAttentionSol-Attn
Sol-Attn example result

Citation

If you find Sol-Attn useful in your work, please cite the paper:

@article{li2026solattn,
  title={Sol-Attn: Accelerating Video Generation Inference via On-the-Fly Attention Sparsification},
  author={Li, Haopeng and Li, Yitong and Chen, Junsong and Ye, Tian and Liu, Haozhe and Yu, Jincheng and Wang, Duomin and Zhang, Ruihua and Xie, Zeke and Xie, Enze and Han, Song},
  journal={arXiv preprint arXiv:2607.24027},
  year={2026}
}

kijai/ComfyUI-SolAttn_triton

Python

491

36 commits

updated Sep 7, 2026

See the code

README

DEPRECATED

ComfyUI and comfy-kitchen now includes optimized proper Sparse Attention including sol-attn built-in, this node is redundant.


ComfyUI-SolAttn

Experimental Triton implementation of Sol-Attn for ComfyUI

Paper Code Project Page


Overview

Sol-Attn is a training-free sparse attention method for accelerating image and video generation. This community extension integrates a Triton implementation of Sol-Attn into ComfyUI.

[!NOTE] This project is a work in progress. It has currently been tested on RTX 4090 and RTX 5090 GPUs with MiniMax H3.

Usage notes

Triton kernels are compiled on first use, so the first run will be slower.

Use start_percent, end_percent, and tau to balance generation quality and speed.

Examples

Test output

https://github.com/user-attachments/assets/8d9ed820-0417-4d68-9d1c-5199534bed3b

SageAttention vs. Sol-Attn

SageAttentionSol-Attn
Sol-Attn example result

Citation

If you find Sol-Attn useful in your work, please cite the paper:

@article{li2026solattn,
  title={Sol-Attn: Accelerating Video Generation Inference via On-the-Fly Attention Sparsification},
  author={Li, Haopeng and Li, Yitong and Chen, Junsong and Ye, Tian and Liu, Haozhe and Yu, Jincheng and Wang, Duomin and Zhang, Ruihua and Xie, Zeke and Xie, Enze and Han, Song},
  journal={arXiv preprint arXiv:2607.24027},
  year={2026}
}

Significant stargazers

AIFSH

316 followers · starred Aug 2026

drbaph

213 followers · starred Aug 2026