Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Make SD3 empty latent image zeros.

comfyanonymous364b69e93120
diff --git a/comfy_extras/nodes_sd3.py b/comfy_extras/nodes_sd3.py
index 77b8fb8e2..60a85bbdf 100644
--- a/comfy_extras/nodes_sd3.py
+++ b/comfy_extras/nodes_sd3.py
@@ -36,7 +36,7 @@ class EmptySD3LatentImage:
CATEGORY = "latent/sd3"
def generate(self, width, height, batch_size=1):
- latent = torch.ones([batch_size, 16, height // 8, width // 8], device=self.device) * 0.0609
+ latent = torch.zeros([batch_size, 16, height // 8, width // 8], device=self.device)
return ({"samples":latent}, )
class CLIPTextEncodeSD3: