The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Remove unnecessary code.
comfyanonymous79040635dace
diff --git a/comfy/ldm/modules/diffusionmodules/openaimodel.py b/comfy/ldm/modules/diffusionmodules/openaimodel.pyindex ba8fc2c4a..6535e899c 100644--- a/comfy/ldm/modules/diffusionmodules/openaimodel.py+++ b/comfy/ldm/modules/diffusionmodules/openaimodel.py@@ -809,7 +809,7 @@ class UNetModel(nn.Module):self.out = nn.Sequential(operations.GroupNorm(32, ch, dtype=self.dtype, device=device),nn.SiLU(),- zero_module(operations.conv_nd(dims, model_channels, out_channels, 3, padding=1, dtype=self.dtype, device=device)),+ operations.conv_nd(dims, model_channels, out_channels, 3, padding=1, dtype=self.dtype, device=device),)if self.predict_codebook_ids:self.id_predictor = nn.Sequential(