From 96e2a45193cc74cb8dbc39c717619ace7c848018 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Thu, 23 Jan 2025 05:56:23 -0500 Subject: [PATCH] Remove useless code. --- comfy/ldm/modules/diffusionmodules/model.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/comfy/ldm/modules/diffusionmodules/model.py b/comfy/ldm/modules/diffusionmodules/model.py index 303147a9..3bf83a7e 100644 --- a/comfy/ldm/modules/diffusionmodules/model.py +++ b/comfy/ldm/modules/diffusionmodules/model.py @@ -702,9 +702,6 @@ class Decoder(nn.Module): padding=1) def forward(self, z, **kwargs): - #assert z.shape[1:] == self.z_shape[1:] - self.last_z_shape = z.shape - # timestep embedding temb = None