mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-11 04:17:05 +08:00
nit
This commit is contained in:
parent
b356655340
commit
678ac2ffc9
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
import torch
|
import torch
|
||||||
import math
|
import math
|
||||||
|
import logging
|
||||||
|
|
||||||
from tqdm.auto import trange
|
from tqdm.auto import trange
|
||||||
|
|
||||||
@ -474,7 +475,7 @@ class UniPC:
|
|||||||
return self.multistep_uni_pc_vary_update(x, model_prev_list, t_prev_list, t, order, **kwargs)
|
return self.multistep_uni_pc_vary_update(x, model_prev_list, t_prev_list, t, order, **kwargs)
|
||||||
|
|
||||||
def multistep_uni_pc_vary_update(self, x, model_prev_list, t_prev_list, t, order, use_corrector=True):
|
def multistep_uni_pc_vary_update(self, x, model_prev_list, t_prev_list, t, order, use_corrector=True):
|
||||||
print(f'using unified predictor-corrector with order {order} (solver type: vary coeff)') # noqa: T201
|
logging.info(f'using unified predictor-corrector with order {order} (solver type: vary coeff)')
|
||||||
ns = self.noise_schedule
|
ns = self.noise_schedule
|
||||||
assert order <= len(model_prev_list)
|
assert order <= len(model_prev_list)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user