vLLM Tensor Parallelism + NCCL Hang on Multi-GPU Kubernetes Pods: How to fix 'Watchdog caught collective operation timeout' when /dev/shm is 64MB?
We deployed meta-llama/Llama-3.3-70B-Instruct on a 4-GPU Kubernetes node (--tensor-parallel-size 4) using vllm/vllm-openai:latest.
The Silent Hang & Crash
Single-GPU (TP=1) models boot fine. As soon as we enable --tensor-parallel-size 4, the pod stalls during custom all-reduce initialization and dumps:
text[rank0]:[E ProcessGroupNCCL.cpp:563] [Rank 0] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=1, OpType=ALLREDUCE, NumelIn=4194304) ran for 600000 milliseconds before timing out.
Setting NCCL_DEBUG=INFO shows ranks waiting indefinitely on shared-memory ring buffers. What Kubernetes Pod volume & NCCL environment settings are required for multi-GPU TP >= 2 vLLM pods?