mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-08-16 04:16:36 +08:00
Make SD3 empty latent image zeros.
This shouldn't change anything. The reason it was not zeros is because it did matter in early versions of the code.
This commit is contained in:
parent
5c7e72f3b1
commit
841df2fab1
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user