Skip to content

Commit cae61bf

Browse files
authored
Merge pull request #611 from rapidsai/release/0.49
Forward-merge release/0.49 into main
2 parents 47de954 + b0bb3df commit cae61bf

3 files changed

Lines changed: 69 additions & 0 deletions

File tree

ci/test_wheel_distributed_ucxx.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,19 @@ distributed_ucxx_wheelhouse=$(rapids-download-from-github "$(rapids-package-name
1616
ucxx_wheelhouse=$(rapids-download-from-github "$(rapids-package-name "wheel_python" ucxx --stable --cuda "$RAPIDS_CUDA_VERSION")")
1717
libucxx_wheelhouse=$(RAPIDS_PY_WHEEL_NAME="libucxx_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-github cpp)
1818

19+
# generate constraints (possibly pinning to oldest support versions of dependencies)
20+
rapids-generate-pip-constraints test_python "${PIP_CONSTRAINT}"
21+
22+
# notes:
23+
#
24+
# * echo to expand wildcard before adding `[test]` requires for pip
25+
# * just providing --constraint="${PIP_CONSTRAINT}" to be explicit, and because
26+
# that environment variable is ignored if any other --constraint are passed via the CLI
27+
#
1928
rapids-pip-retry install \
2029
-v \
30+
--prefer-binary \
31+
--constraint "${PIP_CONSTRAINT}" \
2132
"${libucxx_wheelhouse}/libucxx_${RAPIDS_PY_CUDA_SUFFIX}"*.whl \
2233
"${ucxx_wheelhouse}/ucxx_${RAPIDS_PY_CUDA_SUFFIX}"*.whl \
2334
"$(echo "${distributed_ucxx_wheelhouse}"/"${package_name}_${RAPIDS_PY_CUDA_SUFFIX}"*.whl)[test]"

ci/test_wheel_ucxx.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,19 @@ RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen "${RAPIDS_CUDA_VERSION}")"
1717
libucxx_wheelhouse=$(RAPIDS_PY_WHEEL_NAME="libucxx_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-github cpp)
1818
ucxx_wheelhouse=$(rapids-download-from-github "$(rapids-package-name "wheel_python" ucxx --stable --cuda "$RAPIDS_CUDA_VERSION")")
1919

20+
# generate constraints (possibly pinning to oldest support versions of dependencies)
21+
rapids-generate-pip-constraints test_python "${PIP_CONSTRAINT}"
22+
23+
# notes:
24+
#
25+
# * echo to expand wildcard before adding `[test]` requires for pip
26+
# * just providing --constraint="${PIP_CONSTRAINT}" to be explicit, and because
27+
# that environment variable is ignored if any other --constraint are passed via the CLI
28+
#
2029
rapids-pip-retry install \
2130
-v \
31+
--prefer-binary \
32+
--constraint "${PIP_CONSTRAINT}" \
2233
"${libucxx_wheelhouse}/libucxx_${RAPIDS_PY_CUDA_SUFFIX}"*.whl \
2334
"$(echo "${ucxx_wheelhouse}"/"${package_name}_${RAPIDS_PY_CUDA_SUFFIX}"*.whl)[test]"
2435

dependencies.yaml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ dependencies:
205205
- output_types: [conda, requirements]
206206
packages:
207207
- pre-commit
208+
# 'cuda_version' intentionally does not contain fallback entries... we want
209+
# a loud error if an unsupported 'cuda' value is passed
208210
cuda_version:
209211
specific:
210212
- output_types: conda
@@ -233,6 +235,51 @@ dependencies:
233235
cuda: "13.1"
234236
packages:
235237
- cuda-version=13.1
238+
- output_types: requirements
239+
matrices:
240+
# if use_cuda_wheels=false is provided, do not add dependencies on any CUDA wheels
241+
# (e.g. for DLFW and pip devcontainers)
242+
- matrix:
243+
use_cuda_wheels: "false"
244+
packages:
245+
- matrix:
246+
arch: aarch64
247+
cuda: "12.2"
248+
use_cuda_wheels: "true"
249+
packages:
250+
# some components (like nvidia-cublas-cu12 and nvidia-cuda-nvcc-cu12) didn't have
251+
# aarch64 wheels until CTK 12.3, so allow a slightly looser bound here
252+
- cuda-toolkit>=12.2,<12.4
253+
- matrix:
254+
cuda: "12.2"
255+
use_cuda_wheels: "true"
256+
packages:
257+
- cuda-toolkit==12.2.*
258+
- matrix:
259+
cuda: "12.5"
260+
use_cuda_wheels: "true"
261+
packages:
262+
- cuda-toolkit==12.5.*
263+
- matrix:
264+
cuda: "12.8"
265+
use_cuda_wheels: "true"
266+
packages:
267+
- cuda-toolkit==12.8.*
268+
- matrix:
269+
cuda: "12.9"
270+
use_cuda_wheels: "true"
271+
packages:
272+
- cuda-toolkit==12.9.*
273+
- matrix:
274+
cuda: "13.0"
275+
use_cuda_wheels: "true"
276+
packages:
277+
- cuda-toolkit==13.0.*
278+
- matrix:
279+
cuda: "13.1"
280+
use_cuda_wheels: "true"
281+
packages:
282+
- cuda-toolkit==13.1.*
236283
cuda:
237284
common:
238285
- output_types: [conda]

0 commit comments

Comments
 (0)