This commit is contained in:
lvmin 2023-08-10 11:59:27 -07:00
parent aa9c8a86bf
commit 398766d40f
1 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ from modules.samplers_advanced import KSampler, KSamplerWithRefiner
from modules.adm_patch import patch_negative_adm
patch_negative_adm()
# patch_negative_adm()
opCLIPTextEncode = CLIPTextEncode()
opEmptyLatentImage = EmptyLatentImage()
opVAEDecode = VAEDecode()
@ -83,8 +83,8 @@ def close_all_preview():
@torch.no_grad()
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,
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):
seed = seed if isinstance(seed, int) else random.randint(1, 2 ** 64)
@ -147,8 +147,8 @@ def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=9.0, sa
@torch.no_grad()
def ksampler_with_refiner(model, positive, negative, refiner, refiner_positive, refiner_negative, latent,
seed=None, steps=30, refiner_switch_step=20, cfg=9.0, sampler_name='dpmpp_2m_sde',
scheduler='karras', denoise=1.0, disable_noise=False, start_step=None, last_step=None,
seed=None, steps=30, refiner_switch_step=20, 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):
seed = seed if isinstance(seed, int) else random.randint(1, 2 ** 64)