takes care of a grad strides error at https://github.com/lucidrains/DALLE2-pytorch/issues/196 thanks to @YUHANG-Ma

This commit is contained in:
Phil Wang
2022-07-14 15:28:34 -07:00
parent 1662bbf226
commit a58a370d75
2 changed files with 2 additions and 2 deletions

View File

@@ -1926,7 +1926,7 @@ class Unet(nn.Module):
hiddens.append(x)
x = attn(x)
hiddens.append(x)
hiddens.append(x.contiguous())
if exists(post_downsample):
x = post_downsample(x)

View File

@@ -1 +1 @@
__version__ = '0.24.1'
__version__ = '0.24.2'