theano-cuda relates to the installation, configuration, and use of the CUDA backend for Theano
Questions tagged [theano-cuda]
144 questions
1
vote
0 answers
Theano installation issues - corecrt.h resolved, making way for hundreds of compilation errors
I've been banging my head against this issue all day!
Initially I was having issues with the compiler not being able to find the corecrt.h file. I seem to have fixed it by copying all include files from C:\Program Files (x86)\Windows…

Matt Takao
- 2,406
- 3
- 16
- 30
1
vote
1 answer
Lasagne use image inputs as the initial hidden state of a LSTMLayer
I am doing a project on image captioning. I want to set a batch of image features with shape=(batch_size, 512) as the initial hidden state of a LSTMLayer in Lasagne (theano). The sequence input to the LSTMLayer is a batch of text sequence with…

Jun
- 35
- 7
1
vote
0 answers
Import error of theano occasionally after interruption of the program
I am implementing some deep learning algorithms using theano. After I stop some programs running theano, occasionally the following error appears if I want to import theano again.
>>> import theano
ERROR (theano.sandbox.cuda): ERROR: Not using…

Jun
- 35
- 7
1
vote
2 answers
Missing nvcc compiler - theano
I use ubuntu 14.04 and cuda 7.5. I get cuda version information using $ nvcc --version :
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2015 NVIDIA Corporation
Built on Tue_Aug_11_14:27:32_CDT_2015
Cuda compilation tools, release 7.5,…

zakjma
- 2,030
- 12
- 40
- 81
1
vote
1 answer
Theano: Explicit transfers of data between GPU dosen't work
I'm trying to implement a simple sample to show how to calculate two theano.tensor.dot in two different GPUs. Where the two dot shares the same A and different B.
theano.tensor.dot(A,B0); theano.tensor.dot(A,B1)
I'm willing to store the B0 and B1…

Joey Wang
- 21
- 2
1
vote
1 answer
Element wise matrix multiplication in Theano
I could see element wise matrix multiplication using numpy can be done with * operator.
print np.mat(np.ones((10,10)))*np.mat(np.ones((10,10)))
But couldnt get it working under theano. The code I tried is
x = T.dmatrix('x')
y = T.dmatrix('y')
z =…

user567879
- 5,139
- 20
- 71
- 105
1
vote
1 answer
How to use theano within screen session?
I use theano on a remote server that I first ssh into (I don't have root on that system). This works fine, however, if I start a screen, I get an error when trying to import theano.
Behavior when not using screen:
>>> import theano
Using gpu device…

Edward Newell
- 17,203
- 7
- 34
- 36
1
vote
1 answer
GPU Compatibility for Theano [NVidia GeForce 8800GT]
I am currently working on an ML project on my personal computer that has an AMD graphics card. I have an old NVidia 8800GT card that I could plug in for CUDA accelerated convolution, but I haven't found if it is compatible with Theano. Googling has…

joe smith
- 57
- 6
1
vote
1 answer
What is the right way to manage memory in Theano for training sets that cannot fit in RAM?
TL;DR:
How do I give more data to a Theano function without taking more memory?
The problem I'm having is that training my ML algorithm on the GPU with Theano causes the GPU to eventually run out of memory. I took a slight departure from the…

Stefan Sullivan
- 1,517
- 2
- 10
- 9
1
vote
1 answer
theano throwing redefinition of argument 'cl-version' when importing
I'm new to theano.
After following this guide: http://deeplearning.net/software/theano/install_windows.html#install-windows I managed to work with theano properly. Later I upgraded to theano dev version and now I keep getting this exception:
import…
1
vote
1 answer
theano installation (windows 64bit python 2)
I started an installation of theano.
My computer SPEC:
- OS : Windows 7 64bit
- Graphic card : NVIDIA Geforce GT 630
- CPU : AMD FX-8120
I installed theano by installation guide of deeplearning.net…

user3155703
- 19
- 2
1
vote
0 answers
nvcc : fatal error : Unsupported host compiler 'bi'
I'm trying to use the gpu in theano. I made my .theanorc file and tried to run the following python code:
from theano import function, config, shared
import theano.tensor as T
import numpy
import time
vlen = 10 * 30 * 768 # 10 x #cores x #…

SunshineAndLove
- 41
- 5
0
votes
1 answer
WSL, Theano - nvcc compiler not found on $PATH
Before this question gets marked as a duplicate - I have tried all of the existing solutions available on SO and some other websites, but none of them are working.
I'm getting an error using theano (Python 2.7.18, Theano 0.6.0, WSL2 Ubuntu 22,…

willbill
- 80
- 1
- 9
0
votes
1 answer
RuntimeError: Could not load cudnn library. Check your cudnn installation. Maybe using the Theano flag dnn.base_path can help you
enter image description here
I don't know how to solve the problem, although I searched google.
My computer OS is win10. And following installed in a virtual environment.
enter image description here
enter image description here
UserWarning: Your…

jam
- 1
0
votes
1 answer
Cannot install Theano libgpuarray on Windows 10
This question is for Python2.7 with Keras as a front end. I have Microsoft Visual Studio 2017 and I believe I have all the tools it needs. I followed the instructions on install CUDA. I believe it is version 10, and I think it is installed…

Never Nor
- 377
- 2
- 16