Skip to content

Commit c4dcd64

Browse files
committed
debug
1 parent d45d5b6 commit c4dcd64

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/maxdiffusion/tests/ltx2_parity_test.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,13 @@ def test_import_parity_comparison_split(self):
603603
exactly (to a high precision) given the same inputs and weights, with rope_type='split'.
604604
"""
605605
print("\n=== Parity Comparison Test (Split) ===")
606+
try:
607+
import torch
608+
except ImportError:
609+
print("Skipping parity test: torch not installed.")
610+
return
611+
612+
import os
606613
from flax import traverse_util
607614

608615
parity_file = "ltx2_parity_data_split.pt"

0 commit comments

Comments
 (0)