Shortcuts

Subprocess Handling

Retrieve SubprocessHandler

torch.distributed.elastic.multiprocessing.subprocess_handler.handlers.get_subprocess_handler(entrypoint, args, env, stdout, stderr, local_rank_id)[source]

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).

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources