Fix for TypeError: teacache_flux_forward() got an unexpected keyword argument 'timestep_zero_index' #186
nickbrown1968
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Commit 44f1246c899ed188759f799dbd00c31def289114 of Comfyui appeared to add Flux2 support. In doing so a timestep_zero_index parameter was added to forward_orig() in the flux model (in comfy/ldm/flux/model.py). This broke teacache. I resolved this by adding this parameter to teacache_flux_forward() in ComfyUI\custom_nodes\teacache\nodes.py:
Hope this helps someone.
Beta Was this translation helpful? Give feedback.
All reactions