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

[BUG] Conda env installs pytorch-cpu on cuda 10.1 #450

Open
loomlike opened this issue Dec 3, 2019 · 1 comment
Open

[BUG] Conda env installs pytorch-cpu on cuda 10.1 #450

loomlike opened this issue Dec 3, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@loomlike
Copy link
Contributor

loomlike commented Dec 3, 2019

Description

Somehow conda env -f ... installs pytorch-cpu on cuda toolkit v10.1.

In which platform does it happen?

Tested only on Linux-GPU (DSVM NC6v3)

How do we replicate the issue?

Update cuda from v10.0 to v10.1 and create conda env by following SETUP.md

Expected behavior (i.e. solution)

Either manually update torch after env creation by running:

conda install pytorch torchvision cudatoolkit=10.1 -c pytorch

or specify cuda version on environment.yaml like:

...
dependencies:
...
- pytorch=1.3.1=py3.6_cuda10.1.243_cudnn7.6.3_0
- torchvision=0.4.2=py36_cu101
...

fixes it (i.e. install gpu torch).

Other Comments

@loomlike loomlike added the bug Something isn't working label Dec 3, 2019
@loomlike
Copy link
Contributor Author

loomlike commented Dec 3, 2019

Maybe add this contents to SETUP.md for those who have similar issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant