fastvideo.v1.entrypoints.cli.utils
#
Module Contents#
Classes#
Functions#
Launch a distributed job with the given arguments |
Data#
API#
- class fastvideo.v1.entrypoints.cli.utils.RaiseNotImplementedAction(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)[source]#
Bases:
argparse.Action
- fastvideo.v1.entrypoints.cli.utils.launch_distributed(num_gpus: int, args: List[str], master_port: Optional[int] = None) int [source]#
Launch a distributed job with the given arguments
- Parameters:
num_gpus β Number of GPUs to use
args β Arguments to pass to v1_fastvideo_inference.py (defaults to sys.argv[1:])
master_port β Port for the master process (default: random)