fastvideo.v1.entrypoints.cli.utils#

Module Contents#

Classes#

Functions#

launch_distributed

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)

fastvideo.v1.entrypoints.cli.utils.logger[source]#

β€˜init_logger(…)’