mirror of
https://github.com/lucidrains/DALLE2-pytorch.git
synced 2025-12-19 09:44:19 +01:00
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:
@@ -1926,7 +1926,7 @@ class Unet(nn.Module):
|
|||||||
hiddens.append(x)
|
hiddens.append(x)
|
||||||
|
|
||||||
x = attn(x)
|
x = attn(x)
|
||||||
hiddens.append(x)
|
hiddens.append(x.contiguous())
|
||||||
|
|
||||||
if exists(post_downsample):
|
if exists(post_downsample):
|
||||||
x = post_downsample(x)
|
x = post_downsample(x)
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = '0.24.1'
|
__version__ = '0.24.2'
|
||||||
|
|||||||
Reference in New Issue
Block a user