mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2026-01-17 09:24:23 +08:00
Update model_optimization_nodes.py
This commit is contained in:
parent
d00082f648
commit
3b0d20532f
@ -766,7 +766,7 @@ def teacache_wanvideo_forward_orig(self, x, t, context, clip_fea=None, freqs=Non
|
||||
if not should_calc:
|
||||
x += cache['previous_residual'].to(x.device)
|
||||
cache['teacache_skipped_steps'] += 1
|
||||
print(f"TeaCache: Skipping {suffix} step")
|
||||
#print(f"TeaCache: Skipping {suffix} step")
|
||||
|
||||
if should_calc:
|
||||
original_x = x.clone().detach()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user