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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows release of pytorch 1.3 is missing several required cuda libraries #29356

Closed
mkatsevVR opened this issue Nov 7, 2019 · 10 comments
Closed
Labels
module: binaries Anything related to official binaries that we release to users module: cuda Related to torch.cuda, and CUDA support in general module: windows Windows support for PyTorch triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Comments

@mkatsevVR
Copy link
Contributor

mkatsevVR commented Nov 7, 2019

馃悰 Bug

cublas64_100.dll, cusparse64_100.dll and a few others are missing from torch-1.3.0-cp37-cp37m-win_amd64.whl but were included in torch-1.2.0-cp37-cp37m-win_amd64.whl

To Reproduce

Steps to reproduce the behavior:

  1. pip3 install torch===1.3.0 torchvision===0.4.1 -f https://download.pytorch.org/whl/torch_stable.html
  2. don't install cuda toolkit separately
  3. import torch
  4. observe ImportError: DLL load failed: The specified module could not be found

Expected behavior

import should not fail

Environment

  • PyTorch Version (e.g., 1.0): 1.3
  • OS (e.g., Linux): Windows 10
  • How you installed PyTorch (conda, pip, source): pip
  • Build command you used (if compiling from source):
  • Python version: 3.7
  • CUDA/cuDNN version: 10.1
  • GPU models and configuration:
  • Any other relevant information:

cc @ezyang @peterjc123

@peterjc123
Copy link
Collaborator

Thanks for pointing out, we'll fix this issue in 1.3.1.

@peterjc123
Copy link
Collaborator

Reading the build log, we didn't copy the following DLLs for CUDA 10.1:

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\cusparse64_101.dll* 
        0 file(s) copied.
The system cannot find the file specified.
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\cublas64_101.dll* 
        0 file(s) copied.
The system cannot find the file specified.
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\curand64_101.dll* 
        0 file(s) copied.
The system cannot find the file specified.
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\cufft64_101.dll* 
        0 file(s) copied.
The system cannot find the file specified.
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\cufftw64_101.dll* 
        0 file(s) copied.

@peterjc123
Copy link
Collaborator

Well, the suffix of those DLLs is changed to _10.dll instead of _101.dll.

@Yunseong-Jeong
Copy link

Could you check if there is only a cpu? I could be very thankful for that :)

@albanD albanD added module: binaries Anything related to official binaries that we release to users module: cuda Related to torch.cuda, and CUDA support in general module: windows Windows support for PyTorch triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module labels Nov 7, 2019
@peterjc123
Copy link
Collaborator

Waiting for @soumith to upload the binaries.

@mkatsevVR
Copy link
Contributor Author

1.3.1 is out but doesn't appear to be fixed..?

@peterjc123
Copy link
Collaborator

Yes, looks like @soumith is on a holiday. We have to wait for a while.

@peterjc123
Copy link
Collaborator

If you want to get the fixed wheels, you can find them here: https://dev.azure.com/peterjc123/_git/pytorch_builder/branches.

@Rustin333

This comment was marked as off-topic.

@soumith
Copy link
Member

soumith commented Nov 15, 2019

uploaded fixed wheels. Please uninstall pytorch and reinstall according to the commands on https://pytorch.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: binaries Anything related to official binaries that we release to users module: cuda Related to torch.cuda, and CUDA support in general module: windows Windows support for PyTorch triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

No branches or pull requests

6 participants