Skip to content

Commit

Permalink
remove debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
drhead authored Nov 30, 2023
1 parent de79597 commit 668ae34
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,6 @@ def rescale_zero_terminal_snr_abar(alphas_cumprod):
p.sd_model.alphas_cumprod = p.sd_model.alphas_cumprod.half().to(shared.device)
if opts.sd_noise_schedule == "Zero Terminal SNR":
p.extra_generation_params['Noise Schedule'] = opts.sd_noise_schedule
print("rescaling noise schedule for zero snr")
p.sd_model.alphas_cumprod = rescale_zero_terminal_snr_abar(p.sd_model.alphas_cumprod).to(shared.device)

with devices.without_autocast() if devices.unet_needs_upcast else devices.autocast():
Expand Down

0 comments on commit 668ae34

Please sign in to comment.