theano-cuda relates to the installation, configuration, and use of the CUDA backend for Theano
Questions tagged [theano-cuda]
144 questions
1
vote
1 answer
cudnn can't be install
I am trying the LeNet5 on theano using cuda 8.0 windows 10 GTX 770M, and it seems the params cannot be updated correctedly.
When I import theano, I will get this error:
Can not use cuDNN on context None: cannot compile with cuDNN. We got this…

林彥君
- 21
- 5
1
vote
1 answer
import theano using GPU Exception: The nvidia driver version installed with this OS does not give good results for reduction
I installed theano on WIN10, and it can be imported using CPU.
My graphics card is GTX1080. I installed CUDA8.0. Here is nvcc -V information:
And I also run the deviceQuery.cpp in cuda samples, result = PASS. Here is the result:
I also configured…

DanDan
- 795
- 1
- 5
- 10
1
vote
0 answers
Theano in Centos 7 with error bits/c++config.h: No such file or directory
I got the error:
Problem occurred during compilation with the command line below:
/usr/bin/g++ -shared -g -O3 -fno-math-errno -Wno-unused-label -Wno-unused-variable -Wno-write-strings -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -m64 -fPIC…

user200340
- 3,301
- 13
- 52
- 74
1
vote
1 answer
regarding setting up GPU for theano
I configure the GPU under home/.theanorc as follows
bash-4.1$ cat .theanorc
[global]
floatX = float32
device = gpu0
[lib]
cnmem = 1
Running the program gives the following warning message, how to solve this problem?
python train.py …

user288609
- 12,465
- 26
- 85
- 127
1
vote
0 answers
Using multiple gpus on windows using theano,keras
I am a beginner in deep learning/theano/keras.I'm trying to figure out how to use multiple gpus on windows 7. I've had success installing Theano,keras(as described in this post How do I install Keras and Theano in Anaconda Python on Windows?) and…

rteja1113
- 21
- 2
1
vote
2 answers
Theano GPU Installation Issue
I have installed Anaconda, theano , GPU Toolkit ver 8. I am getting this error.
ERROR: refusing to load cuda driver library because the version is blacklisted. Versions 373.06 and below are known to be ok.
If you want to bypass this check and…

gaurav gupta
- 11
- 2
1
vote
0 answers
Failed to compile cuda_ndarray.cu theano on windows 7
Hi I am trying to run theano on gpu.
My configuration is
Windows 7
CUDA toolkit 8.0
Anaconda python 3.5
Visual studio 14.0
===============================
'C:\Program' is not recognized as an internal or external command,
operable program or batch…

Trickmaster
- 187
- 2
- 5
1
vote
1 answer
Error to load compiler libraries while importing Theano: fatal error C1083
I'm trying to use Theano with my GPU for several days in my Python environment.
While importing theano, I obtain this error:
d:\anaconda2\include\pyconfig.h(239) : fatal error C1083: Cannot open include file: 'basetsd.h': No such file or…

ahstat
- 539
- 1
- 7
- 16
1
vote
1 answer
Theano setting in .theanorc file different beetween gpu and cuda
To configure theano we create a .theanorc file in your home folder and add the following to set up theano to run on GPU.
[global]
device = gpu
floatx = float32
but sometime i save in configure that smbd put device = cuda, what's the difference?
As…

Vladimir Shebuniayeu
- 344
- 1
- 4
- 14
1
vote
1 answer
ImportError: dynamic module does not define module export function (PyInit_m3d1cf20adb1014f04986e6a344a55bde)
This is an error message I get when I execute import theano:
ImportError: dynamic module does not define module export function (PyInit_m3d1cf20adb1014f04986e6a344a55bde)
I'm using Python 3.5.2 on Windows 10.
I have also asked this of the authors…

Kiuhnm
- 478
- 3
- 13
1
vote
0 answers
Computation in fixed point or int
I am using fixed point numbers within my network based on keras framework. My concern is when there are multiplication operations in the network on theano variables, the result is float32 ( even if the numbers supplied are in fixed point). Is there…

blackbug
- 1,098
- 3
- 13
- 40
1
vote
0 answers
parallelizing with joblib.Parallel() on CPU fails after running a parallelized CUDA-based code on GPU
I have a Python-based machine learning code that runs three algorithms on my data: Random Forest (implementation in scikit-learn), Gradient Boosting (implementation in XGBoost), and Recurrent Neural Network (implementation in Theano/Keras). The…

darXider
- 447
- 5
- 16
1
vote
1 answer
model selection with Keras and Theano takes a very long time
I am performing nested cross-validation for model selection and performance estimation for a set of recurrent neural networks with different architectures and parameters using Keras and Theano, which are set up to run on a AWS P2 instance which has…

darXider
- 447
- 5
- 16
1
vote
0 answers
My CUDA and Theano do not work together
I am trying to test my GPU sanity by running this code
from theano import function, config, shared, sandbox
import theano.tensor as T
import numpy
import time
vlen = 10 * 30 * 768 # 10 x #cores x # threads per core
iters = 1000
rng =…

Riyadh Kenaya
- 11
- 4
1
vote
0 answers
Troubles with runnig theano on GPU, Windows 10
I am having trouble running Theano testing code on GPU. I have followed the official Theano installation guides, and after that didn't work i followed this guide:https://github.com/philferriere/dlwin . However i am still not able to run the code on…

Amuoeba
- 624
- 9
- 28