mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-11-05 07:47:25 +00:00
[PR #2766] [MERGED] FLUXNATION FLUX.1 Fused Neuromorphic SPIKE Attention & Step Cache Cuda Kernel #2753
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/ComfyUI-Manager#2753
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/ComfyUI-Manager/pull/2766
Author: @ULT7RA
Created: 4/6/2026
Status: ✅ Merged
Merged: 4/13/2026
Merged by: @ltdrdata
Base:
main← Head:add-fluxnation📝 Commits (1)
4ca2aa4Add FLUXNATION fused spike attention CUDA kernel for FLUX.1📊 Changes
1 file changed (+11 additions, -0 deletions)
View changed files
📝
custom-node-list.json(+11 -0)📄 Description
Adding FLUXNATION to the custom node list. This is a fused FP8 CUDA kernel for FLUX.1 that replaces the entire SingleStreamBlock forward pass with a single torch.ops call. Modulation, dual GEMMs, QKV projection, RoPE, attention, gating and residual are all fused into one kernel call with zero Python overhead. On top of that it ships with neuromorphic spike attention which scores every attention block by real dot product similarity and drops the ones that dont matter once image structure has formed keeping only the top 45 percent. Step caching then replays the cached output on alternating spike steps so you get zero attention compute every other step. The result is 30 percent faster generation than stock ComfyUI with no quality loss. Works with all 38 ComfyUI samplers at any step count. A must have for anyone running a 40 series Ada Lovelace card including the 4070 4080 4090 and the Ti variants. FP16 ports are included for 10 series Pascal cards like the 1080 Ti, 20 series Turing cards like the 2080 Ti, and 30 series Ampere cards like the 3090 so older hardware is covered too. Repo is at https://github.com/ULT7RA/FLUXNATION
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.