Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cudf JNI to 22.02.0-SNAPSHOT #9681

Merged
merged 1 commit into from
Nov 16, 2021
Merged
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
8 changes: 5 additions & 3 deletions java/ci/Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@
###
# Build the image for cudf development environment.
#
# Arguments: CUDA_VERSION=11.0, 11.1, 11.2.0 or 11.2.2
# Arguments: CUDA_VERSION=11.5.0
#
###
ARG CUDA_VERSION
FROM nvidia/cuda:$CUDA_VERSION-devel-centos7
ARG CUDA_VERSION=11.5.0
# use rapids gpuci/cuda images until nvidia/cuda cuda 11.5+ images are available in docker hub
# FROM nvidia/cuda:$CUDA_VERSION-devel-centos7
FROM gpuci/cuda:$CUDA_VERSION-devel-centos7

### Install basic requirements
RUN yum install -y centos-release-scl
Expand Down
10 changes: 5 additions & 5 deletions java/ci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,30 @@

In the root path of cuDF repo, run below command to build the docker image.
```bash
docker build -f java/ci/Dockerfile.centos7 --build-arg CUDA_VERSION=11.2.2 -t cudf-build:11.2.2-devel-centos7 .
docker build -f java/ci/Dockerfile.centos7 --build-arg CUDA_VERSION=11.5.0 -t cudf-build:11.5.0-devel-centos7 .
```

The following CUDA versions are supported w/ CUDA Enhanced Compatibility:
* CUDA 11.0+

Change the --build-arg CUDA_VERSION to what you need.
You can replace the tag "cudf-build:11.2.2-devel-centos7" with another name you like.
You can replace the tag "cudf-build:11.5.0-devel-centos7" with another name you like.

## Start the docker then build

### Start the docker

Run below command to start a docker container with GPU.
```bash
nvidia-docker run -it cudf-build:11.2.2-devel-centos7 bash
nvidia-docker run -it cudf-build:11.5.0-devel-centos7 bash
```

### Download the cuDF source code

You can download the cuDF repo in the docker container or you can mount it into the container.
Here I choose to download again in the container.
```bash
git clone --recursive https://github.com/rapidsai/cudf.git -b branch-21.12
git clone --recursive https://github.com/rapidsai/cudf.git -b branch-22.02
```

### Build cuDF jar with devtoolset
Expand All @@ -47,5 +47,5 @@ scl enable devtoolset-9 "java/ci/build-in-docker.sh"

### The output

You can find the cuDF jar in java/target/ like cudf-21.12.0-SNAPSHOT-cuda11.jar.
You can find the cuDF jar in java/target/ like cudf-22.02.0-SNAPSHOT-cuda11.jar.

2 changes: 1 addition & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<groupId>ai.rapids</groupId>
<artifactId>cudf</artifactId>
<version>21.12.0-SNAPSHOT</version>
<version>22.02.0-SNAPSHOT</version>

<name>cudfjni</name>
<description>
Expand Down
2 changes: 1 addition & 1 deletion java/src/main/native/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ rapids_cuda_init_architectures(CUDF_JNI)

project(
CUDF_JNI
VERSION 21.12.00
VERSION 22.02.00
LANGUAGES C CXX CUDA
)

Expand Down