We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d45d5b6 commit c4dcd64Copy full SHA for c4dcd64
1 file changed
src/maxdiffusion/tests/ltx2_parity_test.py
@@ -603,6 +603,13 @@ def test_import_parity_comparison_split(self):
603
exactly (to a high precision) given the same inputs and weights, with rope_type='split'.
604
"""
605
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
613
from flax import traverse_util
614
615
parity_file = "ltx2_parity_data_split.pt"
0 commit comments