Subprocess Handling¶
Retrieve SubprocessHandler¶
SubprocessHandler¶
- class torch.distributed.elastic.multiprocessing.subprocess_handler.subprocess_handler.SubprocessHandler(entrypoint, args, env, stdout, stderr, local_rank_id)[source]¶
Convenience wrapper around python’s
subprocess.Popen
. Keeps track of meta-objects associated to the process (e.g. stdout and stderr redirect fds).