Files
hao-ai-lab-FastVideo/tests/local_tests
Raghav 29b66fe563 [bugfix] Fix CI failures and address review comments
CI fixes:
- Add use_embedded_guidance to SamplingConfig in fastvideo/api/schema.py
  (test_inventory_targets_exist_in_typed_schema walked request.sampling but
  field was missing from the dataclass)
- Add true_cfg_scale and use_embedded_guidance to expected_dests in
  inference_schema_parity_inventory.yaml generate section
  (test_cli_dest_inventory_matches_live_parsers found both dests on the
  live parser but not in the inventory)

Gemini/Copilot review fixes:
- flux.py: scale ts0 by *1000 when timestep is float — FLUX passes timestep
  in [0,1] so the old int(item()) produced ts0=0 for every non-zero step
- flux.py: use truthiness guard on controlnet samples instead of is not None
  to prevent ZeroDivisionError on empty-list input
- test_flux_t2i_similarity.py: restrict SSIM parametrize to TORCH_SDPA;
  FLASH_ATTN reference not yet seeded (pending Will confirmation on coverage)
- docs: update README.md and PORT_STATUS.md to reflect PASS evidence and
  committed SSIM references (TORCH_SDPA, A40, 2026-05-11)
- test_flux_dev_pipeline_smoke.py: fix function signature indent (PEP 8)
2026-07-11 14:38:01 -07:00
..
2026-06-09 14:55:55 -07:00
2026-06-09 14:55:55 -07:00

Local Tests

Local-only parity, smoke, and component tests for FastVideo model ports. They compare FastVideo against the official reference implementations and are skipped in CI; run them locally on a single GPU (or CPU where noted).

For the CI-backed test suite, see fastvideo/tests/.

Layout

Tests are organized by model family, one directory per port. Each family directory follows the layout produced by the add-model-prep skill:

tests/local_tests/<family>/
├── README.md         # reference assets, setup, test inventory
├── __init__.py
└── test_<family>_<component>_*.py

Families

Family Workload Dir
Flux2 T2I flux2/
Hunyuan GameCraft T2V / I2V gamecraft/
GEN3C T2V gen3c/
Kandinsky-5 T2V kandinsky5/
LTX-2 T2V (+ audio) ltx2/
Stable Diffusion 3.5 T2I sd35/
Stable Audio Open 1.0 T2A stable_audio/
Wan2.2 I2V wan22/

Running a family

pytest tests/local_tests/<family>/ -v -s

See each family's README.md for setup (clones, weights, env vars, gated tokens) and the per-component parity coverage.

Adding a new family

Run the add-model-prep skill from the FastVideo repo root. It scaffolds the family directory and README.md and stages reference clones + weights. (In-progress ports may also add a PORT_STATUS.md from the same skill template; remove it once the port lands.)