Skip to content

Commit

Permalink
Start lower_final_step in predictor earlier to stabilize
Browse files Browse the repository at this point in the history
  • Loading branch information
chaObserv committed Sep 22, 2024
1 parent 1782896 commit 587c93e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comfy/k_diffusion/sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,7 @@ def sample_sa_solver(model, x, sigmas, extra_args=None, callback=None, disable=F
sigma_prev_list.append(sigma)
else:
# Lower order final
predictor_order_used = min(predictor_order, i, len(sigmas) - i)
predictor_order_used = min(predictor_order, i, len(sigmas) - i - 1)
corrector_order_used = min(corrector_order, i + 1, len(sigmas) - i + 1)

tau_val = tau(sigma)
Expand Down

0 comments on commit 587c93e

Please sign in to comment.