We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e63fe0 commit 4580591Copy full SHA for 4580591
1 file changed
src/maxdiffusion/pipelines/wan/wan_pipeline_i2v_2p2.py
@@ -97,11 +97,6 @@ def prepare_latents(
97
last_image = last_image.detach().cpu().numpy()
98
last_image = jnp.array(last_image)
99
100
- if num_videos_per_prompt > 1:
101
- image = jnp.repeat(image, num_videos_per_prompt, axis=0)
102
- if last_image is not None:
103
- last_image = jnp.repeat(last_image, num_videos_per_prompt, axis=0)
104
-
105
num_channels_latents = self.vae.z_dim
106
num_latent_frames = (num_frames - 1) // self.vae_scale_factor_temporal + 1
107
latent_height = height // self.vae_scale_factor_spatial
0 commit comments