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

Update nccl-plugin and rxdm versions and add --install-nccl to prolog #235

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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: 5 additions & 3 deletions tools/prologs-epilogs/receive-data-path-manager-mega
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,23 @@ fi
# ensure that dmabuf-import-helper is loaded
modprobe import-helper

NCCL_PLUGIN_IMAGE=us-docker.pkg.dev/gce-ai-infra/gpudirect-tcpxo/nccl-plugin-gpudirecttcpx-dev:v1.0.4
RXDM_IMAGE=us-docker.pkg.dev/gce-ai-infra/gpudirect-tcpxo/tcpgpudmarxd-dev:v1.0.10
NCCL_PLUGIN_IMAGE=us-docker.pkg.dev/gce-ai-infra/gpudirect-tcpxo/nccl-plugin-gpudirecttcpx-dev:v1.0.7
RXDM_IMAGE=us-docker.pkg.dev/gce-ai-infra/gpudirect-tcpxo/tcpgpudmarxd-dev:v1.0.13
RXDM_CONTAINER=receive-datapath-manager-"${SLURM_JOB_ID}"
if [[ ${SLURM_SCRIPT_CONTEXT} == "prolog_slurmd" ]]; then
docker container list --filter "name=receive-datapath-manager-*" --quiet | xargs --no-run-if-empty docker container stop

export PATH=${PATH}:/usr/local/lib/google-cloud-sdk/bin/
gcloud auth configure-docker --quiet us-docker.pkg.dev 2>&1 &>/dev/null

rm -rf /var/lib/tcpxo/lib64 || true

# Install the nccl, nccl-net lib into /var/lib/tcpxo/lib64/.
docker run --rm --name nccl-installer \
--network=host \
-v /var/lib:/var/lib \
${NCCL_PLUGIN_IMAGE} \
install
install --install-nccl

# Modify NCCL env vars for Debian 12.
# /var/lib/tcpxo/lib64/nccl-env-profile.sh is written by the nccl-installer container
Expand Down
Loading