Skip to content

Commit 249a8a2

Browse files
committed
file reformatted
1 parent b0c826f commit 249a8a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def __init__(
103103
self.width_pad = width_pad
104104
self.time_pad = time_pad
105105
self.time_causal_padding = (width_pad, width_pad, height_pad, height_pad, time_pad, 0)
106-
self.const_padding_conv3d = (0, self.width_pad, self.height_pad)
106+
self.const_padding_conv3d = (0, self.width_pad, self.height_pad)
107107

108108
self.temporal_dim = 2
109109
self.time_kernel_size = time_kernel_size
@@ -116,8 +116,8 @@ def __init__(
116116
kernel_size=kernel_size,
117117
stride=stride,
118118
dilation=dilation,
119-
padding = 0 if self.pad_mode == 'replicate' else self.const_padding_conv3d,
120-
padding_mode = 'zeros',
119+
padding=0 if self.pad_mode == "replicate" else self.const_padding_conv3d,
120+
padding_mode="zeros",
121121
)
122122

123123
def fake_context_parallel_forward(

0 commit comments

Comments
 (0)