lllyasviel commited on
Commit
bb0c03e
·
1 Parent(s): d3090bd
Files changed (1) hide show
  1. modules/core.py +4 -4
modules/core.py CHANGED
@@ -89,8 +89,8 @@ def close_all_preview():
89
 
90
 
91
  @torch.no_grad()
92
- def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=7.0, sampler_name='euler_ancestral',
93
- scheduler='normal', denoise=1.0, disable_noise=False, start_step=None, last_step=None,
94
  force_full_denoise=False):
95
  seed = seed if isinstance(seed, int) else random.randint(1, 2 ** 64)
96
 
@@ -153,8 +153,8 @@ def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=7.0, sa
153
 
154
  @torch.no_grad()
155
  def ksampler_with_refiner(model, positive, negative, refiner, refiner_positive, refiner_negative, latent,
156
- seed=None, steps=30, refiner_switch_step=20, cfg=7.0, sampler_name='euler_ancestral',
157
- scheduler='normal', denoise=1.0, disable_noise=False, start_step=None, last_step=None,
158
  force_full_denoise=False):
159
  seed = seed if isinstance(seed, int) else random.randint(1, 2 ** 64)
160
 
 
89
 
90
 
91
  @torch.no_grad()
92
+ def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=7.0, sampler_name='dpmpp_2m_sde_gpu',
93
+ scheduler='karras', denoise=1.0, disable_noise=False, start_step=None, last_step=None,
94
  force_full_denoise=False):
95
  seed = seed if isinstance(seed, int) else random.randint(1, 2 ** 64)
96
 
 
153
 
154
  @torch.no_grad()
155
  def ksampler_with_refiner(model, positive, negative, refiner, refiner_positive, refiner_negative, latent,
156
+ seed=None, steps=30, refiner_switch_step=20, cfg=7.0, sampler_name='dpmpp_2m_sde_gpu',
157
+ scheduler='karras', denoise=1.0, disable_noise=False, start_step=None, last_step=None,
158
  force_full_denoise=False):
159
  seed = seed if isinstance(seed, int) else random.randint(1, 2 ** 64)
160