We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f789325 commit 5f8ab7bCopy full SHA for 5f8ab7b
src/diffusers/models/controlnets/controlnet_z_image.py
@@ -300,8 +300,8 @@ def forward(
300
f_patch_size=1,
301
conditioning_scale: float = 1.0,
302
):
303
- assert patch_size in self.all_patch_size
304
- assert f_patch_size in self.all_f_patch_size
+ assert patch_size in self.config.all_patch_size
+ assert f_patch_size in self.config.all_f_patch_size
305
306
bsz = len(x)
307
device = x[0].device
0 commit comments