-
Notifications
You must be signed in to change notification settings - Fork 625
CI Add a nightly job that uses scikit-learn's nightlies #7621
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
Merged
Merged
Changes from 2 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
6712290
Add a nightly CI job that uses scikit-learn's nightlies
betatim 187fd31
Merge remote-tracking branch 'upstream/main' into nightly-nightlies
betatim 0894fe3
Address review comments
betatim ed93f54
Merge remote-tracking branch 'upstream/main' into nightly-nightlies
betatim 6a9d619
Rename CI script
betatim 5b745b3
Merge branch 'main' into nightly-nightlies
betatim 9497623
Remove sccache token from CI job
betatim 05bbbfd
Merge branch 'main' into nightly-nightlies
betatim 71eddd1
Merge remote-tracking branch 'origin/main' into nightly-nightlies
csadorf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,50 @@ | ||
| #!/bin/bash | ||
| # SPDX-FileCopyrightText: Copyright (c) 2023-2025, NVIDIA CORPORATION. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| # Test cuml with the nightly versions of its dependencies. | ||
|
|
||
| set -euo pipefail | ||
|
|
||
| source rapids-init-pip | ||
|
|
||
| RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen "${RAPIDS_CUDA_VERSION}")" | ||
| CUML_WHEELHOUSE=$(RAPIDS_PY_WHEEL_NAME="cuml_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-github python) | ||
| LIBCUML_WHEELHOUSE=$(RAPIDS_PY_WHEEL_NAME="libcuml_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-github cpp) | ||
| RAPIDS_TESTS_DIR=${RAPIDS_TESTS_DIR:-"${PWD}/test-results"} | ||
| mkdir -p "${RAPIDS_TESTS_DIR}" | ||
|
|
||
| # Explicitly install those packages that we want to have from the nightly index. | ||
| rapids-pip-retry install \ | ||
| --pre \ | ||
| --extra-index-url=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \ | ||
| scikit-learn | ||
|
|
||
| rapids-dependency-file-generator \ | ||
| --output requirements \ | ||
| --file-key test_python \ | ||
| --matrix "dependencies=latest" | tee requirements.txt | ||
|
|
||
| # notes: | ||
| # | ||
| # * echo to expand wildcard before adding `[test,experimental]` requires for pip | ||
| # * need to provide --constraint="${PIP_CONSTRAINT}" because that environment variable is | ||
| # ignored if any other --constraint are passed via the CLI | ||
| # | ||
| rapids-pip-retry install \ | ||
| "${LIBCUML_WHEELHOUSE}"/libcuml*.whl \ | ||
| "$(echo "${CUML_WHEELHOUSE}"/cuml*.whl)[test]" \ | ||
| --requirement requirements.txt \ | ||
| --constraint "${PIP_CONSTRAINT}" | ||
|
|
||
| EXITCODE=0 | ||
| trap "EXITCODE=1" ERR | ||
| set +e | ||
|
|
||
| rapids-logger "pytest cuml single GPU" | ||
| timeout 1h ./ci/run_cuml_singlegpu_pytests.sh \ | ||
| --numprocesses=8 \ | ||
| --dist=worksteal | ||
|
|
||
| rapids-logger "Test script exiting with value: $EXITCODE" | ||
| exit ${EXITCODE} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.