Skip to content

CI: Test CuPy nightlies#7695

Merged
rapids-bot[bot] merged 6 commits intorapidsai:mainfrom
csadorf:ci/test-cupy-nightlies
Jan 26, 2026
Merged

CI: Test CuPy nightlies#7695
rapids-bot[bot] merged 6 commits intorapidsai:mainfrom
csadorf:ci/test-cupy-nightlies

Conversation

@csadorf
Copy link
Copy Markdown
Contributor

@csadorf csadorf commented Jan 16, 2026

Add CuPy nightly testing to the wheel-tests-cuml-nightly-dependencies-versions job.

Adjusted three tests that required stability of the random generator which can probably not be reasonably assumed across major versions.

@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented Jan 16, 2026

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@github-actions github-actions Bot added the ci label Jan 16, 2026
@csadorf csadorf changed the base branch from main to release/26.02 January 16, 2026 19:35
@csadorf csadorf added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jan 16, 2026
@csadorf csadorf force-pushed the ci/test-cupy-nightlies branch from d2b6c47 to 059c04a Compare January 20, 2026 19:33
@github-actions github-actions Bot added conda conda issue Cython / Python Cython or Python issue CUDA/C++ labels Jan 20, 2026
@csadorf csadorf changed the base branch from release/26.02 to main January 20, 2026 19:33
@csadorf csadorf force-pushed the ci/test-cupy-nightlies branch from 059c04a to 2c03b46 Compare January 21, 2026 20:52
@csadorf
Copy link
Copy Markdown
Contributor Author

csadorf commented Jan 21, 2026

/ok to test 2c03b46

@csadorf csadorf force-pushed the ci/test-cupy-nightlies branch from 2c03b46 to 740ae9a Compare January 22, 2026 15:41
@csadorf
Copy link
Copy Markdown
Contributor Author

csadorf commented Jan 22, 2026

/ok to test 740ae9a

@github-actions github-actions Bot removed the Cython / Python Cython or Python issue label Jan 22, 2026
@csadorf
Copy link
Copy Markdown
Contributor Author

csadorf commented Jan 22, 2026

/ok to test 4dbdcb2

@csadorf csadorf force-pushed the ci/test-cupy-nightlies branch from 4dbdcb2 to 2d43594 Compare January 23, 2026 17:25
@github-actions github-actions Bot added the Cython / Python Cython or Python issue label Jan 23, 2026
@csadorf
Copy link
Copy Markdown
Contributor Author

csadorf commented Jan 23, 2026

/ok to test 2d43594

@csadorf
Copy link
Copy Markdown
Contributor Author

csadorf commented Jan 23, 2026

I confirmed that all nightly-dependency tests pass for 2d43594 in https://github.com/rapidsai/cuml/actions/runs/21295022206?pr=7695 , except the py310 job which failed, because scikit-learn requires Python>=3.11 .

Comment thread .github/workflows/pr.yaml
@csadorf csadorf marked this pull request as ready for review January 23, 2026 21:22
@csadorf csadorf requested review from a team as code owners January 23, 2026 21:22
@csadorf csadorf requested review from AyodeAwe and dantegd January 23, 2026 21:22
Comment thread .github/workflows/pr.yaml Outdated
@csadorf csadorf removed the request for review from a team January 26, 2026 16:45
[-0.8817671 -0.84549576 0.1845096 0.02556021]]

>>> print(y)
>>> print(y) # doctest: +SKIP
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

curious, why do we need this skip now?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The dataset generated by make_classification is not the same between cupy <14rc and cupy >=14rc even with the same random seed. That was previously already the case for the floating point values in X, and now is also the case for the integer y dataset. I am not sure whether that is expected, but it is certainly not surprising to me that there would be no random data stability between major versions.

Copy link
Copy Markdown
Member

@jameslamb jameslamb left a comment

Choose a reason for hiding this comment

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

Left 2 very very minor suggestions, otherwise looks good. Cool use of this CI job!

Comment thread dependencies.yaml
Comment on lines +631 to +640
- cupy-cuda12x>=13.6.0a0
- matrix:
cuda: "13.*"
dependencies: "nightly"
packages:
- cupy-cuda13x>=13.6.0a0
- matrix:
dependencies: "nightly"
packages:
- cupy-cuda13x>=13.6.0a0
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
- cupy-cuda12x>=13.6.0a0
- matrix:
cuda: "13.*"
dependencies: "nightly"
packages:
- cupy-cuda13x>=13.6.0a0
- matrix:
dependencies: "nightly"
packages:
- cupy-cuda13x>=13.6.0a0
- cupy-cuda12x>=14.0.0a0
- matrix:
cuda: "13.*"
dependencies: "nightly"
packages:
- &cupy_cu13_nightly cupy-cuda13x>=14.0.0a0
- matrix:
dependencies: "nightly"
packages:
- *cupy_cu13_nightly

If you want to be sure this is pulling at least 14.0 nightlies, I think this floor should be moved up.

Encoding the fallback as "whatever we use for CUDA 13" with YAML anchors is also helpful to clarify the intent.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I believe this is working as expected, so I'm going to leave the configuration as-is to reduce churn. We can improve this if we need to make other changes to this job either in this PR or in a follow-up.

@csadorf csadorf requested a review from dantegd January 26, 2026 18:34
@csadorf
Copy link
Copy Markdown
Contributor Author

csadorf commented Jan 26, 2026

/merge

@rapids-bot rapids-bot Bot merged commit 5be7a4a into rapidsai:main Jan 26, 2026
221 of 223 checks passed
@csadorf csadorf deleted the ci/test-cupy-nightlies branch January 26, 2026 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Cython / Python Cython or Python issue improvement Improvement / enhancement to an existing function non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test cuML with CuPy 14 nightlies Test cuML against CuPy v14.0rc1

4 participants