-
Notifications
You must be signed in to change notification settings - Fork 1.1k
CI Add third-party testing of cuml #21897
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 all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
7a3e97e
Add third-party testing of cuml
betatim d81475a
Add newline
betatim 2908f63
Run cuml compat tests also in nightlies
betatim a99742f
Easy as ABC
betatim bfb0401
Add copyright
betatim f7b88f2
Fix permissions
betatim 4a94ced
Checkout cuml's source directly
betatim 77bb224
Just one cuml is enough
betatim d7b463d
Remove some tests to fit within the time budget
betatim b0b1013
Merge remote-tracking branch 'upstream/main' into add-cuml-integratio…
betatim 0ff6510
Add cuml as dependency
betatim 5b55319
Workaround cryptography weirdness
betatim ebcccd7
Fix pytest command
betatim 4b006d3
Different fix
betatim 7bcee77
Merge remote-tracking branch 'upstream/main' into add-cuml-integratio…
betatim 40752b6
Fix quotes
betatim 10f29a2
Remove cryptography workaround attempt
betatim fe06695
Merge branch 'main' into add-cuml-integration-tests
betatim eaaa812
Remember to save after resolving conflicts
betatim 3d52dec
Update the list of tests
betatim 6f14852
Merge branch 'main' into add-cuml-integration-tests
betatim 7497c0a
Make the cuml compat job actually optional
betatim f9fe34a
Remove exit 1
betatim 96dd2c5
Merge remote-tracking branch 'upstream/main' into add-cuml-integratio…
betatim 0ba43b8
Merge remote-tracking branch 'upstream/main' into add-cuml-integratio…
vyasr 07f9ee7
Add missing permissions block to cuml-compat-tests jobs
vyasr 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
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,47 @@ | ||
| #!/bin/bash | ||
| # SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| set -euo pipefail | ||
|
|
||
| cd "$(dirname "$(realpath "${BASH_SOURCE[0]}")")"/../ | ||
| source ./ci/test_python_common.sh test_python_cudf test_cuml | ||
|
|
||
| # Clone cuml at the matching RAPIDS branch to get test files | ||
| # (the conda package doesn't ship cuml/tests/) | ||
|
|
||
| # This makes sure we read RAPIDS_BRANCH from the top level of the repo, no matter | ||
| # what the current working directory is. | ||
| RAPIDS_BRANCH="$(cat "$(dirname "$(realpath "${BASH_SOURCE[0]}")")"/../RAPIDS_BRANCH)" | ||
| rapids-logger "Cloning cuml at branch ${RAPIDS_BRANCH}" | ||
| git clone https://github.com/rapidsai/cuml.git --branch "${RAPIDS_BRANCH}" --depth 1 /tmp/cuml | ||
|
betatim marked this conversation as resolved.
|
||
|
|
||
|
|
||
| CUML_TESTS_DIR=/tmp/cuml/python/cuml/tests | ||
|
|
||
| rapids-logger "pytest cuml cuDF-compat subset" | ||
|
|
||
| timeout 15m python -m pytest \ | ||
| --cache-clear \ | ||
| "${CUML_TESTS_DIR}/test_array.py" \ | ||
| "${CUML_TESTS_DIR}/test_compose.py" \ | ||
| "${CUML_TESTS_DIR}/test_input_utils.py" \ | ||
| "${CUML_TESTS_DIR}/test_kneighbors_classifier.py" \ | ||
| "${CUML_TESTS_DIR}/test_kneighbors_regressor.py" \ | ||
| "${CUML_TESTS_DIR}/test_label_encoder.py" \ | ||
| "${CUML_TESTS_DIR}/test_elastic_net.py" \ | ||
| "${CUML_TESTS_DIR}/test_linear_regression.py" \ | ||
| "${CUML_TESTS_DIR}/test_logistic_regression.py" \ | ||
| "${CUML_TESTS_DIR}/test_ridge.py" \ | ||
| "${CUML_TESTS_DIR}/test_metrics.py" \ | ||
| "${CUML_TESTS_DIR}/test_one_hot_encoder.py" \ | ||
| "${CUML_TESTS_DIR}/test_ordinal_encoder.py" \ | ||
| "${CUML_TESTS_DIR}/test_random_forest.py" \ | ||
| "${CUML_TESTS_DIR}/test_reflection.py" \ | ||
| "${CUML_TESTS_DIR}/test_sgd.py" \ | ||
| "${CUML_TESTS_DIR}/test_split.py" \ | ||
| "${CUML_TESTS_DIR}/test_svm.py" \ | ||
| "${CUML_TESTS_DIR}/test_target_encoder.py" \ | ||
| "${CUML_TESTS_DIR}/test_text_feature_extraction.py" \ | ||
| "${CUML_TESTS_DIR}/test_train_test_split.py" \ | ||
| "${CUML_TESTS_DIR}/test_validation.py" | ||
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
Oops, something went wrong.
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.