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

environment.yml installs cpu instead of gpu version of pytorch and torchvision #183

Closed
aksub99 opened this issue Jun 16, 2021 · 3 comments · Fixed by #276
Closed

environment.yml installs cpu instead of gpu version of pytorch and torchvision #183

aksub99 opened this issue Jun 16, 2021 · 3 comments · Fixed by #276

Comments

@aksub99
Copy link

aksub99 commented Jun 16, 2021

Hi,
Thanks for the great framework!

Wanted to bring to your notice that the installation from the environment.yml file seems to install cpu versions of pytorch and torchvision instead of gpu ones. I found that this is because it installs pytorch and torchvision from the conda-forge channel instead of the pytorch channel. I managed to resolve this issue by installing pytorch and torchvision separately from the pytorch channel.

I was also able to reproduce this issue on the docker installation since that makes use of the same yml file.

@mliu49
Copy link
Contributor

mliu49 commented Jun 16, 2021

Thanks for reporting this! I think the available packages changed at some point which led to the conda-forge version getting pulled instead of the pytorch version. We'll update the environment file to make sure the correct package is installed.

@aksub99
Copy link
Author

aksub99 commented Jun 16, 2021

Great! Thanks @mliu49 !

@davidegraff
Copy link
Contributor

@mliu49 was this fixed / can we close?

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 a pull request may close this issue.

3 participants