processes_manager

module process_manager. Utilities for managing processes

class processes_manager.TorchProcsHandler(n_procs: int)

The TorchProcsHandler class. Utility class to handle PyTorch processe

__init__(n_procs: int) None

Constructor

Parameters

n_procs (The number of processes to handle) –

__len__() int

The number of workers handled by this instance