Compare commits

..

1 Commits

Author SHA1 Message Date
Phil Wang
032e83b0e0 nevermind, do not enforce text encodings on first unet 2022-06-26 12:45:05 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -1852,7 +1852,7 @@ class Decoder(nn.Module):
one_unet = one_unet.cast_model_parameters(
lowres_cond = not is_first,
cond_on_image_embeds = not unconditional and is_first,
cond_on_text_encodings = not unconditional and (is_first or one_unet.cond_on_text_encodings),
cond_on_text_encodings = not unconditional and one_unet.cond_on_text_encodings,
channels = unet_channels,
channels_out = unet_channels_out
)

View File

@@ -1 +1 @@
__version__ = '0.12.0'
__version__ = '0.12.1'