Skip to content
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

[CI] add wheel tests in CI #1344

Open
jameslamb opened this issue Jun 3, 2024 · 4 comments
Open

[CI] add wheel tests in CI #1344

jameslamb opened this issue Jun 3, 2024 · 4 comments
Labels

Comments

@jameslamb
Copy link
Member

jameslamb commented Jun 3, 2024

Description

This project currently produces wheels but doesn't have any tests on those wheels in CI.

Some should be added.

Benefits of this work

Acceptance Criteria

  • dask-cuda wheels are tested in CI, for at least one combination of ({python}, {cuda}, {linux}) from the set of things supported by the rest of RAPIDS (and ideally more)

Approach

Use the existing wheel-testing workflows from shared-workflows, e.g. https://github.com/rapidsai/shared-workflows/blob/branch-24.08/.github/workflows/wheels-test.yaml.

For a specific example testing another pure-Python package, see cuxfilter:

Notes

As of this writing, some tests rely on kvikio but kvikio does not yet have wheels (rapidsai/kvikio#369). If there are still not kvikio wheels as of when this is picked up, it could be installed in the test environment using conda.

doesn't have any tests on those wheels in CI.

There are other RAPIDS projects that depend on dask-cuda, install its wheels, and use the package installed via those wheels in CI. For example, cuml: https://github.com/rapidsai/cuml/blob/1560886d30cfe7d4472f334d487e5b9c136a270d/python/pyproject.toml#L91. That does provide some indirect testing.

This issue is just about adding such testing here in this repo, where the wheels are produced.

@vyasr
Copy link
Contributor

vyasr commented Jun 3, 2024

I'd rather wait to test kvikio until we have kvikio wheels. Aside from that, agree with everything here.

@jakirkham
Copy link
Member

Wheels were added in the since merged PR: rapidsai/kvikio#369

Also with the completion of the RAPIDS 24.8 release, PyPI now has kvikio-cu11 and kvikio-cu12

So think this is now actionable

@jakirkham
Copy link
Member

Should add I saw this comment in the code that was added in PR: #1343

dask-cuda/dependencies.yaml

Lines 185 to 188 in 49ebabc

- 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

Is this also part of this task or is there a separate issue tracking this item?

@jameslamb
Copy link
Member Author

Is this also part of this task?

I think yes, because that section only updates the [test] extra for dask-cuda wheels, which wouldn't be used until we're running wheel tests. Some context for that comment: https://github.com/rapidsai/dask-cuda/pull/1343/files#r1624950506

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants