I want to set up locally fastai environment. However, when I try running the first part of the tutorial, I receive an error message stating:
Found GPU0 GeForce GTX 860M which is of cuda capability 5.0.
PyTorch no longer supports this GPU because it is too old.
I found that the problem is related to Pytorch version, which does not support older GPU cards. I found a solution to install older Pytorch from source: pyTorch not working with an old NVidia card
However, when I clone pytorch git and try to install with install.py, I receive a message error.
python setup.py install
running install
running build_deps
error: [WinError 2] The system cannot find the file specified
I have navigated to the correct folder “~\Fast_AI\Github material\fastai\pytorch”, when I list the files I can see setup.py, but it does not allow to run.
Could anyone help solve this problem? I could use CPU, however, it works very slowly when working with deep learning, therefore I would prefer to use GPU.
error: [WinError 2] The system cannot find the file specified
I assume you are on Windows.
I ran into the same problem with a GPU which supports only compute capabilty 3.0, for me the solution was to install a legacy binary build (pytorch-0.3.0) provided by peterjc123 in his Google Drive folder.
thank you for the link. Yes I am using windows 10 and python 3.6, with Cuda 8.0. However, my capability is 5.0 since I am using GeForce GTX 860M. I have downloaded the pytorch-0.3.0-py36_0.3.0cu80.tar.bz2.
I think the six steps listed in this section will help you:
In my case, when I downloaded the pytorch from local source, I could not manage to install it. Therefore, I downloaded windows installer via Joschka suggestion (see answer above).
Hey,
Thank you so much for your tips on this thread and here as well.
I ended up downloading pytorch-0.3.0-py36_0.3.0cu80.tar.bz2 as well and pasting it inside of the fastai folder. I then ran conda install pytorch-0.3.0-py36_0.3.0cu80.tar.bz2 in the command line. Is this what you did as well? I wasn’t sure if this is a kosher way of doing it.
After a long search i found the solution
The problem is that if the GPU is old the pytorch version before 0.4.0 doesn’t work, so you have to install the newest pytorch,
run this - conda install -c pytorch pytorch
After you install the newest pytorch you will face torch._C import * DLL load failed problem
to fix that run the ff code set PYTORCH_BUILD_VERSION=0.4.1
Hi All,
I have windows machine with old GPU 960M
i am having problem with running fastai lesson 1
I get following error
RuntimeError: cuda runtime error (48) : no kernel image is available for execution on the device at c:\anaconda2\conda-bld\pytorch_1519501749874\work\torch\lib\thc\generic/THCTensorMath.cu:15
I tried following steps:
i dont know how to install PyTorch 0.4.0
i tried this solution (conda install -c peterjc123 pytorch)