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

feat(cuda): Add support for cuda 12 so as to not conflict with users workflows #847

Merged
merged 10 commits into from
Apr 17, 2024

Conversation

dcaustin33
Copy link
Contributor

Shortcut: Na

Description: Adding support for Cuda 12 and allowing users to download the version they are using in their current workflows. FAQ documentation will be updated when this is merged

Tests:

  • Local.
  • CI.

@dcaustin33 dcaustin33 requested a review from a team as a code owner April 11, 2024 16:14
@dcaustin33
Copy link
Contributor Author

Currently works for both cuda11 and cuda12 - most people in the future will be using cuda 12 so think we should make that the default. Only problem being we cannot pin the cuda11 versions. @franz101 I realized late you were doing the same work but what do you think of this solution. Will wait for @elboy3 to be back before merging anything

@franz101
Copy link
Contributor

@dcaustin33 where you able to make it work?

Copy link
Contributor

@elboy3 elboy3 left a comment

Choose a reason for hiding this comment

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

This is very nice. I didn't realize you could add cuda11 to the extras without having them in the dependencies.

We just gotta relock poetry lock file (sorry, I pushed a small change to that file)

And we gotta look into that one failing test. It looks like self.model may be reserved within that class.

And then we can merge

@franz101
Copy link
Contributor

Very simple pin keras to 2.15 (right now it's at 3)

Copy link
Contributor

@franz101 franz101 left a comment

Choose a reason for hiding this comment

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

Make sure keras is below 2.15 (right now it's on 3)

tensorflow = ">=2.9.1"

Here TensorFlow needs to be <= 2.15.0

Copy link
Contributor

@elboy3 elboy3 left a comment

Choose a reason for hiding this comment

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

looking good, very nice

@elboy3 elboy3 merged commit 624b8b7 into main Apr 17, 2024
3 checks passed
@elboy3 elboy3 deleted the feature/cuda_fix branch April 17, 2024 00:55
@elboy3 elboy3 mentioned this pull request Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants