Skip to content

Commit 7fb4b88

Browse files
Remove some unused parameter in CrossAttnUpBlock2D (#1034)
Remove some unused parameter The `downsample_padding` parameter does not seem to be used in `CrossAttnUpBlock2D` (or by any up block for that matter) so removing it.
1 parent 888468d commit 7fb4b88

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/diffusers/models/unet_2d_blocks.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,6 @@ def __init__(
10531053
cross_attention_dim=1280,
10541054
attention_type="default",
10551055
output_scale_factor=1.0,
1056-
downsample_padding=1,
10571056
add_upsample=True,
10581057
):
10591058
super().__init__()

0 commit comments

Comments
 (0)