gpu_worker
¶
Classes¶
fastvideo.worker.gpu_worker.Worker
¶
Worker(fastvideo_args: FastVideoArgs, local_rank: int, rank: int, distributed_init_method: str)
Source code in fastvideo/worker/gpu_worker.py
Functions¶
fastvideo.worker.gpu_worker.Worker.init_device
¶
Initialize the device for the worker.
Source code in fastvideo/worker/gpu_worker.py
fastvideo.worker.gpu_worker.Worker.shutdown
¶
Gracefully shut down the worker process