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.
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
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)