revert to 1.0.36

This commit is contained in:
lvmin
2023-08-19 20:11:22 -07:00
parent 0c5e78961e
commit dd3c62012e
6 changed files with 9 additions and 18 deletions
+2 -2
View File
@@ -45,10 +45,10 @@ def worker():
if performance_selction == 'Speed':
steps = 30
switch = 15
switch = 20
else:
steps = 60
switch = 30
switch = 40
width, height = aspect_ratios[aspect_ratios_selction]
+2 -3
View File
@@ -92,7 +92,7 @@ def get_previewer(device, latent_format):
@torch.no_grad()
def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=7.0, sampler_name='uni_pc',
def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=7.0, sampler_name='dpmpp_2m_sde_gpu',
scheduler='karras', denoise=1.0, disable_noise=False, start_step=None, last_step=None,
force_full_denoise=False, callback_function=None):
# SCHEDULERS = ["normal", "karras", "exponential", "simple", "ddim_uniform"]
@@ -134,7 +134,6 @@ def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=7.0, sa
noise_mask = prepare_mask(noise_mask, noise.shape, device)
comfy.model_management.load_model_gpu(model)
real_model = model.model
noise = noise.to(device)
@@ -165,7 +164,7 @@ def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=7.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=7.0, sampler_name='uni_pc',
seed=None, steps=30, refiner_switch_step=20, cfg=7.0, sampler_name='dpmpp_2m_sde_gpu',
scheduler='karras', denoise=1.0, disable_noise=False, start_step=None, last_step=None,
force_full_denoise=False, callback_function=None):
# SCHEDULERS = ["normal", "karras", "exponential", "simple", "ddim_uniform"]
+2 -2
View File
@@ -8,8 +8,8 @@ styles = [
},
{
"name": "cinematic-default",
"prompt": "cinematic still {prompt} . emotional, harmonious, vignette, highly detailed, high budget, moody, epic, gorgeous, film grain, grainy",
"negative_prompt": "blur, bokeh, anime, cartoon, graphic, text, painting, crayon, graphite, abstract, glitch, deformed, mutated, ugly, disfigured"
"prompt": "cinematic still {prompt} . emotional, harmonious, vignette, highly detailed, high budget, bokeh, cinemascope, moody, epic, gorgeous, film grain, grainy",
"negative_prompt": "anime, cartoon, graphic, text, painting, crayon, graphite, abstract, glitch, deformed, mutated, ugly, disfigured"
},
{
"name": "sai-3d-model",