This commit is contained in:
parent
df6ef9f3dc
commit
0766a88ba9
|
|
@ -80,7 +80,7 @@ def close_all_preview():
|
|||
|
||||
|
||||
@torch.no_grad()
|
||||
def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=9.0, sampler_name='euler_ancestral', scheduler='normal', denoise=1.0, disable_noise=False, start_step=None, last_step=None, force_full_denoise=False):
|
||||
def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=9.0, sampler_name='dpmpp_2m_sde', scheduler='karras', denoise=1.0, disable_noise=False, start_step=None, last_step=None, force_full_denoise=False):
|
||||
seed = seed if isinstance(seed, int) else random.randint(1, 2 ** 64)
|
||||
|
||||
device = comfy.model_management.get_torch_device()
|
||||
|
|
|
|||
Loading…
Reference in New Issue