Skip to content

TorchElastic Rendezvous Timeout on Large Clusters

The default `torchrun` rendezvous timeout is 600 seconds. In large scale clusters (e.g., hundreds of nodes on AWS/GCP), container startup times, image pulling, and internal network resolution can easily exceed 10 minutes, causing early nodes to time out and crash before late nodes finish booting up. Additionally, short hostnames might fail to resolve if DNS is misconfigured, causing silent connection drops.

Quick answer

The default `torchrun` rendezvous timeout is 600 seconds.

Symptom
torch.distributed.elastic.rendezvous.api.RendezvousTimeoutError
Root cause
The default `torchrun` rendezvous timeout is 600 seconds. In large scale clusters (e.g.
Recommended fix
Increase torchrun rendezvous timeout torchrun --rdzv_configs="timeout=1800" ... Extends the waiting period for the c10d backend to allow slower nodes to finish provisioning and join the rendezvous barrier.
How Denpex helps
Denpex investigates TorchElastic Rendezvous Timeout on Large Clusters using the evidence you provide or your connected workload collects. Earlier rank, host or application evidence is needed to distinguish an initiating failure from a downstream report.
Network#Rendezvous Failure

What this failure is

TorchElastic Rendezvous Timeout on Large Clusters is a Network failure seen during ML training runs. The default `torchrun` rendezvous timeout is 600 seconds. In large scale clusters (e.g., hundreds of nodes on AWS/GCP), container startup times, image pulling, and internal network resolution can easily exceed 10 minutes, causing early nodes to time out and crash before late nodes finish booting up. Additionally, short hostnames might fail to resolve if DNS is misconfigured, causing silent connection drops. Common tags: Rendezvous Failure.

Live diagnosis, no signup

Is this what broke your run? Paste your log.

You're reading about TorchElastic Rendezvous Timeout on Large Clusters. Paste your own traceback and relevant evidence for an investigation of your workload, with a next action or a specific missing fact. A reference entry does not establish your cause. No account or card for the free diagnosis. Review data handling before submitting sensitive logs.

Before uploading, review cloud data handling and local options.

training_logs.txt
No log to hand? Try one:

Upload your log file. Large files are processed in your browser. Only selected evidence is submitted when you run diagnosis.

3 free diagnoses/day

Why it happens (the mechanism)

Users assume the network is broken or firewalls are blocking the ports, when in reality, the cluster provisioning is just slower than the default timeout window.

What you'll observe

  • torch.distributed.elastic.rendezvous.api.RendezvousTimeoutError
  • Rendezvous timeout occurred as some nodes failed to join

Common symptoms and what they mean

SymptomWhy it happens
The distributed job fails to start, crashing after exactly 10 minutes (600 seconds).The default `torchrun` rendezvous timeout is 600 seconds. In large scale clusters (e.g., hundreds of nodes on AWS/GCP), container startup times, image pulling, and internal network resolution can easily exceed 10 minutes, causing early nodes to time out and crash before late nodes finish booting up. Additionally, short hostnames might fail to resolve if DNS is misconfigured, causing silent connection drops.
Some nodes log that they are waiting for other ranks, but the other ranks never connect.The default `torchrun` rendezvous timeout is 600 seconds. In large scale clusters (e.g., hundreds of nodes on AWS/GCP), container startup times, image pulling, and internal network resolution can easily exceed 10 minutes, causing early nodes to time out and crash before late nodes finish booting up. Additionally, short hostnames might fail to resolve if DNS is misconfigured, causing silent connection drops.

Which systems are affected

  • torchrun
  • TorchElastic
  • c10d

How to confirm this is the problem

Use this checklist to test the hypothesis against a small reproduction. No single line proves the root cause, so preserve the preceding events and compare one variable at a time.

  • ✓Check node startup timestamps in the cluster orchestration (e.g., Kubernetes, Slurm).
  • ✓Ping the `rdzv_endpoint` from a failing node to verify DNS resolution and reachability.

Root cause

  • The default `torchrun` rendezvous timeout is 600 seconds. In large scale clusters (e.g., hundreds of nodes on AWS/GCP), container startup times, image pulling, and internal network resolution can easily exceed 10 minutes, causing early nodes to time out and crash before late nodes finish booting up. Additionally, short hostnames might fail to resolve if DNS is misconfigured, causing silent connection drops.

The fix and how to prevent it

Searchable error signature

search key
torch.distributed.elastic.rendezvous.api.RendezvousTimeoutError

Use this text as a lookup key in logs and upstream issue trackers. It is not presented as a captured customer log. Confirm the cause from your own preceding events, versions, configuration and the cited references.

The fix and the prevention pattern

The root cause is on this page and stays free. A free account adds the exact remediation steps, saved history, and the fix on every entry in the encyclopedia.

Sign up free. Unlock the full analysis

No credit card. Daily allowance follows verified trust tier. Instant access.

Diagnose this failure in VS Code

Select the traceback or open the failed terminal, then run Denpex locally to see the initiating rank, collateral failures, exact fix, and verification command without uploading the log.

Install the free VS Code extension

Don't just read the fix, diagnose your run

The encyclopedia tells you what went wrong. Denpex tells you what went wrong in YOUR training run. With your logs, your config, and your stack.