mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
Update changelog
This commit is contained in:
@@ -143,11 +143,10 @@ def full_vae_decode(latents, model):
|
||||
if getattr(model.vae, "post_quant_conv", None) is not None:
|
||||
if getattr(model.vae.post_quant_conv, "bias", None) is not None:
|
||||
latents = latents.to(model.vae.post_quant_conv.bias.dtype)
|
||||
elif "VAE" in shared.opts.sdnq_quantize_weights:
|
||||
latents = latents.to(devices.dtype_vae)
|
||||
else:
|
||||
if "VAE" in shared.opts.sdnq_quantize_weights:
|
||||
latents = latents.to(devices.dtype_vae)
|
||||
else:
|
||||
latents = latents.to(next(iter(model.vae.post_quant_conv.parameters())).dtype)
|
||||
latents = latents.to(next(iter(model.vae.post_quant_conv.parameters())).dtype)
|
||||
else:
|
||||
latents = latents.to(model.vae.dtype)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user