WanVideo TeaCache

WanVideoTeaCache

Patch WanVideo model to use TeaCache. Speeds up inference by caching the output and applying it instead of doing the step. Best results are achieved by choosing the appropriate coefficients for the model. Early steps should never be skipped, with too aggressive values this can happen and the motion suffers. Starting later can help with that too. When NOT using coefficients, the threshold value should be about 10 times smaller than the value used with coefficients. Official recommended values https://github.com/ali-vilab/TeaCache/tree/main/TeaCache4Wan2.1

Pack: ComfyUI-WanVideoWrapper

custom_nodes.ComfyUI-WanVideoWrapper

Inputs (6)

NameTypeRequired
rel_l1_threshFLOATrequired
start_stepINTrequired
end_stepINTrequired
cache_deviceCOMBOrequired
use_coefficientsBOOLEANrequired
modeCOMBOoptional

Outputs (1)

NameType
cache_argsCACHEARGS