We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2aaef0 commit da9dab7Copy full SHA for da9dab7
comfy/ldm/wan/model.py
@@ -769,8 +769,7 @@ def forward_orig(
769
# embeddings
770
x = self.patch_embedding(x.float()).to(x.dtype)
771
if self.control_adapter is not None and camera_conditions is not None:
772
- x_camera = self.control_adapter(camera_conditions).to(x.dtype)
773
- x = x + x_camera
+ x = x + self.control_adapter(camera_conditions).to(x.dtype)
774
grid_sizes = x.shape[2:]
775
x = x.flatten(2).transpose(1, 2)
776
0 commit comments