Commit 36f43ea
authored
Add upsample_size to AttnUpBlock2D, AttnDownBlock2D (huggingface#3275)
The argument `upsample_size` needs to be added to these modules to allow compatibility with other blocks that require this argument.1 parent 27522b5 commit 36f43ea
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
734 | 734 | | |
735 | 735 | | |
736 | 736 | | |
737 | | - | |
| 737 | + | |
738 | 738 | | |
739 | 739 | | |
740 | 740 | | |
| |||
1720 | 1720 | | |
1721 | 1721 | | |
1722 | 1722 | | |
1723 | | - | |
| 1723 | + | |
1724 | 1724 | | |
1725 | 1725 | | |
1726 | 1726 | | |
| |||
0 commit comments