"git@developer.sourcefind.cn:OpenDAS/torch-scatter.git" did not exist on "75dbe17593df6ca17767eb18951533d6f5df22ee"
Unverified Commit 7fb4b882 authored by Laurent Mazare's avatar Laurent Mazare Committed by GitHub
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.
parent 888468dd
......@@ -1053,7 +1053,6 @@ class CrossAttnUpBlock2D(nn.Module):
cross_attention_dim=1280,
attention_type="default",
output_scale_factor=1.0,
downsample_padding=1,
add_upsample=True,
):
super().__init__()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment