Skip to content

Commit

Permalink
Allocate extra space in /dev/shm to enable NCCL
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho3 committed Feb 12, 2023
1 parent 7127abd commit 87d06c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/buildkite/test-cpp-gpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ set -euo pipefail

source tests/buildkite/conftest.sh

# Allocate extra space in /dev/shm to enable NCCL
export CI_DOCKER_EXTRA_PARAMS_INIT='--shm-size=4g'

echo "--- Run Google Tests with CUDA, using a GPU"
buildkite-agent artifact download "build/testxgboost" . --step build-cuda
chmod +x build/testxgboost
Expand Down

0 comments on commit 87d06c5

Please sign in to comment.