Hi, all, 


I'm trying to setup theano 1.0.1 with CUDA 7.5 and cuDNN 6.0 (Windows7).
I created a new virtual environment with conda and installed required 
libraries like this:

conda install numpy scipy mkl-service libpython m2w64-toolchain
conda install theano pygpu

Here are versions of major relavant libraries:

theano 1.0.1
python 3.5.5
numpy 1.14.2
scipy 1.0.0
m2w64-toolchain 5.3.0
mkl-service 1.1.2
pygpu 0.7.5
libgpuarray 0.7.5
libpython 2.1
mkl 2018.0.2

The way I installed cuDNN is to copy files into corresponding folders 
inside CUDA folder. Originally I installed CUDA at C:\Program Files\NVIDIA 
GPU Computing Toolkit, then I copied the CUDA folder to C root.

When I run:
python -c "import theano"

I get this message:

ERROR (theano.gpuarray): Could not initialize pygpu, support disabled
Traceback (most recent call last):
  File "C:\Program 
Files\Anaconda3\envs\te\lib\site-packages\theano\gpuarray\__init__.py", line 
227, in <module>
    use(config.device)
  File "C:\Program 
Files\Anaconda3\envs\te\lib\site-packages\theano\gpuarray\__init__.py", line 
214, in use
    init_dev(device, preallocate=preallocate)
  File "C:\Program 
Files\Anaconda3\envs\te\lib\site-packages\theano\gpuarray\__init__.py", line 
121, in init_dev
    dnn.dnn_available.msg)
RuntimeError: You enabled cuDNN, but we aren't able to use it: cannot compile 
with cuDNN. We got this error:
b'C:/Program 
Files/Anaconda3/envs/te/Library/mingw-w64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 cannot find C:/Program: No such file or directory
C:/Program 
Files/Anaconda3/envs/te/Library/mingw-w64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 cannot find 
Files/Anaconda3/envs/te/Library/mingw-w64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/lib/../lib/default-manifest.o:
 No such file or directory
collect2.exe: error: ld returned 1 exit status'

My theanoc file:

[global]
floatX = float32
device = cuda

[dnn]
enabled = True
include_path=C:/CUDA/v7.5/include
library_path=C:/CUDA/v7.5/lib/x64

[blas]
ldflags = C:/Program Files/Anaconda3/envs/t/Library/bin mkl_rt

Can somebody help please?


Thanks!

-- 

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