From 4d25976f332bb47f4d23989ed42f2e13d9c08980 Mon Sep 17 00:00:00 2001 From: Phil Wang Date: Tue, 26 Apr 2022 08:36:00 -0700 Subject: [PATCH] make sure non-latent diffusion still works --- dalle2_pytorch/dalle2_pytorch.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dalle2_pytorch/dalle2_pytorch.py b/dalle2_pytorch/dalle2_pytorch.py index 730b99b..b157a3e 100644 --- a/dalle2_pytorch/dalle2_pytorch.py +++ b/dalle2_pytorch/dalle2_pytorch.py @@ -1117,7 +1117,7 @@ class Decoder(nn.Module): unet, *, clip, - vae = None, + vae = tuple(), timesteps = 1000, cond_drop_prob = 0.2, loss_type = 'l1', diff --git a/setup.py b/setup.py index eb3853f..010e08c 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( 'dream = dalle2_pytorch.cli:dream' ], }, - version = '0.0.45', + version = '0.0.46', license='MIT', description = 'DALL-E 2', author = 'Phil Wang',