Sure, please take a look at this thread: https://github.com/Theano/libgpuarray/issues/264#issuecomment-306239789
On Sun, Jun 4, 2017 at 4:29 AM, yuzhen lu <[email protected]> wrote: > Hi, Michael: > > I probably got the same issue as you . I use conda install theano, pygpu. > Both theano and pygpu can be imported successfully, but implementing > pygpu.test() results in those errors. > > Can you post you workable .theanorc file? > > > On Tuesday, 28 March 2017 13:20:44 UTC-4, Michael Klachko wrote: > >> In my case, the problem was related to the old version of mingw64 that I >> installed in the past. I removed it, installed mingw toolchain with conda, >> and updated the path to it in theanorc, now everything works. >> >> >> >> >> >> On Thursday, March 23, 2017 at 8:35:04 PM UTC-7, Michael Klachko wrote: >>> >>> I updated my CUDA from 7.5 to 8.0, and the error changed to: >>> >>> >>> In [1]: import theano >>> ERROR:theano.gpuarray:Could not initialize pygpu, support disabled >>> Traceback (most recent call last): >>> File "c:\Theano\theano\gpuarray\__init__.py", line 164, in <module> >>> use(config.device) >>> File "c:\Theano\theano\gpuarray\__init__.py", line 151, in use >>> init_dev(device) >>> File "c:\Theano\theano\gpuarray\__init__.py", line 66, in init_dev >>> avail = dnn.dnn_available(name) >>> File "c:\Theano\theano\gpuarray\dnn.py", line 177, in dnn_available >>> if not dnn_present(): >>> File "c:\Theano\theano\gpuarray\dnn.py", line 168, in dnn_present >>> dnn_present.msg) >>> RuntimeError: You enabled cuDNN, but we aren't able to use it: cannot >>> compile with cuDNN. We got this error: >>> c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.0/../../../../x86_64-w64-mingw32/bin/ld.exe: >>> cannot find -lcudnn >>> collect2.exe: error: ld returned 1 exit status >>> >>> >>> >>> It looks like it cannot find cudnn, but nothing has changed, when I use >>> device=gpu0, cudnn works fine. >>> >> -- > > --- > You received this message because you are subscribed to a topic in the > Google Groups "theano-users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/theano-users/8tm-8Zlk4gI/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "theano-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
