Skip to content

Commit

Permalink
Update autoencoder_kl as well
Browse files Browse the repository at this point in the history
  • Loading branch information
lekurile committed Jan 8, 2024
1 parent 68dcb3c commit 683a732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepspeed/module_inject/containers/vae.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def __init__(self):
self._orig_layer_class = diffusers.models.autoencoders.vae.AutoencoderKL
else:
# Diffusers >= 0.12.0 changes location of AutoencoderKL
self._orig_layer_class = diffusers.models.autoencoder_kl.AutoencoderKL
self._orig_layer_class = diffusers.models.autoencoders.autoencoder_kl.AutoencoderKL
except ImportError:
self._orig_layer_class = None

Expand Down

0 comments on commit 683a732

Please # to comment.