Skip to content
Draft
Show file tree
Hide file tree
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
12 changes: 10 additions & 2 deletions .github/eks-workflow-files/mpi-nccl-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ spec:
- image: PLACEHOLDER
imagePullPolicy: IfNotPresent
name: PLACEHOLDER
env:
- name: PATH
value: $PATH:/opt/amazon/efa/bin:/usr/bin:/usr/local/mpi/bin
- name: LD_LIBRARY_PATH
value: "/usr/local/mpi/lib:/opt/nccl/build/lib:/opt/amazon/efa/lib:/opt/aws-ofi-nccl/install/lib:/usr/local/nvidia/lib:/usr/local/cuda/compat/lib.real:$LD_LIBRARY_PATH"
- name: NCCL_TUNER_PLUGIN
value: /opt/aws-ofi-nccl/install/lib/libnccl-ofi-tuner.so
command:
- bash
- -c
Expand All @@ -41,8 +48,8 @@ spec:
echo "Workers were still not reachable after ${limit}, exiting"
exit 1
fi
mpirun --allow-run-as-root --tag-output -N 1 -x LD_LIBRARY_PATH=/usr/local/cuda/compat/lib nvidia-smi
mpirun --allow-run-as-root -N 8 -x LD_LIBRARY_PATH=/usr/local/cuda/compat/lib $0 \
mpirun --allow-run-as-root --tag-output -N 1 -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH} nvidia-smi
mpirun --allow-run-as-root -N 8 -x ${PATH} -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH} -x NVIDIA_GDRCOPY=enabled -x FI_EFA_USE_DEVICE_RDMA=1 -x FI_LOG_LEVEL=info -x NCCL_DEBUG=info -x NCCL_TUNER_PLUGIN=${NCCL_TUNER_PLUGIN} $0 \
-b 8 \
-e 16G \
-f 2 \
Expand All @@ -65,6 +72,7 @@ spec:
- image: PLACEHOLDER
imagePullPolicy: IfNotPresent
name: PLACEHOLDER
env:
volumeMounts:
- name: shmem
mountPath: /dev/shm
Expand Down
Loading
Loading