Merge branch 'comfyanonymous:master' into master

This commit is contained in:
patientx 2025-06-20 09:44:52 +03:00 committed by GitHub
commit 73dfb38f5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -123,6 +123,8 @@ class ControlNetFlux(Flux):
if y is None:
y = torch.zeros((img.shape[0], self.params.vec_in_dim), device=img.device, dtype=img.dtype)
else:
y = y[:, :self.params.vec_in_dim]
# running on sequences img
img = self.img_in(img)