Control Plane
This module contains optional helpers that add extra debug and control handlers into your application.
- torch.distributed.elastic.control_plane.worker_main()
This is a context manager that wraps your main entry function. This combines the existing
errors.recordlogic as well as a new_WorkerServerthat exposes handlers via a unix socket specified byTORCH_WORKER_SERVER_SOCKET.Example