Multiprocessing
Library that launches and manages n copies of worker subprocesses either specified by a function or a binary.
For functions, it uses torch.multiprocessing (and therefore python
multiprocessing) to spawn/fork worker processes. For binaries it uses python
subprocessing.Popen to create worker processes.
Usage 1: Launching two trainers as a function
from torch.distributed.elastic.multiprocessing import