mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2026-05-17 22:55:47 +08:00
Merge branch 'main' of https://github.com/kijai/ComfyUI-KJNodes
This commit is contained in:
commit
751b0bae62
@ -914,7 +914,7 @@ Official recommended values https://github.com/ali-vilab/TeaCache/tree/main/TeaC
|
|||||||
else:
|
else:
|
||||||
for i in range(len(sigmas) - 1):
|
for i in range(len(sigmas) - 1):
|
||||||
# walk from beginning of steps until crossing the timestep
|
# walk from beginning of steps until crossing the timestep
|
||||||
if (sigmas[i] - timestep) * (sigmas[i + 1] - timestep) <= 0:
|
if (sigmas[i] - timestep[0]) * (sigmas[i + 1] - timestep[0]) <= 0:
|
||||||
current_step_index = i
|
current_step_index = i
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
|
|||||||
@ -2303,7 +2303,7 @@ class LeapfusionHunyuanI2V:
|
|||||||
else:
|
else:
|
||||||
for i in range(len(steps) - 1):
|
for i in range(len(steps) - 1):
|
||||||
# walk from beginning of steps until crossing the timestep
|
# walk from beginning of steps until crossing the timestep
|
||||||
if (steps[i] - timestep) * (steps[i + 1] - timestep) <= 0:
|
if (steps[i] - timestep[0]) * (steps[i + 1] - timestep[0]) <= 0:
|
||||||
current_step_index = i
|
current_step_index = i
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
@ -2465,7 +2465,7 @@ class Guider_ScheduledCFG(CFGGuider):
|
|||||||
else:
|
else:
|
||||||
for i in range(len(steps) - 1):
|
for i in range(len(steps) - 1):
|
||||||
# walk from beginning of steps until crossing the timestep
|
# walk from beginning of steps until crossing the timestep
|
||||||
if (steps[i] - timestep) * (steps[i + 1] - timestep) <= 0:
|
if (steps[i] - timestep[0]) * (steps[i + 1] - timestep[0]) <= 0:
|
||||||
current_step_index = i
|
current_step_index = i
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user