Projekt_AI-Automatyczny_saper/venv/Lib/site-packages/torch/distributed/constants.py
2021-06-01 17:38:31 +02:00

9 lines
397 B
Python

from datetime import timedelta
# Default process group wide timeout, if applicable.
# This only applies to the gloo and nccl backends
# (only if NCCL_BLOCKING_WAIT or NCCL_ASYNC_ERROR_HANDLING is set to 1).
# To make an attempt at backwards compatibility with THD, we use an
# extraordinarily high default timeout, given that THD did not have timeouts.
default_pg_timeout = timedelta(minutes=30)