()
| 12 | from lightx2v_train.runtime.fsdp import apply_fsdp2, fsdp2_enabled |
| 13 | from lightx2v_train.runtime.precision import configure_precision |
| 14 | |
| 15 | |
| 16 | def parse_args(): |
| 17 | parser = argparse.ArgumentParser(description="Run inference with a trained LightX2V model.") |
| 18 | parser.add_argument("--config", required=True, help="Path to a YAML config file.") |
| 19 | return parser.parse_args() |
| 20 |