Skip to content

Commit d5809ed

Browse files
Apply style fixes
1 parent 5d614c7 commit d5809ed

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/diffusers/models/autoencoders/autoencoder_kl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ class AutoencoderKL(ModelMixin, ConfigMixin, FromOriginalModelMixin, PeftAdapter
6363
Synthesis with Latent Diffusion Models](https://huggingface.co/papers/2112.10752) paper.
6464
force_upcast (`bool`, *optional*, default to `True`):
6565
If enabled it will force the VAE to run in float32 for high image resolution pipelines, such as SD-XL. VAE
66-
can be fine-tuned / trained to a lower range without losing too much precision in which case
67-
`force_upcast` can be set to `False` - see: https://huggingface.co/madebyollin/sdxl-vae-fp16-fix
66+
can be fine-tuned / trained to a lower range without losing too much precision in which case `force_upcast`
67+
can be set to `False` - see: https://huggingface.co/madebyollin/sdxl-vae-fp16-fix
6868
mid_block_add_attention (`bool`, *optional*, default to `True`):
6969
If enabled, the mid_block of the Encoder and Decoder will have attention blocks. If set to false, the
7070
mid_block will only have resnet blocks

src/diffusers/models/autoencoders/autoencoder_kl_allegro.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -715,8 +715,8 @@ class AutoencoderKLAllegro(ModelMixin, ConfigMixin):
715715
Synthesis with Latent Diffusion Models](https://huggingface.co/papers/2112.10752) paper.
716716
force_upcast (`bool`, default to `True`):
717717
If enabled it will force the VAE to run in float32 for high image resolution pipelines, such as SD-XL. VAE
718-
can be fine-tuned / trained to a lower range without losing too much precision in which case
719-
`force_upcast` can be set to `False` - see: https://huggingface.co/madebyollin/sdxl-vae-fp16-fix
718+
can be fine-tuned / trained to a lower range without losing too much precision in which case `force_upcast`
719+
can be set to `False` - see: https://huggingface.co/madebyollin/sdxl-vae-fp16-fix
720720
"""
721721

722722
_supports_gradient_checkpointing = True

src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -983,8 +983,8 @@ class AutoencoderKLCogVideoX(ModelMixin, ConfigMixin, FromOriginalModelMixin):
983983
Synthesis with Latent Diffusion Models](https://huggingface.co/papers/2112.10752) paper.
984984
force_upcast (`bool`, *optional*, default to `True`):
985985
If enabled it will force the VAE to run in float32 for high image resolution pipelines, such as SD-XL. VAE
986-
can be fine-tuned / trained to a lower range without losing too much precision in which case
987-
`force_upcast` can be set to `False` - see: https://huggingface.co/madebyollin/sdxl-vae-fp16-fix
986+
can be fine-tuned / trained to a lower range without losing too much precision in which case `force_upcast`
987+
can be set to `False` - see: https://huggingface.co/madebyollin/sdxl-vae-fp16-fix
988988
"""
989989

990990
_supports_gradient_checkpointing = True

src/diffusers/models/autoencoders/autoencoder_kl_temporal_decoder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ class AutoencoderKLTemporalDecoder(ModelMixin, ConfigMixin):
161161
Synthesis with Latent Diffusion Models](https://huggingface.co/papers/2112.10752) paper.
162162
force_upcast (`bool`, *optional*, default to `True`):
163163
If enabled it will force the VAE to run in float32 for high image resolution pipelines, such as SD-XL. VAE
164-
can be fine-tuned / trained to a lower range without losing too much precision in which case
165-
`force_upcast` can be set to `False` - see: https://huggingface.co/madebyollin/sdxl-vae-fp16-fix
164+
can be fine-tuned / trained to a lower range without losing too much precision in which case `force_upcast`
165+
can be set to `False` - see: https://huggingface.co/madebyollin/sdxl-vae-fp16-fix
166166
"""
167167

168168
_supports_gradient_checkpointing = True

0 commit comments

Comments
 (0)