Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

refactor CUDA versions in dependencies.yaml #115

Merged
merged 4 commits into from
Jan 11, 2024

Conversation

jameslamb
Copy link
Member

@jameslamb jameslamb commented Jan 10, 2024

Description

Contributes to rapidsai/build-planning#7.

Proposes splitting the cuda-version dependency in dependencies.yaml out to its own thing, separate from the bits of the CUDA Toolkit this project needs.

Benefits of this change

  • prevents accidental inclusion of multiple cuda-version version in environments
  • reduces update effort (via enabling more use of globs like "12.*")
  • improves the chance that errors like "conda recipe is missing a dependency" are caught in CI

Notes for Reviewers

This change was intended to just re-organize dependencies.yaml, but I do think the one additional change it introduces to all_cuda-118_arch-x86_64.yaml is a good one. I think requiring the cuda-version metapackage in all environments is useful to prevent against environment solves that result in runtime issues.

References:

@@ -137,9 +162,8 @@ dependencies:
- cudatoolkit=11.8
Copy link
Contributor

@bdice bdice Jan 11, 2024

Choose a reason for hiding this comment

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

Please drop the cudatoolkit version pinnings from this section. Edit all the lines like cudatoolkit=11.8 so it's just cudatoolkit, which will be constrained by cuda-version=11.8.

Copy link
Member Author

Choose a reason for hiding this comment

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

sure! done in 99472f6

@jameslamb jameslamb requested a review from bdice January 11, 2024 15:36
raydouglass
raydouglass approved these changes Jan 11, 2024
@raydouglass
Copy link
Member

/merge

@raydouglass raydouglass added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Jan 11, 2024
@rapids-bot rapids-bot bot merged commit 7025eaf into rapidsai:branch-24.02 Jan 11, 2024
43 checks passed
@jameslamb jameslamb deleted the rework-dependencies branch January 11, 2024 19:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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