Update nodes_hunyuan.py

This commit is contained in:
comfyanonymous 2025-11-22 22:45:49 -05:00 committed by GitHub
parent 4f76cab6f9
commit 0337d3a644
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,8 +73,6 @@ class EmptyHunyuanVideo15Latent(EmptyHunyuanLatentVideo):
latent = torch.zeros([batch_size, 32, ((length - 1) // 4) + 1, height // 16, width // 16], device=comfy.model_management.intermediate_device()) latent = torch.zeros([batch_size, 32, ((length - 1) // 4) + 1, height // 16, width // 16], device=comfy.model_management.intermediate_device())
return io.NodeOutput({"samples": latent}) return io.NodeOutput({"samples": latent})
generate = execute # TODO: remove
class HunyuanVideo15ImageToVideo(io.ComfyNode): class HunyuanVideo15ImageToVideo(io.ComfyNode):
@classmethod @classmethod