lllyasviel commited on
Commit
58261f5
·
1 Parent(s): c2bb05b
Files changed (1) hide show
  1. modules/core.py +1 -1
modules/core.py CHANGED
@@ -80,7 +80,7 @@ def close_all_preview():
80
 
81
 
82
  @torch.no_grad()
83
- 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):
84
  seed = seed if isinstance(seed, int) else random.randint(1, 2 ** 64)
85
 
86
  device = comfy.model_management.get_torch_device()
 
80
 
81
 
82
  @torch.no_grad()
83
+ 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):
84
  seed = seed if isinstance(seed, int) else random.randint(1, 2 ** 64)
85
 
86
  device = comfy.model_management.get_torch_device()