Check out https://github.com/philferriere/dlwin, 
especially 
https://github.com/philferriere/dlwin#cudnn-v51-august-10-2016-for-cuda-80-conditional

On Thursday, January 5, 2017 at 3:28:03 PM UTC+1, Peter Pan wrote:
>
> Hello Everyone,
>
> im currently fighting with CUDA (cudnn) on Win10. I finaly managed to get 
> my Nvidia cart working for theano (v8) after inserting all the packages I 
> was missing from Microsoft SDK. 
> But now im struggeling with the cudnn libs. I downloaded them and copied 
> into cuda installation (include > include, bin > bin and so on) like 
> every guide is telling on the web. 
>
> But when I try to enable it i get the following error msg:
>
> *Using gpu device 0: GeForce GTX 765M (CNMeM is enabled with initial size: 
> 80.0% of memory, cuDNN Can not compile with cuDNN. We got this error:*
> *)*
> *ERROR (theano.gof.opt): Optimization failure due to: 
> local_log_softmax_dnn*
> *ERROR (theano.gof.opt): node: 
> GpuElemwise{exp,no_inplace}(<CudaNdarrayType(float32, vector)>)*
> *ERROR (theano.gof.opt): TRACEBACK:*
> *ERROR (theano.gof.opt): Traceback (most recent call last):*
> *  File "D:\Programme\Anaconda\lib\site-packages\theano\gof\opt.py", line 
> 1772, in process_node*
> *    replacements = lopt.transform(node)*
> *  File 
> "D:\Programme\Anaconda\lib\site-packages\theano\sandbox\cuda\dnn.py", line 
> 2529, in local_log_softmax_dnn*
> *    if not dnn_available() or version() < (3000, 3000):*
> *  File 
> "D:\Programme\Anaconda\lib\site-packages\theano\sandbox\cuda\__init__.py", 
> line 340, in dnn_available*
> *    dnn_available.msg)*
> *RuntimeError: You enabled cuDNN, but we aren't able to use it: Can not 
> compile with cuDNN. We got this error:*
>
>
> *ERROR (theano.gof.opt): Optimization failure due to: 
> local_log_softmax_dnn*
> *ERROR (theano.gof.opt): node: 
> GpuElemwise{exp,no_inplace}(<CudaNdarrayType(float32, vector)>)*
> *ERROR (theano.gof.opt): TRACEBACK:*
> *ERROR (theano.gof.opt): Traceback (most recent call last):*
> *  File "D:\Programme\Anaconda\lib\site-packages\theano\gof\opt.py", line 
> 1772, in process_node*
> *    replacements = lopt.transform(node)*
> *  File 
> "D:\Programme\Anaconda\lib\site-packages\theano\sandbox\cuda\dnn.py", line 
> 2529, in local_log_softmax_dnn*
> *    if not dnn_available() or version() < (3000, 3000):*
> *  File 
> "D:\Programme\Anaconda\lib\site-packages\theano\sandbox\cuda\__init__.py", 
> line 340, in dnn_available*
> *    dnn_available.msg)*
> *RuntimeError: You enabled cuDNN, but we aren't able to use it: Can not 
> compile with cuDNN. We got this error:*
>
>
> *ERROR (theano.gof.opt): Optimization failure due to: 
> local_log_softmax_dnn*
> *ERROR (theano.gof.opt): node: 
> GpuElemwise{exp,no_inplace}(<CudaNdarrayType(float32, vector)>)*
> *ERROR (theano.gof.opt): TRACEBACK:*
> *ERROR (theano.gof.opt): Traceback (most recent call last):*
> *  File "D:\Programme\Anaconda\lib\site-packages\theano\gof\opt.py", line 
> 1772, in process_node*
> *    replacements = lopt.transform(node)*
> *  File 
> "D:\Programme\Anaconda\lib\site-packages\theano\sandbox\cuda\dnn.py", line 
> 2529, in local_log_softmax_dnn*
> *    if not dnn_available() or version() < (3000, 3000):*
> *  File 
> "D:\Programme\Anaconda\lib\site-packages\theano\sandbox\cuda\__init__.py", 
> line 340, in dnn_available*
> *    dnn_available.msg)*
> *RuntimeError: You enabled cuDNN, but we aren't able to use it: Can not 
> compile with cuDNN. We got this error:*
>
>
> *[GpuElemwise{exp,no_inplace}(<CudaNdarrayType(float32, vector)>), 
> HostFromGpu(GpuElemwise{exp,no_inplace}.0)]*
> *Looping 1000 times took 0.394000053406 seconds*
> *Result is [ 1.23178029  1.61879349  1.52278066 ...,  2.20771813 
>  2.29967761*
> *  1.62323296]*
> *Used the gpu*
>
>
> I checked dozens of guides and links...but nothing worked.
>
> Can u guys help me out?
>
> Thanks in advance!
> Yours Peter Pan
>

-- 

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

Reply via email to