Skip to content

Commit a72339d

Browse files
committed
removed nornalisation transpose
1 parent c00f53d commit a72339d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/maxdiffusion/pipelines/wan/wan_pipeline.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,8 +532,6 @@ def prepare_latents_i2v_base(
532532

533533
with self.mesh, nn_partitioning.axis_rules(self.config.logical_axis_rules):
534534
encoded_output = self.vae.encode(video_condition)[0].mode()
535-
536-
encoded_output = jnp.transpose(encoded_output, (0, 2, 3, 4, 1))
537535

538536
# Normalize latents
539537
latents_mean = jnp.array(self.vae.latents_mean).reshape(1, 1, 1, 1, self.vae.z_dim)

0 commit comments

Comments
 (0)