-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1488 from pxLi/merge-23.10
Merge branch-23.10 to main [skip ci]
- Loading branch information
Showing
33 changed files
with
1,099 additions
and
75 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 |
---|---|---|
|
@@ -47,3 +47,8 @@ target/ | |
|
||
## VSCode IDE | ||
.vscode | ||
|
||
#Generated files | ||
cufile.log | ||
rmm_log.txt | ||
sanitizer_for_pid_*.log |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[submodule "thirdparty/cudf"] | ||
path = thirdparty/cudf | ||
url = https://github.com/rapidsai/cudf.git | ||
branch = branch-23.08 | ||
branch = branch-23.10 |
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,25 @@ | ||
#!/bin/bash | ||
# | ||
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
# This special Java executable is specified to the "jvm" configuration of the | ||
# the surefire plugin to intercept forking the processes for tests. Then | ||
# the tests will run with the compute-sanitizer tool. | ||
exec compute-sanitizer --tool memcheck \ | ||
--launch-timeout 600 \ | ||
--error-exitcode -2 \ | ||
--log-file "./sanitizer_for_pid_%p.log" \ | ||
java "$@" |
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,76 @@ | ||
# | ||
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
### | ||
# JNI CI image for multi-platform build | ||
# | ||
# Arguments: CUDA_VERSION=11.8.0 | ||
# | ||
### | ||
ARG CUDA_VERSION=11.8.0 | ||
ARG OS_RELEASE=8 | ||
# multi-platform build with: docker buildx build --platform linux/arm64,linux/amd64 <ARGS> on either amd64 or arm64 host | ||
# check available offcial arm-based docker images at https://hub.docker.com/r/nvidia/cuda/tags (OS/ARCH) | ||
FROM --platform=$TARGETPLATFORM nvidia/cuda:$CUDA_VERSION-devel-rockylinux$OS_RELEASE | ||
ARG TOOLSET_VERSION=11 | ||
### Install basic requirements | ||
RUN dnf install -y scl-utils | ||
RUN dnf install -y gcc-toolset-${TOOLSET_VERSION} python39 | ||
RUN dnf --enablerepo=powertools install -y zlib-devel maven tar wget patch ninja-build | ||
# require git 2.18+ to keep consistent submodule operations | ||
RUN dnf install -y git | ||
## pre-create the CMAKE_INSTALL_PREFIX folder, set writable by any user for Jenkins | ||
RUN mkdir /usr/local/rapids && mkdir /rapids && chmod 777 /usr/local/rapids && chmod 777 /rapids | ||
|
||
# 3.22.3+: CUDA architecture 'native' support + flexible CMAKE_<LANG>_*_LAUNCHER for ccache | ||
ARG CMAKE_VERSION=3.26.4 | ||
# default as arm64 release | ||
ARG CMAKE_ARCH=aarch64 | ||
# aarch64 cmake for arm build | ||
RUN cd /usr/local && wget --quiet https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-${CMAKE_ARCH}.tar.gz && \ | ||
tar zxf cmake-${CMAKE_VERSION}-linux-${CMAKE_ARCH}.tar.gz && \ | ||
rm cmake-${CMAKE_VERSION}-linux-${CMAKE_ARCH}.tar.gz | ||
ENV PATH /usr/local/cmake-${CMAKE_VERSION}-linux-${CMAKE_ARCH}/bin:$PATH | ||
|
||
# ccache for interactive builds | ||
ARG CCACHE_VERSION=4.6 | ||
RUN cd /tmp && wget --quiet https://github.com/ccache/ccache/releases/download/v${CCACHE_VERSION}/ccache-${CCACHE_VERSION}.tar.gz && \ | ||
tar zxf ccache-${CCACHE_VERSION}.tar.gz && \ | ||
rm ccache-${CCACHE_VERSION}.tar.gz && \ | ||
cd ccache-${CCACHE_VERSION} && \ | ||
mkdir build && \ | ||
cd build && \ | ||
scl enable gcc-toolset-${TOOLSET_VERSION} \ | ||
"cmake .. \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DZSTD_FROM_INTERNET=ON \ | ||
-DREDIS_STORAGE_BACKEND=OFF && \ | ||
cmake --build . --parallel 4 --target install" && \ | ||
cd ../.. && \ | ||
rm -rf ccache-${CCACHE_VERSION} | ||
|
||
## install a version of boost that is needed for arrow/parquet to work | ||
RUN cd /usr/local && wget --quiet https://boostorg.jfrog.io/artifactory/main/release/1.79.0/source/boost_1_79_0.tar.gz && \ | ||
tar -xzf boost_1_79_0.tar.gz && \ | ||
rm boost_1_79_0.tar.gz && \ | ||
cd boost_1_79_0 && \ | ||
./bootstrap.sh --prefix=/usr/local && \ | ||
./b2 install --prefix=/usr/local --with-filesystem --with-system && \ | ||
cd /usr/local && \ | ||
rm -rf boost_1_79_0 | ||
|
||
# disable cuda container constraints to allow running w/ elder drivers on data-center GPUs | ||
ENV NVIDIA_DISABLE_REQUIRE="true" |
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
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
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
Oops, something went wrong.