Add some hooks method. Such as: TeaCache
and First Block Cache
for PuLID-Flux
Flux
HunYuanVideo
LTXVideo
MochiVideo
.
Need upgrade ComfyUI Version>=0.3.7
Working with PuLID
(need my other custom nodes ComfyUI_PuLID_Flux_ll)
- Manual
cd custom_nodes
git clone https://github.com/lldacing/ComfyUI_Patches_ll.git
# restart ComfyUI
- FluxForwardOverrider
- Add some hooks method support to the
Flux
model
- Add some hooks method support to the
- VideoForwardOverrider
- Add some hooks method support to the video model. Support
HunYuanVideo
,LTXVideo
,MochiVideo
- Add some hooks method support to the video model. Support
- DitForwardOverrider
- Auto add some hooks method for model (automatically identify model type). Support
Flux
,HunYuanVideo
,LTXVideo
,MochiVideo
- Auto add some hooks method for model (automatically identify model type). Support
- ApplyTeaCachePatch
- Use the
hooks
provided in*ForwardOverrider
to supportTeaCache
acceleration. SupportFlux
,HunYuanVideo
,LTXVideo
,MochiVideo
- In my test results, the video quality is not good after acceleration for
MochiVideo
- Use the
- ApplyTeaCachePatchAdvanced
- Support
start_at
andend_at
- Support
- ApplyFirstBlockCachePatch
- Use the
hooks
provided in*ForwardOverrider
to supportFirst Block Cache
acceleration. SupportFlux
,HunYuanVideo
,LTXVideo
,MochiVideo
- In my test results, the video quality is not good after acceleration for
MochiVideo
- Use the
- ApplyFirstBlockCachePatchAdvanced
- Support
start_at
andend_at
- Support