Skip to content

Commit 789021f

Browse files
committed
Use 10.0 container to build RMM-enabled XGBoost
1 parent a4da8c5 commit 789021f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Jenkinsfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ pipeline {
7070
'build-cpu-non-omp': { BuildCPUNonOmp() },
7171
// Build reference, distribution-ready Python wheel with CUDA 10.0
7272
// using CentOS 6 image
73-
'build-gpu-cuda10.0': { BuildCUDA(cuda_version: '10.0') },
73+
'build-gpu-cuda10.0': { BuildCUDA(cuda_version: '10.0', build_rmm: true) },
7474
// The build-gpu-* builds below use Ubuntu image
7575
'build-gpu-cuda10.1': { BuildCUDA(cuda_version: '10.1') },
76-
'build-gpu-cuda10.2': { BuildCUDA(cuda_version: '10.2', build_rmm: true) },
76+
'build-gpu-cuda10.2': { BuildCUDA(cuda_version: '10.2') },
7777
'build-gpu-cuda11.0': { BuildCUDA(cuda_version: '11.0') },
7878
'build-jvm-packages-gpu-cuda10.0': { BuildJVMPackagesWithCUDA(spark_version: '3.0.0', cuda_version: '10.0') },
7979
'build-jvm-packages': { BuildJVMPackages(spark_version: '3.0.0') },
@@ -386,8 +386,8 @@ def TestPythonGPU(args) {
386386
sh "${dockerRun} ${container_type} ${docker_binary} ${docker_args} tests/ci_build/test_python.sh ${mgpu_indicator}"
387387
if (args.test_rmm) {
388388
sh "rm -rfv build/ python-package/dist/"
389-
unstash name: "xgboost_whl_rmm_cuda${args.host_cuda_version}"
390-
unstash name: "xgboost_cpp_tests_rmm_cuda${args.host_cuda_version}"
389+
unstash name: "xgboost_whl_rmm_cuda${artifact_cuda_version}"
390+
unstash name: "xgboost_cpp_tests_rmm_cuda${artifact_cuda_version}"
391391
sh "${dockerRun} ${container_type} ${docker_binary} ${docker_args} tests/ci_build/test_python.sh ${mgpu_indicator}"
392392
}
393393
deleteDir()
@@ -417,11 +417,11 @@ def TestCppGPU(args) {
417417
echo "Test C++, CUDA ${args.host_cuda_version}"
418418
def container_type = "gpu"
419419
def docker_binary = "nvidia-docker"
420-
def docker_args = "--build-arg CUDA_VERSION=${artifact_cuda_version}"
420+
def docker_args = "--build-arg CUDA_VERSION=${args.host_cuda_version}"
421421
sh "${dockerRun} ${container_type} ${docker_binary} ${docker_args} build/testxgboost"
422422
if (args.test_rmm) {
423423
sh "rm -rfv build/"
424-
unstash name: "xgboost_cpp_tests_rmm_cuda${args.host_cuda_version}"
424+
unstash name: "xgboost_cpp_tests_rmm_cuda${artifact_cuda_version}"
425425
echo "Test C++, CUDA ${args.host_cuda_version} with RMM"
426426
container_type = "rmm"
427427
docker_binary = "nvidia-docker"

tests/ci_build/Dockerfile.rmm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN \
2020
# NCCL2 (License: https://docs.nvidia.com/deeplearning/sdk/nccl-sla/index.html)
2121
RUN \
2222
export CUDA_SHORT=`echo $CUDA_VERSION | egrep -o '[0-9]+\.[0-9]'` && \
23-
export NCCL_VERSION=2.7.5-1 && \
23+
export NCCL_VERSION=2.4.8-1 && \
2424
apt-get update && \
2525
apt-get install -y --allow-downgrades --allow-change-held-packages libnccl2=${NCCL_VERSION}+cuda${CUDA_SHORT} libnccl-dev=${NCCL_VERSION}+cuda${CUDA_SHORT}
2626

0 commit comments

Comments
 (0)