Nodes/ComfyUI_Patches_ll/ApplyFirstBlockCachePatchAdvanced
ComfyUI Node Runs on cloud

ApplyFirstBlockCachePatchAdvanced

Apply the First Block Cache patch to accelerate the model. Use it together with nodes that have the suffix ForwardOverrider. This is effective only for Flux, HunYuanVideo, LTXVideo, WanVideo and MochiVideo.

By lldacing·Created 2 years ago·Updated 7 months ago· 124
ApplyFirstBlockCachePatchAdvanced
  • model
  • model
residual_diff_threshold0.00
start_at0.00
end_at1.00
Categorypatches/speed

Inputs (4)

NameTypeDefaultDescription
modelMODEL
residual_diff_thresholdFLOAT0.000–1Flux: 0 (original), 0.12 (1.8x speedup). HunYuanVideo: 0 (original), 0.1 (1.6x speedup). LTXVideo: 0 (original), 0.5 (1.2x speedup). MochiVideo: 0 (original), 0.03 (1.5x speedup). WanVideo: 0 (original), 0.05 (1.5x speedup).
start_atFLOAT0.000–1
end_atFLOAT1.000–1

Outputs (1)

NameTypeDescription
modelMODEL