Skip to content

Commit 71a4e6a

Browse files
committed
debug
1 parent ec14f54 commit 71a4e6a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/maxdiffusion/pipelines/ltx2/ltx2_pipeline.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,6 +1446,7 @@ def _print_stats(name, tensor):
14461446
print(
14471447
f"DEBUG {name} shape: {tensor.shape}, mean: {jnp.round(jnp.mean(tensor), 4)}, min: {jnp.round(jnp.min(tensor), 4)}, max: {jnp.round(jnp.max(tensor), 4)}, std: {jnp.round(jnp.std(tensor), 4)}"
14481448
)
1449+
print(f"WEIGHT DEBUG: block 0 to_q kernel mean: {self.transformer.transformer_blocks.attn1.to_q.kernel.value[0].mean():.6f}")
14491450
_print_stats("video_embeds", video_embeds)
14501451
_print_stats("audio_embeds", audio_embeds)
14511452

0 commit comments

Comments
 (0)