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

avoid unnecessary wheel builds #344

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

jameslamb
Copy link
Member

Follow-up to #260.

Contributes to rapidsai/build-planning#33

Limits libucxx wheel-building to just running once per combination of (CUDA version, CPU architecture)... cutting out 8 unnecessary CI jobs per commit.

Notes for Reviewers

Why is this safe to do?

Unlike wheels that have Cython code, libucxx wheels don't depend on the Python minor version

wheel.py-api = "py3"

e.g., they have tags like

libucxx_cu12-0.42.0a18-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Similar filters are being used for most C++ wheel builds across RAPIDS, e.g. https://github.com/rapidsai/cudf/blob/a95fbc88f94df24c3418766fbbea5b6633ff2328/.github/workflows/pr.yaml#L222-L230

@jameslamb jameslamb added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Dec 18, 2024

This comment was marked as resolved.

@jameslamb
Copy link
Member Author

/ok to test

@jameslamb jameslamb changed the title WIP: avoid unnecessary wheel builds avoid unnecessary wheel builds Dec 19, 2024
@jameslamb jameslamb marked this pull request as ready for review December 19, 2024 00:22
@jameslamb jameslamb requested a review from a team as a code owner December 19, 2024 00:22
@jameslamb jameslamb requested a review from msarahan December 19, 2024 00:22
Copy link
Member

@pentschev pentschev left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @jameslamb !

@msarahan
Copy link
Contributor

James is out for the holidays. I'm going to merge this so it doesn't sit for the 2 weeks or whatever.

@msarahan
Copy link
Contributor

/merge

@rapids-bot rapids-bot bot merged commit ab08e69 into rapidsai:branch-0.42 Dec 19, 2024
62 checks passed
@jameslamb jameslamb deleted the fewer-wheel-builds branch December 20, 2024 14:36
@jameslamb
Copy link
Member Author

thank you both!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improves an existing functionality non-breaking Introduces a non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants