1#!/usr/bin/env python3 2# mypy: allow-untyped-defs 3 4# Copyright (c) Facebook, Inc. and its affiliates. 5# All rights reserved. 6# 7# This source code is licensed under the BSD-style license found in the 8# LICENSE file in the root directory of this source tree. 9# Multiprocessing error-reporting module 10 11 12from torch.distributed.elastic.multiprocessing.errors.error_handler import ErrorHandler 13 14 15__all__ = ["get_error_handler"] 16 17 18def get_error_handler(): 19 return ErrorHandler() 20