fastvideo.v1.worker.gpu_worker
#
Module Contents#
Classes#
Functions#
Data#
API#
- class fastvideo.v1.worker.gpu_worker.Worker(fastvideo_args: fastvideo.v1.fastvideo_args.FastVideoArgs, local_rank: int, rank: int, pipe: multiprocessing.connection.Connection, master_port: int)[source]#
Initialization
- execute_forward(forward_batch: fastvideo.v1.pipelines.ForwardBatch, fastvideo_args: fastvideo.v1.fastvideo_args.FastVideoArgs) fastvideo.v1.pipelines.ForwardBatch [source]#
- fastvideo.v1.worker.gpu_worker.run_worker_process(fastvideo_args: fastvideo.v1.fastvideo_args.FastVideoArgs, local_rank: int, rank: int, pipe: multiprocessing.connection.Connection, master_port: int)[source]#