Skip to content

Commit e2a736f

Browse files
committed
removed redundant args
1 parent d153740 commit e2a736f

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

src/maxdiffusion/pipelines/wan/wan_pipeline_i2v_2p1.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,6 @@ def run_inference_2_1_i2v(
265265
num_inference_steps: int,
266266
scheduler: FlaxUniPCMultistepScheduler,
267267
scheduler_state,
268-
rng: jax.Array,
269-
first_frame_mask: Optional[jnp.array],
270268
):
271269
do_classifier_free_guidance = guidance_scale > 1.0
272270

src/maxdiffusion/pipelines/wan/wan_pipeline_i2v_2p2.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ def _process_image_input(img_input, height, width, num_videos_per_prompt):
228228
num_inference_steps=num_inference_steps,
229229
scheduler=self.scheduler,
230230
image_embeds=image_embeds,
231-
first_frame_mask=first_frame_mask,
232231
)
233232

234233
with self.mesh, nn_partitioning.axis_rules(self.config.logical_axis_rules):
@@ -254,14 +253,12 @@ def run_inference_2_2_i2v(
254253
prompt_embeds: jnp.array,
255254
negative_prompt_embeds: jnp.array,
256255
image_embeds: jnp.array,
257-
first_frame_mask: Optional[jnp.array],
258256
guidance_scale_low: float,
259257
guidance_scale_high: float,
260258
boundary: int,
261259
num_inference_steps: int,
262260
scheduler: FlaxUniPCMultistepScheduler,
263261
scheduler_state,
264-
rng: jax.Array,
265262
):
266263
do_classifier_free_guidance = guidance_scale_low > 1.0 or guidance_scale_high > 1.0
267264
def high_noise_branch(operands):

0 commit comments

Comments
 (0)