Skip to content

Commit 0c3bc91

Browse files
committed
Refactor
1 parent 626538e commit 0c3bc91

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/maxdiffusion/models/wan/autoencoder_kl_wan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def __call__(self, x: jax.Array, cache_x: Optional[jax.Array] = None, idx=-1) ->
136136

137137
if self.mesh is not None:
138138
# (B, D, H, W, C)
139-
x_padded = with_sharding_constraint(x_padded, PartitionSpec(None, None, 'fsdp', None, None))
139+
x_padded = with_sharding_constraint(x_padded, PartitionSpec(None, None, None, 'fsdp', None))
140140

141141
out = self.conv(x_padded)
142142
return out

0 commit comments

Comments
 (0)