Compare commits

..

No commits in common. "634f04797c0a8ed72a6aa77a812a4af2bc9d3cba" and "a06c75fe1b454a5a8d2518f64f47d4443b0f0095" have entirely different histories.

3 changed files with 4 additions and 5 deletions

View File

@ -413,8 +413,7 @@ class ControlNet(nn.Module):
out_middle = []
if self.num_classes is not None:
if y is None:
raise ValueError("y is None, did you try using a controlnet for SDXL on SD1?")
assert y.shape[0] == x.shape[0]
emb = emb + self.label_emb(y)
h = x

View File

@ -38,7 +38,6 @@ class EmptyHunyuanLatentVideo(io.ComfyNode):
def define_schema(cls):
return io.Schema(
node_id="EmptyHunyuanLatentVideo",
display_name="Empty HunyuanVideo 1.0 Latent",
category="latent/video",
inputs=[
io.Int.Input("width", default=848, min=16, max=nodes.MAX_RESOLUTION, step=16),
@ -64,7 +63,6 @@ class EmptyHunyuanVideo15Latent(EmptyHunyuanLatentVideo):
def define_schema(cls):
schema = super().define_schema()
schema.node_id = "EmptyHunyuanVideo15Latent"
schema.display_name = "Empty HunyuanVideo 1.5 Latent"
return schema
@classmethod
@ -73,6 +71,8 @@ class EmptyHunyuanVideo15Latent(EmptyHunyuanLatentVideo):
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})
generate = execute # TODO: remove
class HunyuanVideo15ImageToVideo(io.ComfyNode):
@classmethod

View File

@ -1,5 +1,5 @@
comfyui-frontend-package==1.30.6
comfyui-workflow-templates==0.7.9
comfyui-workflow-templates==0.6.0
comfyui-embedded-docs==0.3.1
torch
torchsde