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.
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 matches TorchElastic Rendezvous Timeout on Large Clusters across every rank in a distributed run and reports which rank failed first, so you act on the initiating node instead of the loudest one.
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.
Is this what broke your run? Paste your log.
You're reading about TorchElastic Rendezvous Timeout on Large Clusters. Paste your own crash log or traceback below and get the real root cause for YOUR run, not this generic entry. No account, no card. Logs are masked at ingress and never saved to account history.
Want 14 days on the Scale plan?
Request an evaluation code. A verified workplace organization activates up to 50 diagnoses a day, alerts, history, and follow-up questions. No credit card or automatic subscription.
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
| Symptom | Why 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.
Searchable error signature
torch.distributed.elastic.rendezvous.api.RendezvousTimeoutErrorUse 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 analysisNo 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 extensionRoot 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
Evaluate Denpex on your own logs
Request a Scale evaluation code. A verified workplace organization activates 14 days with up to 50 diagnoses a day. Every account keeps its current diagnosis allowance and gets a verification path. No card or automatic subscription.
References
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.