The DiT parity tests imported build_packed_inputs from fastvideo.pipelines.basic.magi_human.stages.latent_preparation, which ships in step 4/8 of the PR #1280 decomposition. On this branch (3/8 — DiT only) the import would crash with ImportError when assets were present, instead of cleanly skipping. Wrap the import in try/except so the test is true dead code on this branch, per the decomposition contract: 'every intermediate state is dead code, not broken code.'
15B-param single-stream transformer for daVinci-MagiHuman: 40 layers,
hidden=5120, head_dim=128, GQA num_query_groups=8. Joint audio-visual
denoising in a unified token sequence (no cross-attention).
Pure addition; the DiT is dead code on the stack tip until the activation
switch in 8/8.
Files:
- fastvideo/models/dits/magi_human.py (architecture port)
- fastvideo/configs/models/dits/magi_human.py (MagiHumanVideoConfig)
- fastvideo/configs/models/dits/__init__.py (+1 export)
- tests/local_tests/helpers/magi_human_upstream.py (loader for the
upstream daVinci-MagiHuman reference - shared by parity tests)
- tests/local_tests/magi_human/test_magi_human_parity.py (base, bit-exact)
- tests/local_tests/magi_human/test_magi_human_distill_parity.py
(DMD-2 distill, bit-exact)
Two debug-scratch files were intentionally dropped during decomposition:
_debug_magi_human_block_parity.py and _debug_magi_human_weight_diff.py.
Magi-Stack: 3/8