mirror of
https://github.com/vladmandic/automatic
synced 2026-09-17 08:19:11 +02:00
switch some cmdopts to opts
This commit is contained in:
@@ -680,7 +680,7 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed:
|
||||
for x in x_samples_ddim:
|
||||
devices.test_for_nans(x, "vae")
|
||||
except devices.NansException as e:
|
||||
if not shared.cmd_opts.no_half and not shared.cmd_opts.no_half_vae and shared.cmd_opts.rollback_vae:
|
||||
if not shared.opts.no_half and not shared.opts.no_half_vae and shared.cmd_opts.rollback_vae:
|
||||
log.warning('Tensor with all NaNs was produced in VAE')
|
||||
devices.dtype_vae = torch.bfloat16
|
||||
vae_file, vae_source = sd_vae.resolve_vae(p.sd_model.sd_model_checkpoint)
|
||||
|
||||
Reference in New Issue
Block a user