.. _elastic_subprocess_handler-api:

Subprocess Handling
======================

.. automodule:: torch.distributed.elastic.multiprocessing.subprocess_handler
.. automodule:: torch.distributed.elastic.multiprocessing.subprocess_handler.subprocess_handler
.. automodule:: torch.distributed.elastic.multiprocessing.subprocess_handler.handlers

Retrieve SubprocessHandler
---------------------------

.. autofunction:: torch.distributed.elastic.multiprocessing.subprocess_handler.handlers.get_subprocess_handler

SubprocessHandler
---------------------

.. currentmodule:: torch.distributed.elastic.multiprocessing.subprocess_handler.subprocess_handler

.. autoclass:: SubprocessHandler