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

Update pytorch to 2.1.2 + fix CI/linux CPU pytorch #2429

Merged
merged 2 commits into from Jan 2, 2024

Conversation

joeyballentine
Copy link
Member

@joeyballentine joeyballentine commented Jan 2, 2024

I guess one benefit to taking so long for a major release is that we can stay up to date with pytorch and not feel bad about it.

Also, I realized after looking at https://pytorch.org/get-started/locally/ that the reason our CI was installing the cuda version of pytorch was because for some odd reason, linux uses the cuda version by default and the cpu is the one you have to specify the extra index url for. So I just was explicit for both and tada now it works and it takes 1/4 of the time to run our CI.

This also means that linux users were previously unable to install the cpu version of torch. Oops. What an odd choice...

@joeyballentine joeyballentine changed the title Update pytorch to 2.1.2 Update pytorch to 2.1.2 + fix CI/linux CPU pytorch Jan 2, 2024
@joeyballentine joeyballentine merged commit d9c9361 into main Jan 2, 2024
14 checks passed
@joeyballentine joeyballentine deleted the update-pytorch-again branch January 2, 2024 14:22
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.

None yet

2 participants