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 cab7650 commit 6c0ca5eCopy full SHA for 6c0ca5e
src/diffusers/models/unet_blocks.py
@@ -60,7 +60,7 @@ def get_down_block(
60
)
61
elif down_block_type == "CrossAttnDownBlock2D":
62
if cross_attention_dim is None:
63
- raise ValueError("cross_attention_dim must be specified for CrossAttnUpBlock2D")
+ raise ValueError("cross_attention_dim must be specified for CrossAttnDownBlock2D")
64
return CrossAttnDownBlock2D(
65
num_layers=num_layers,
66
in_channels=in_channels,
0 commit comments