-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix quantile tests running on multi-gpus (#8775)
* Fix quantile tests running on multi-gpus * Run some gtests with multiple GPUs * fix mgpu test naming * Instruct NCCL to print extra logs * Allocate extra space in /dev/shm to enable NCCL * use gtest_skip to skip mgpu tests --------- Co-authored-by: Hyunsu Philip Cho <[email protected]>
- Loading branch information
Showing
3 changed files
with
50 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
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 multiple GPUs" | ||
buildkite-agent artifact download "build/testxgboost" . --step build-cuda | ||
chmod +x build/testxgboost | ||
tests/ci_build/ci_build.sh gpu nvidia-docker \ | ||
--build-arg CUDA_VERSION_ARG=$CUDA_VERSION \ | ||
--build-arg RAPIDS_VERSION_ARG=$RAPIDS_VERSION \ | ||
build/testxgboost --gtest_filter=*MGPU* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters