Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔧 Enable NCCL monitoring in cuda build #309

Merged
merged 2 commits into from
Feb 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Dockerfile.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,13 @@ ENV HF_HUB_OFFLINE=1 \
VLLM_NO_USAGE_STATS=1 \
OUTLINES_CACHE_DIR=/tmp/outlines \
NUMBA_CACHE_DIR=/tmp/numba \
TRITON_CACHE_DIR=/tmp/triton
TRITON_CACHE_DIR=/tmp/triton \
# Setup NCCL monitoring with torch
# For tensor-parallel workloads, this monitors for NCCL deadlocks when
# one rank dies, and tears down the NCCL process groups so that the driver
# can cleanly exit.
TORCH_NCCL_HEARTBEAT_TIMEOUT_SEC=15 \
TORCH_NCCL_DUMP_ON_TIMEOUT=0

# setup non-root user for OpenShift
RUN umask 002 && \
Expand Down