Skip to content

Commit 72e3f60

Browse files
Add downscale ratio to empty ltxv latent. (Comfy-Org#13999)
1 parent 7ec7b6f commit 72e3f60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

comfy_extras/nodes_lt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def define_schema(cls):
7777
@classmethod
7878
def execute(cls, width, height, length, batch_size=1) -> io.NodeOutput:
7979
latent = torch.zeros([batch_size, 128, ((length - 1) // 8) + 1, height // 32, width // 32], device=comfy.model_management.intermediate_device())
80-
return io.NodeOutput({"samples": latent})
80+
return io.NodeOutput({"samples": latent, "downscale_ratio_spacial": 32})
8181

8282
generate = execute # TODO: remove
8383

0 commit comments

Comments
 (0)