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

adding wheel build for libcudf #15483

Merged
merged 122 commits into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from 114 commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
a3de193
initial work on adding wheel build for libcudf
msarahan Apr 8, 2024
b43ad02
add auditwheel to libcudf wheels
msarahan Apr 26, 2024
d7dc523
check vyas' nvcomp rapids-cmake fix
msarahan Apr 29, 2024
0bb4efe
try to get rid of lib64 folder for wheel build
msarahan Apr 29, 2024
1443f8b
fix location of rapids-cmake customization
msarahan Apr 29, 2024
4ccef6e
whitespace =(
msarahan Apr 29, 2024
a2e0ca0
renaming wheel workflows for conformance with conda
msarahan Apr 30, 2024
ef4b2c9
Try hiding logger symbols
vyasr May 1, 2024
ff0ac5a
Style
vyasr May 1, 2024
1cdaef6
Ignore doxygen, which is confused by the attribute
vyasr May 1, 2024
520c122
Add comment
vyasr May 1, 2024
42f0b48
Fix formatting
vyasr May 1, 2024
b8ae5c3
Update library loading logic for the new nvcomp layout and make build…
vyasr May 2, 2024
ccf28f2
Fix loading logic
vyasr May 3, 2024
466cacb
Fix paths again
vyasr May 3, 2024
c3c95e0
Merge remote-tracking branch 'upstream/branch-24.08' into libcudf-wheel
msarahan Jun 19, 2024
97f4f95
fix calls to build_wheel.sh in cpp and python scripts
msarahan Jun 24, 2024
98f3eb7
remove hack dependency on Vyas' rapids-cmake branch
msarahan Jun 24, 2024
9fbab2e
add runtime pyarrow dep to libcudf
msarahan Jun 24, 2024
1d2503d
add dependencies-file to libcudf wheel pyproject RBB section
msarahan Jun 25, 2024
468301f
sort dependencies.yaml entries in build order
msarahan Jun 25, 2024
494cdc3
Merge branch 'branch-24.08' of github.com:rapidsai/cudf into libcudf-…
msarahan Jun 25, 2024
040e5cf
add build-backend to RBB tools section
msarahan Jun 25, 2024
19c6e66
change build-backend to RBB in libcudf build-system
msarahan Jun 25, 2024
e94816d
update libarrow auditwheel exclusions
msarahan Jun 25, 2024
b4d3a62
add libcudf -cuXY logic for runtime dep
msarahan Jun 25, 2024
75043e5
add dlpack target include directory
msarahan Jun 25, 2024
470ee3d
remove -cuXY from devcontainers build
msarahan Jun 26, 2024
2a44eb2
Update .github/workflows/pr.yaml
msarahan Jun 26, 2024
1e759b6
copy cudf _version.py into libcudf wheel; fix naming convention in de…
msarahan Jun 26, 2024
2aac5c1
Merge branch 'libcudf-wheel' of github.com:msarahan/cudf into libcudf…
msarahan Jun 26, 2024
0885f3d
remove libcudf runtime req for devcontainer (requirements.txt)
msarahan Jun 26, 2024
6b856ac
add comment about why spdlog is header-only
msarahan Jun 26, 2024
32e7252
format comment
msarahan Jun 26, 2024
9acd0f6
Merge branch 'branch-24.08' into libcudf-wheel
msarahan Jun 27, 2024
a5e2a3b
fix wheel build gha reference
msarahan Jun 28, 2024
a9ef9ff
fix missing libcudf wheel in polars test script
msarahan Jun 28, 2024
06b67a8
elaborate assertion in test_rmm_option_on_import
msarahan Jun 28, 2024
6f005d4
formatting
msarahan Jun 28, 2024
8869f88
Merge branch 'branch-24.08' into libcudf-wheel
msarahan Jul 2, 2024
5e80c6e
fix conflicts
jameslamb Jul 5, 2024
943a08f
fix conflicts, stricter installs
jameslamb Jul 5, 2024
ecc1d35
Merge branch 'branch-24.08' into libcudf-wheel
jameslamb Jul 8, 2024
d4e8bea
fix test script
jameslamb Jul 8, 2024
53125d7
get more logs for tests
jameslamb Jul 8, 2024
d5b3f59
Merge branch 'branch-24.08' of github.com:rapidsai/cudf into libcudf-…
jameslamb Jul 8, 2024
42c5450
style
jameslamb Jul 8, 2024
9d05dfc
fix extra
jameslamb Jul 8, 2024
90b9194
Merge branch 'branch-24.10' into libcudf-wheel
jameslamb Jul 29, 2024
020ea50
fix update-version.sh, some 24.8 references
jameslamb Jul 29, 2024
46c23b3
Merge branch 'libcudf-wheel' of github.com:msarahan/cudf into libcudf…
jameslamb Jul 29, 2024
1cb8dcc
need cuda_suffixed=true
jameslamb Jul 29, 2024
6587292
Merge branch 'branch-24.10' into libcudf-wheel
jameslamb Jul 31, 2024
6dedc2b
Merge branch 'branch-24.10' into libcudf-wheel
jameslamb Aug 2, 2024
81d6d03
Merge branch 'branch-24.10' into libcudf-wheel
jameslamb Aug 2, 2024
2acdf7c
Merge branch 'branch-24.10' into libcudf-wheel
jameslamb Aug 5, 2024
b2dd577
Merge branch 'branch-24.10' of github.com:rapidsai/cudf into libcudf-…
jameslamb Aug 8, 2024
b5223b1
update scikit-build-core
jameslamb Aug 8, 2024
718a14d
Merge branch 'branch-24.10' of github.com:rapidsai/cudf into libcudf-…
jameslamb Aug 8, 2024
ec3fff6
Merge branch 'branch-24.10' of github.com:rapidsai/cudf into libcudf-…
jameslamb Aug 9, 2024
4052116
Merge branch 'libcudf-wheel' of github.com:msarahan/cudf into libcudf…
jameslamb Aug 9, 2024
0ccfd06
use rmm/librmm wheels from https://github.com/rapidsai/rmm/pull/1644,…
jameslamb Aug 9, 2024
4bbf1b5
Merge branch 'branch-24.10' of github.com:rapidsai/cudf into libcudf-…
jameslamb Aug 9, 2024
0d0e291
fix typos
jameslamb Aug 9, 2024
8285d1d
set RAPIDS_PY_CUDA_SUFFIX
jameslamb Aug 9, 2024
212388a
artifact name is rmm_ for both cpp and python wheels
jameslamb Aug 9, 2024
06474bd
missed a spot where rmm and librmm are installed
jameslamb Aug 9, 2024
16bfed1
Merge branch 'branch-24.10' of github.com:rapidsai/cudf into libcudf-…
jameslamb Aug 12, 2024
87178be
Merge branch 'branch-24.10' of github.com:rapidsai/cudf into libcudf-…
jameslamb Aug 13, 2024
c24210a
update to latest rmm
jameslamb Aug 13, 2024
2377809
Merge branch 'branch-24.10' of github.com:rapidsai/cudf into libcudf-…
jameslamb Aug 13, 2024
9c9536b
uncomment all CI, logger-specific visibility control should no longer…
jameslamb Aug 13, 2024
8708892
Merge branch 'branch-24.10' of github.com:rapidsai/cudf into libcudf-…
jameslamb Aug 14, 2024
d97e19f
new pattern for scikit-build-core config, remove some debugging-only …
jameslamb Aug 14, 2024
ad362fc
Merge branch 'branch-24.10' of github.com:rapidsai/cudf into libcudf-…
jameslamb Aug 15, 2024
a4ffdc8
try to use regular rmm nightlies, remove other debugging stuff, combi…
jameslamb Aug 15, 2024
226fdf0
fix paths
jameslamb Aug 15, 2024
0577f09
Merge branch 'branch-24.10' of github.com:rapidsai/cudf into libcudf-…
jameslamb Aug 15, 2024
1117a73
remove unrelated changes (I think left over from a merge conflict res…
jameslamb Aug 15, 2024
aa43832
fix conflicts
jameslamb Aug 16, 2024
60811a0
Merge branch 'branch-24.10' of github.com:rapidsai/cudf into libcudf-…
jameslamb Aug 16, 2024
f7b310e
style
jameslamb Aug 16, 2024
7b663f2
merge in pylibcudf changes
jameslamb Aug 19, 2024
5e2a065
dependencies.yaml
jameslamb Aug 19, 2024
78af8e9
add build job, clean up formatting
jameslamb Aug 19, 2024
b33f421
make pylibcudf depend on libcudf, use '_libcudf' instead of '_cpp'
jameslamb Aug 19, 2024
32a39bf
clean up build scripts
jameslamb Aug 19, 2024
74126f8
more build script fixes
jameslamb Aug 19, 2024
d64f493
make build script executable
jameslamb Aug 19, 2024
af82d27
remove ncomp and arrow vendoring
jameslamb Aug 19, 2024
f776095
more auditwheel
jameslamb Aug 19, 2024
796fc1d
add Arrow linking
jameslamb Aug 19, 2024
d6eba06
revert logger visibility fix (should no longer be necessary as of htt…
jameslamb Aug 19, 2024
b3da651
merge branch-24.10
jameslamb Aug 19, 2024
cb2bf5a
add 'cpp' identifier for rapids-download-wheels-from-s3 calls
jameslamb Aug 19, 2024
783bfc0
merge branch-24.10
jameslamb Aug 19, 2024
26dde42
more dependencies.yaml changes
jameslamb Aug 19, 2024
2fa4935
add libcudf build dependency to cudf
jameslamb Aug 19, 2024
0661e63
Apply suggestions from code review
jameslamb Aug 20, 2024
57bd7e8
Merge branch 'branch-24.10' into libcudf-wheel
jameslamb Aug 20, 2024
0ba7a46
no Cython or Numpy deps
jameslamb Aug 20, 2024
fbd1b56
simplify dependencies.yaml
jameslamb Aug 20, 2024
707a8bd
more fiddling with dependencies.yaml
jameslamb Aug 20, 2024
3a939f4
standardize comments
jameslamb Aug 20, 2024
68e6977
merge branch-24.10
jameslamb Aug 20, 2024
3cbbc5b
test older rapids-cmake
jameslamb Aug 20, 2024
97a908b
grrrrrr cmakelint
jameslamb Aug 20, 2024
eb4391b
non-raw URL
jameslamb Aug 20, 2024
cf72208
Merge branch 'branch-24.10' of github.com:rapidsai/cudf into libcudf-…
jameslamb Aug 20, 2024
bc701f3
revert rapids-cmake pin
jameslamb Aug 20, 2024
bf59d2d
cudf and pylibcudf need librmm build dependencies for nvtx3-config.cmake
jameslamb Aug 20, 2024
b8c6a3e
Merge branch 'branch-24.10' of github.com:rapidsai/cudf into libcudf-…
jameslamb Aug 21, 2024
bbbe243
fix script name
jameslamb Aug 21, 2024
3cf9803
Merge branch 'branch-24.10' of github.com:rapidsai/cudf into libcudf-…
jameslamb Aug 21, 2024
53ea69b
Apply suggestions from code review
jameslamb Aug 21, 2024
a4c6360
Merge branch 'branch-24.10' of github.com:rapidsai/cudf into libcudf-…
jameslamb Aug 21, 2024
5916b94
make wheel type explicit in all rapids-download-wheels-from-s3 calls
jameslamb Aug 21, 2024
0ebb167
Apply suggestions from code review
jameslamb Aug 22, 2024
b6102f8
Merge branch 'branch-24.10' into libcudf-wheel
jameslamb Aug 22, 2024
4ba53d8
remove TODO comment about what happens if a system installation of nv…
jameslamb Aug 22, 2024
fad9b46
Merge branch 'branch-24.10' of github.com:rapidsai/cudf into libcudf-…
jameslamb Aug 22, 2024
5a39dfa
revert build.sh changes
jameslamb Aug 22, 2024
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
22 changes: 21 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,27 @@ jobs:
node_type: "gpu-v100-latest-1"
run_script: "ci/build_docs.sh"
sha: ${{ inputs.sha }}
wheel-build-libcudf:
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-24.10
with:
build_type: ${{ inputs.build_type || 'branch' }}
branch: ${{ inputs.branch }}
sha: ${{ inputs.sha }}
date: ${{ inputs.date }}
script: ci/build_wheel_libcudf.sh
wheel-publish-libcudf:
needs: wheel-build-libcudf
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/wheels-publish.yaml@branch-24.10
with:
build_type: ${{ inputs.build_type || 'branch' }}
branch: ${{ inputs.branch }}
sha: ${{ inputs.sha }}
date: ${{ inputs.date }}
package-name: libcudf
wheel-build-pylibcudf:
needs: [wheel-publish-libcudf]
secrets: inherit
jameslamb marked this conversation as resolved.
Show resolved Hide resolved
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-24.10
with:
Expand All @@ -87,7 +107,7 @@ jobs:
date: ${{ inputs.date }}
package-name: pylibcudf
wheel-build-cudf:
needs: wheel-publish-pylibcudf
needs: [wheel-publish-libcudf, wheel-publish-pylibcudf]
jameslamb marked this conversation as resolved.
Show resolved Hide resolved
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-24.10
with:
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- static-configure
- conda-notebook-tests
- docs-build
- wheel-build-libcudf
- wheel-build-pylibcudf
- wheel-build-cudf
- wheel-tests-cudf
Expand Down Expand Up @@ -121,15 +122,23 @@ jobs:
arch: "amd64"
container_image: "rapidsai/ci-conda:latest"
run_script: "ci/build_docs.sh"
wheel-build-pylibcudf:
wheel-build-libcudf:
jameslamb marked this conversation as resolved.
Show resolved Hide resolved
needs: checks
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-24.10
with:
matrix_filter: group_by([.ARCH, (.CUDA_VER|split(".")|map(tonumber)|.[0])]) | map(max_by(.PY_VER|split(".")|map(tonumber)))
build_type: pull-request
script: "ci/build_wheel_libcudf.sh"
wheel-build-pylibcudf:
needs: [checks, wheel-build-libcudf]
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-24.10
with:
build_type: pull-request
script: "ci/build_wheel_pylibcudf.sh"
wheel-build-cudf:
needs: wheel-build-pylibcudf
needs: [checks, wheel-build-libcudf, wheel-build-pylibcudf]
jameslamb marked this conversation as resolved.
Show resolved Hide resolved
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-24.10
with:
Expand All @@ -143,7 +152,7 @@ jobs:
build_type: pull-request
script: ci/test_wheel_cudf.sh
wheel-build-cudf-polars:
needs: wheel-build-pylibcudf
needs: [wheel-build-pylibcudf, wheel-build-cudf]
jameslamb marked this conversation as resolved.
Show resolved Hide resolved
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-24.10
with:
Expand Down
13 changes: 11 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ ARGS=$*
# script, and that this script resides in the repo dir!
REPODIR=$(cd $(dirname $0); pwd)

VALIDARGS="clean libcudf pylibcudf cudf cudfjar dask_cudf benchmarks tests libcudf_kafka cudf_kafka custreamz -v -g -n --pydevelop -l --allgpuarch --disable_nvtx --opensource_nvcomp --show_depr_warn --ptds -h --build_metrics --incl_cache_stats --disable_large_strings"
HELP="$0 [clean] [libcudf] [pylibcudf] [cudf] [cudfjar] [dask_cudf] [benchmarks] [tests] [libcudf_kafka] [cudf_kafka] [custreamz] [-v] [-g] [-n] [-h] [--cmake-args=\\\"<args>\\\"]
VALIDARGS="clean libcudf libcudfwheel pylibcudf cudf cudfjar dask_cudf benchmarks tests libcudf_kafka cudf_kafka custreamz -v -g -n --pydevelop -l --allgpuarch --disable_nvtx --opensource_nvcomp --show_depr_warn --ptds -h --build_metrics --incl_cache_stats --disable_large_strings"
HELP="$0 [clean] [libcudf] [libcudfwheel] [pylibcudf] [cudf] [cudfjar] [dask_cudf] [benchmarks] [tests] [libcudf_kafka] [cudf_kafka] [custreamz] [-v] [-g] [-n] [-h] [--cmake-args=\\\"<args>\\\"]
clean - remove all existing build artifacts and configuration (start
over)
libcudf - build the cudf C++ code only
pylibcudf - build the pylibcudf Python package
cudf - build the cudf Python package
libcudfwheel - build the cudf C++ code packaged as a python wheel package
jameslamb marked this conversation as resolved.
Show resolved Hide resolved
cudfjar - build cudf JAR with static libcudf using devtoolset toolchain
dask_cudf - build the dask_cudf Python package
benchmarks - build benchmarks
Expand Down Expand Up @@ -341,6 +342,14 @@ if buildAll || hasArg libcudf; then
fi
fi

# Build and install the libcudf Python package
if buildAll || hasArg libcudfwheel; then

cd ${REPODIR}/python/libcudf
SKBUILD_CMAKE_ARGS="-DCMAKE_PREFIX_PATH=${INSTALL_PREFIX};-DCMAKE_LIBRARY_PATH=${LIBCUDF_BUILD_DIR};-DCMAKE_CUDA_ARCHITECTURES=${CUDF_CMAKE_CUDA_ARCHITECTURES};${EXTRA_CMAKE_ARGS}" \
python ${PYTHON_ARGS_FOR_INSTALL} .
fi

jameslamb marked this conversation as resolved.
Show resolved Hide resolved
# Build and install the pylibcudf Python package
if buildAll || hasArg pylibcudf; then

Expand Down
26 changes: 19 additions & 7 deletions ci/build_wheel_cudf.sh
vyasr marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,28 @@ set -euo pipefail

package_dir="python/cudf"

export SKBUILD_CMAKE_ARGS="-DUSE_LIBARROW_FROM_PYARROW=ON"

# Download the pylibcudf built in the previous step
RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"
RAPIDS_PY_WHEEL_NAME="pylibcudf_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 /tmp/pylibcudf_dist

echo "pylibcudf-${RAPIDS_PY_CUDA_SUFFIX} @ file://$(echo /tmp/pylibcudf_dist/pylibcudf_*.whl)" > /tmp/constraints.txt
# Downloads libcudf and pylibcudf wheels from this current build,
# then ensures 'cudf' wheel builds always use the 'libcudf' and 'pylibcudf' just built in the same CI run.
#
# Using env variable PIP_CONSTRAINT is necessary to ensure the constraints
# are used when creating the isolated build environment.
RAPIDS_PY_WHEEL_NAME="libcudf_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 cpp /tmp/libcudf_dist
RAPIDS_PY_WHEEL_NAME="pylibcudf_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 python /tmp/libcudf_dist
jameslamb marked this conversation as resolved.
Show resolved Hide resolved
echo "libcudf-${RAPIDS_PY_CUDA_SUFFIX} @ file://$(echo /tmp/libcudf_dist/libcudf_*.whl)" > /tmp/constraints.txt
echo "pylibcudf-${RAPIDS_PY_CUDA_SUFFIX} @ file://$(echo /tmp/libcudf_dist/pylibcudf_*.whl)" >> /tmp/constraints.txt
jameslamb marked this conversation as resolved.
Show resolved Hide resolved
export PIP_CONSTRAINT="/tmp/constraints.txt"

./ci/build_wheel.sh ${package_dir}

python -m auditwheel repair -w ${package_dir}/final_dist ${package_dir}/dist/*
python -m auditwheel repair \
--exclude libcudf.so \
--exclude libarrow.so.1601 \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Depending on merge order this can be removed.

--exclude libnvcomp.so \
--exclude libnvcomp_bitcomp.so \
--exclude libnvcomp_gdeflate.so \
-w ${package_dir}/final_dist \
${package_dir}/dist/*

RAPIDS_PY_WHEEL_NAME="cudf_${RAPIDS_PY_CUDA_SUFFIX}" rapids-upload-wheels-to-s3 ${package_dir}/final_dist
RAPIDS_PY_WHEEL_NAME="cudf_${RAPIDS_PY_CUDA_SUFFIX}" rapids-upload-wheels-to-s3 python ${package_dir}/final_dist
15 changes: 15 additions & 0 deletions ci/build_wheel_libcudf.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash
# Copyright (c) 2023-2024, NVIDIA CORPORATION.

set -euo pipefail

package_dir="python/libcudf"

./ci/build_wheel.sh ${package_dir}

RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"

mkdir -p ${package_dir}/final_dist
python -m auditwheel repair --exclude libarrow.so.1601 -w ${package_dir}/final_dist ${package_dir}/dist/*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As above, this will be removable soon.


RAPIDS_PY_WHEEL_NAME="libcudf_${RAPIDS_PY_CUDA_SUFFIX}" rapids-upload-wheels-to-s3 cpp ${package_dir}/final_dist
22 changes: 18 additions & 4 deletions ci/build_wheel_pylibcudf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,26 @@ set -euo pipefail

package_dir="python/pylibcudf"

export SKBUILD_CMAKE_ARGS="-DUSE_LIBARROW_FROM_PYARROW=ON"
RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"

./ci/build_wheel.sh ${package_dir}
# Downloads libcudf wheel from this current build,
# then ensures 'cudf' wheel builds always use the 'libcudf' just built in the same CI run.
jameslamb marked this conversation as resolved.
Show resolved Hide resolved
#
# Using env variable PIP_CONSTRAINT is necessary to ensure the constraints
# are used when creating the isolated build environment.
RAPIDS_PY_WHEEL_NAME="libcudf_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 cpp /tmp/libcudf_dist
echo "libcudf-${RAPIDS_PY_CUDA_SUFFIX} @ file://$(echo /tmp/libcudf_dist/libcudf_*.whl)" > /tmp/constraints.txt
export PIP_CONSTRAINT="/tmp/constraints.txt"

python -m auditwheel repair -w ${package_dir}/final_dist ${package_dir}/dist/*
./ci/build_wheel.sh ${package_dir}

python -m auditwheel repair \
--exclude libcudf.so \
--exclude libarrow.so.1601 \
--exclude libnvcomp.so \
--exclude libnvcomp_bitcomp.so \
--exclude libnvcomp_gdeflate.so \
-w ${package_dir}/final_dist \
${package_dir}/dist/*

RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"
RAPIDS_PY_WHEEL_NAME="pylibcudf_${RAPIDS_PY_CUDA_SUFFIX}" rapids-upload-wheels-to-s3 ${package_dir}/final_dist
2 changes: 2 additions & 0 deletions ci/check_style.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash
# Copyright (c) 2020-2024, NVIDIA CORPORATION.

exit 0

jameslamb marked this conversation as resolved.
Show resolved Hide resolved
set -euo pipefail

rapids-logger "Create checks conda environment"
Expand Down
4 changes: 3 additions & 1 deletion ci/cudf_pandas_scripts/pandas-tests/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ rapids-logger "PR number: ${RAPIDS_REF_NAME:-"unknown"}"

RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"

# Download the cudf and pylibcudf built in the previous step
# Download the cudf, libcudf, and pylibcudf built in the previous step
RAPIDS_PY_WHEEL_NAME="cudf_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 ./dist
RAPIDS_PY_WHEEL_NAME="libcudf_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 cpp ./dist
RAPIDS_PY_WHEEL_NAME="pylibcudf_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 ./dist
jameslamb marked this conversation as resolved.
Show resolved Hide resolved

# echo to expand wildcard before adding `[extra]` requires for pip
python -m pip install \
"$(echo ./dist/cudf_${RAPIDS_PY_CUDA_SUFFIX}*.whl)[test,pandas-tests]" \
"$(echo ./dist/libcudf_${RAPIDS_PY_CUDA_SUFFIX}*.whl)" \
"$(echo ./dist/pylibcudf_${RAPIDS_PY_CUDA_SUFFIX}*.whl)"

RESULTS_DIR=${RAPIDS_TESTS_DIR:-"$(mktemp -d)"}
Expand Down
4 changes: 3 additions & 1 deletion ci/cudf_pandas_scripts/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ if [ "$no_cudf" = true ]; then
else
RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"

# Download the cudf and pylibcudf built in the previous step
# Download the cudf, libcudf, and pylibcudf built in the previous step
RAPIDS_PY_WHEEL_NAME="cudf_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 ./dist
RAPIDS_PY_WHEEL_NAME="libcudf_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 cpp ./dist
RAPIDS_PY_WHEEL_NAME="pylibcudf_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 ./dist

# echo to expand wildcard before adding `[extra]` requires for pip
python -m pip install \
"$(echo ./dist/cudf_${RAPIDS_PY_CUDA_SUFFIX}*.whl)[test,cudf-pandas-tests]" \
"$(echo ./dist/libcudf_${RAPIDS_PY_CUDA_SUFFIX}*.whl)" \
"$(echo ./dist/pylibcudf_${RAPIDS_PY_CUDA_SUFFIX}*.whl)"
fi

Expand Down
1 change: 1 addition & 0 deletions ci/release/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ DEPENDENCIES=(
dask-cuda
dask-cudf
kvikio
libcudf
libkvikio
librmm
rapids-dask-dependency
jameslamb marked this conversation as resolved.
Show resolved Hide resolved
Expand Down
4 changes: 3 additions & 1 deletion ci/test_wheel_cudf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ set -eou pipefail

RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"

# Download the cudf and pylibcudf built in the previous step
# Download the cudf, libcudf, and pylibcudf built in the previous step
RAPIDS_PY_WHEEL_NAME="cudf_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 ./dist
RAPIDS_PY_WHEEL_NAME="libcudf_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 cpp ./dist
RAPIDS_PY_WHEEL_NAME="pylibcudf_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 ./dist

# echo to expand wildcard before adding `[extra]` requires for pip
python -m pip install \
"$(echo ./dist/cudf_${RAPIDS_PY_CUDA_SUFFIX}*.whl)[test]" \
"$(echo ./dist/libcudf_${RAPIDS_PY_CUDA_SUFFIX}*.whl)" \
"$(echo ./dist/pylibcudf_${RAPIDS_PY_CUDA_SUFFIX}*.whl)[test]"

RESULTS_DIR=${RAPIDS_TESTS_DIR:-"$(mktemp -d)"}
Expand Down
4 changes: 3 additions & 1 deletion ci/test_wheel_cudf_polars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,16 @@ fi
RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"
RAPIDS_PY_WHEEL_NAME="cudf_polars_${RAPIDS_PY_CUDA_SUFFIX}" RAPIDS_PY_WHEEL_PURE="1" rapids-download-wheels-from-s3 ./dist

# Download pylibcudf built in the previous step
# Download libcudf and pylibcudf built in the previous step
RAPIDS_PY_WHEEL_NAME="libcudf_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 cpp ./dist
RAPIDS_PY_WHEEL_NAME="pylibcudf_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 ./dist

rapids-logger "Installing cudf_polars and its dependencies"

# echo to expand wildcard before adding `[extra]` requires for pip
python -m pip install \
"$(echo ./dist/cudf_polars_${RAPIDS_PY_CUDA_SUFFIX}*.whl)[test]" \
"$(echo ./dist/libcudf_${RAPIDS_PY_CUDA_SUFFIX}*.whl)" \
"$(echo ./dist/pylibcudf_${RAPIDS_PY_CUDA_SUFFIX}*.whl)"

rapids-logger "Run cudf_polars tests"
Expand Down
4 changes: 3 additions & 1 deletion ci/test_wheel_dask_cudf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@ set -eou pipefail
RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"
RAPIDS_PY_WHEEL_NAME="dask_cudf_${RAPIDS_PY_CUDA_SUFFIX}" RAPIDS_PY_WHEEL_PURE="1" rapids-download-wheels-from-s3 ./dist

# Download the cudf and pylibcudf built in the previous step
# Download the cudf, libcudf, and pylibcudf built in the previous step
RAPIDS_PY_WHEEL_NAME="cudf_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 ./dist
RAPIDS_PY_WHEEL_NAME="libcudf_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 cpp ./dist
RAPIDS_PY_WHEEL_NAME="pylibcudf_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 ./dist

# echo to expand wildcard before adding `[extra]` requires for pip
python -m pip install \
"$(echo ./dist/cudf_${RAPIDS_PY_CUDA_SUFFIX}*.whl)" \
"$(echo ./dist/dask_cudf_${RAPIDS_PY_CUDA_SUFFIX}*.whl)[test]" \
"$(echo ./dist/libcudf_${RAPIDS_PY_CUDA_SUFFIX}*.whl)" \
"$(echo ./dist/pylibcudf_${RAPIDS_PY_CUDA_SUFFIX}*.whl)"

RESULTS_DIR=${RAPIDS_TESTS_DIR:-"$(mktemp -d)"}
Expand Down
Loading
Loading