MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / parse_args

Function parse_args

lightx2v_train/infer.py:14–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12from lightx2v_train.runtime.fsdp import apply_fsdp2, fsdp2_enabled
13from lightx2v_train.runtime.precision import configure_precision
14
15
16def 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

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected