ComfyUI Node

Attention Optimizer

A ComfyUI node in model_patches/optimization with 6 inputs and 8 outputs.

By D-Ogi·Created 7 months ago·Updated 6 months ago· 34
Attention Optimizer
  • model
  • model
  • best_attention
  • kjnodes_mode
  • impl_type
  • speedup
  • time_ms
  • head_dim
  • report
attention_backendauto
force_refreshfalse
auto_applytrue
seq_len8192
num_heads24
Categorymodel_patches/optimization

Inputs (6)

NameTypeDefaultDescription
modelMODEL
attention_backendoptCOMBOauto13 options: auto, pytorch, xformers, sage_auto, sage_cuda, sage_triton, +7
force_refreshoptBOOLEANfalse
auto_applyoptBOOLEANtrue
seq_lenoptINT8192256–32768
num_headsoptINT241–128

Outputs (8)

NameTypeDescription
modelMODEL
best_attentionSTRING
kjnodes_modeSTRING
impl_typeSTRING
speedupFLOAT
time_msFLOAT
head_dimINT
reportSTRING