子进程处理¶ 检索 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]¶ Python 的 subprocess.Popen 的便捷包装器。跟踪与进程关联的元对象(例如 stdout 和 stderr 重定向 fd)。