blob: f7718c4a20e0764a91cf7f9d449c634f2aebcc1d [file] [log] [blame]
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 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)