The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Fix potential regression with previous PR. (#16596)
comfyanonymous4ef23c34d950
diff --git a/comfy/ldm/wan/model.py b/comfy/ldm/wan/model.pyindex 5a1023dac..1ac306368 100644--- a/comfy/ldm/wan/model.py+++ b/comfy/ldm/wan/model.py@@ -821,7 +821,7 @@ class VaceWanModel(WanModel):if self.img_emb is not None:context_clip = self.img_emb(clip_fea) # bs x 257 x dimcontext = torch.concat([context_clip, context], dim=1)- context_img_len = clip_fea.shape[-2]+ context_img_len = clip_fea.shape[-2]# vace blocks are t2v pretrained, they attend over text tokens onlyif context_img_len is None: