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

ImportError: DLL load failed: The specified module could not be found. #26

Closed
bhosalems opened this issue Apr 20, 2018 · 7 comments
Closed

Comments

@bhosalems
Copy link

bhosalems commented Apr 20, 2018

I have installed the right pytorch from pytorch v0.3.1
I have maxwell GPU QuadroM1200 which is of compute capability 5.0. I am using windows10 64bit.
Despite of installing all required dependencies, I am getting the below error while importing torch in python interpreter.

(fastai) C:\Users\Mahesh.Bhosale>python
Python 3.6.5 |Anaconda, Inc.| (default, Mar 29 2018, 13:32:41) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

>>> import torch
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\Mahesh.Bhosale\AppData\Local\Continuum\anaconda3\envs\fastai\lib\site-packages\torch\__init__.py", line 76, in <module>
    from torch._C import *
ImportError: DLL load failed: The specified module could not be found.
>>> exit()

I am not in a position or rather hesitating to build from the source at current moment can you please guide ?

@bhosalems
Copy link
Author

Also when I install pytorch 0.3.1 with below command,
conda install -c peterjc123 pytorch cuda90

I am able to import torch. I don't know which exact DLL then it misses when I install pytorch 0.3.1 CI package.

Your help is much appreciated.

@peterjc123
Copy link
Owner

It's very simple. The CI packages need exactly cuda 8 and cudnn 6.1. Any other versions are rejected.

@bhosalems
Copy link
Author

bhosalems commented Apr 20, 2018

But I see from fastai forum that there are ones with cuda 9 and cudnn 7.1 working very fine.
http://forums.fast.ai/t/cuda-error-45-no-kernel-image-pytorch-0-3-1-post2/14063/57?u=maheshbhosale

Though I have Cuda 8 and cudnn 6. And all the are mentioned in environment variables.

@bhosalems
Copy link
Author

Also, I didn't got cudnn 6.1 anywhere on NVIDIA websites. Do you have a link?

@peterjc123
Copy link
Owner

Just wait a few days and I'll rebuild for 0.4.0 with cuda 9 and cudnn 7.

@bhosalems
Copy link
Author

Almighty. Thanks a lot.

@peterjc123
Copy link
Owner

The CI packages are regenerated now.

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

No branches or pull requests

2 participants