Skip to content

Commit 0912984

Browse files
philipbutlerDN6yiyixuxu
authored
Remove redundant lines (#7396)
Co-authored-by: Dhruv Nair <[email protected]> Co-authored-by: YiYi Xu <[email protected]>
1 parent 33b363e commit 0912984

File tree

1 file changed

+0
-3
lines changed
  • src/diffusers/models/autoencoders

1 file changed

+0
-3
lines changed

src/diffusers/models/autoencoders/vae.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ def __init__(
9090
padding=1,
9191
)
9292

93-
self.mid_block = None
9493
self.down_blocks = nn.ModuleList([])
9594

9695
# down
@@ -228,7 +227,6 @@ def __init__(
228227
padding=1,
229228
)
230229

231-
self.mid_block = None
232230
self.up_blocks = nn.ModuleList([])
233231

234232
temb_channels = in_channels if norm_type == "spatial" else None
@@ -474,7 +472,6 @@ def __init__(
474472
padding=1,
475473
)
476474

477-
self.mid_block = None
478475
self.up_blocks = nn.ModuleList([])
479476

480477
temb_channels = in_channels if norm_type == "spatial" else None

0 commit comments

Comments
 (0)