Skip to content

Commit 8f15be1

Browse files
Fix redundant prev_output_channel assignment in UNet2DModel (#10945)
1 parent f92e599 commit 8f15be1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/diffusers/models/unets/unet_2d.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ def __init__(
240240
dropout=dropout,
241241
)
242242
self.up_blocks.append(up_block)
243-
prev_output_channel = output_channel
244243

245244
# out
246245
num_groups_out = norm_num_groups if norm_num_groups is not None else min(block_out_channels[0] // 4, 32)

0 commit comments

Comments
 (0)