Skip to content

Commit 082f1f9

Browse files
committed
Added more debug for NaNs
1 parent 288f8c5 commit 082f1f9

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/maxdiffusion/pipelines/wan/wan_pipeline_i2v_2p1.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,6 @@ def print_step_zero_stats(operands):
373373
std=jnp.std(latents),
374374
mean=jnp.mean(latents))
375375
jax.debug.print("first_frame_mask shape: {}", first_frame_mask.shape if first_frame_mask is not None else (-1,))
376-
jax.debug.print("first_frame_mask unique values: {}", jnp.unique(first_frame_mask))
377376
jax.debug.print("condition shape: {}", condition.shape)
378377
jax.debug.print("condition stats: {}, {}, {}", jnp.min(condition), jnp.max(condition), jnp.mean(condition))
379378
latents, scheduler_state = scheduler.step(scheduler_state, noise_pred, t, latents).to_tuple()

0 commit comments

Comments
 (0)