Skip to content

Commit ceabd07

Browse files
committed
adding parity check file
1 parent ee30474 commit ceabd07

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/maxdiffusion/tests/ltx2_vae_parity_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ def test_ltx2_vae_parity():
4444
print(f"Error: Checkpoint path {ckpt_path} does not exist.")
4545
return
4646

47-
loaded_params = checkpointer.restore(ckpt_path, item=params)
47+
# Load without 'item' to avoid structure mismatch errors with State vs Dict
48+
loaded_params = checkpointer.restore(ckpt_path)
4849

4950
# Merge back
5051
nnx.update(model, loaded_params)

0 commit comments

Comments
 (0)