-
Notifications
You must be signed in to change notification settings - Fork 94
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
Add wheel tests to CI #1416
base: branch-25.02
Are you sure you want to change the base?
Add wheel tests to CI #1416
Changes from all commits
2e5c020
f286c95
76f1886
57dfa82
4afa054
4ab1ed0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ jobs: | |
- conda-python-tests | ||
- docs-build | ||
- wheel-build | ||
- wheel-tests | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
checks: | ||
|
@@ -53,3 +54,12 @@ jobs: | |
# This selects "ARCH=amd64 + the latest supported Python + CUDA". | ||
matrix_filter: map(select(.ARCH == "amd64")) | max_by([(.PY_VER|split(".")|map(tonumber)), (.CUDA_VER|split(".")|map(tonumber))]) | [.] | ||
script: "ci/build_wheel.sh" | ||
wheel-tests: | ||
needs: wheel-build | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: pull-request | ||
script: "ci/test_wheel.sh" | ||
# This selects "ARCH=amd64 + the latest supported Python + CUDA". | ||
matrix_filter: map(select(.ARCH == "amd64")) | max_by([(.PY_VER|split(".")|map(tonumber)), (.CUDA_VER|split(".")|map(tonumber))]) | [.] | ||
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,11 @@ | ||||||
#!/bin/bash | ||||||
# Copyright (c) 2023, NVIDIA CORPORATION. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
This is a brand new file, so the copyright date should be 2024. In a follow-up PR, could you add the |
||||||
|
||||||
set -eou pipefail | ||||||
|
||||||
RAPIDS_PY_VERSION="312" RAPIDS_PY_WHEEL_NAME="dask-cuda" rapids-download-wheels-from-s3 ./dist | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Let's match the way this is spelled in other pure-Python cases like:
Keeping these scripts looking similar is helpful when we do touch-all-the-repos types of migrations. |
||||||
|
||||||
# echo to expand wildcard before adding `[extra]` requires for pip | ||||||
python -m pip install $(echo ./dist/dask_cuda*.whl)[test] | ||||||
|
||||||
python -m pytest -n 8 ./python/dask_cuda/tests |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -188,21 +188,21 @@ dependencies: | |
- numactl-devel-cos7-aarch64 | ||
- output_types: [requirements, pyproject] | ||
matrices: | ||
# kvikio should be added to the CUDA-version-specific matrices once there are wheels available | ||
# ref: https://github.com/rapidsai/kvikio/pull/369 | ||
- matrix: | ||
cuda: "12.*" | ||
cuda_suffixed: "true" | ||
packages: | ||
- cudf-cu12==25.2.*,>=0.0.0a0 | ||
- dask-cudf-cu12==25.2.*,>=0.0.0a0 | ||
- kvikio-cu12==25.2.*,>=0.0.0a0 | ||
- ucx-py-cu12==0.42.*,>=0.0.0a0 | ||
- matrix: | ||
cuda: "11.*" | ||
cuda_suffixed: "true" | ||
packages: | ||
- cudf-cu11==25.2.*,>=0.0.0a0 | ||
- dask-cudf-cu11==25.2.*,>=0.0.0a0 | ||
- kvikio-cu11==25.2.*,>=0.0.0a0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh nice, thank you! |
||
- ucx-py-cu11==0.42.*,>=0.0.0a0 | ||
- matrix: | ||
packages: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should cover the full RAPIDS PR CI matrix here.
Even though the
dask-cuda
wheels are pure-Python and not CPU architecture or CUDA-version dependent, with tags like this:... some of its dependencies do produce different variants for those different environments, and it's possible
dask-cuda
could interact with them in different ways that we'd want to catch. I'm reminded for example of microsoft/LightGBM#6509 and microsoft/LightGBM#6654, where I found that there was some aarch64-specific issue whose resolution was "load OpenMP as early as possible".By the way, for PRs that matrix is only 2 jobs. You can find them here:
https://github.com/rapidsai/shared-workflows/blob/3313dce51b2cfea4601c30a986cd5980087fe2c1/.github/workflows/wheels-test.yaml#L81-L85