Update nodes.py

This commit is contained in:
kijai
2025-03-22 16:15:28 +02:00
parent 8d6e823d7e
commit 1e2afdbaa2
+2
View File
@@ -1165,6 +1165,8 @@ class WanVideoClipVisionEncode:
clip_embeds = torch.sum(torch.stack([embed_1, embed_2]), dim=0)
elif combine_embeds == "concat":
clip_embeds = torch.cat([embed_1, embed_2], dim=1)
log.info(f"Combined clip embeds shape: {clip_embeds.shape}")
if force_offload:
clip_vision.model.to(offload_device)