mirror of
https://github.com/lucidrains/DALLE2-pytorch.git
synced 2025-12-19 17:54:20 +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)
|
||||
|
||||
x = attn(x)
|
||||
hiddens.append(x)
|
||||
hiddens.append(x.contiguous())
|
||||
|
||||
if exists(post_downsample):
|
||||
x = post_downsample(x)
|
||||
|
||||
@@ -1 +1 @@
|
||||
__version__ = '0.24.1'
|
||||
__version__ = '0.24.2'
|
||||
|
||||
Reference in New Issue
Block a user