theano-cuda relates to the installation, configuration, and use of the CUDA backend for Theano
Questions tagged [theano-cuda]
144 questions
0
votes
0 answers
Running a python/theano script on the GPU (Windows)
What i want
To run a simple python script like the following, but instead of the CPU I want it to use the GPU:
import theano
def some_convolutional_neural_network():
#Insert (theano) code here
What I would like is a comprehensive instruction…

Psychotechnopath
- 2,471
- 5
- 26
- 47
0
votes
2 answers
Installed g++ on theano suggestion. Now theano doesn't work
Under Windows 10, after successfully installing tensorflow gpu, and keras gpu, I installed theano gpu using:
conda install theano pygpu
Everything still worked fine, tensorflow gpu, keras gpu, etc. I ran simple example in theano, and on executing…

Ivan
- 7,448
- 14
- 69
- 134
0
votes
0 answers
build file compilation failed in cuda on ubuntu
I am trying to execute this Github repository. When I run the build.sh file, I get the following error:
gcc version is :gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
nvidia-smi:NVIDIA-SMI 340.24 Driver Version: 340.24
Nvidia geforce 820…

assad rasheed
- 1
- 2
0
votes
1 answer
cuDNN path not resolving
I'm trying to run the this theano test and I'm having problems with my cudnn path. I remember passing the tests after installing cudnn but it seems that theano cannot find the path to cudnn. Is this an enviroment variable problem? Does anyone have a…

Lucas Azevedo
- 1,867
- 22
- 39
0
votes
1 answer
Using pycuda and theano together: pycuda._driver.LogicError
I have some complicated formula, which is easier to implement directly using CUDA code. On the other hand, I need to make use of the theano feature to build a neural network and train it separately.
How can I safely use pycuda and theano…

wh0
- 510
- 1
- 6
- 19
0
votes
1 answer
Python Named Entity Recognition Error: IndexError: list index out of range
Hi i am new to python and tried to run script (https://github.com/detuvoldo/tagger), I replaced the 2 lines in utils.py because i am using Windows 10 and there were some path related issues.
models_path = u"\\\\?\\" +…

Rabia Noureen
- 17
- 7
0
votes
1 answer
Difficulty with cnn in keras
I'm trying to build a dcnn, but I got this error:
ValueError: ('The specified size contains a dimension with value <= 0', (-192, 1024))
And really, I don't have idea the reason of this error, here's my code:
The data:
c_X =…
0
votes
2 answers
Theano segmentation fault with cuda-9.0
I tried installing and using Theano with Cuda-9.0 on a P100 node. The installation itself went smooth, but I get Segmentation fault (see below).
I tried with both Theano-0.9.0 and Theano-0.10.0beta1 in combination with libgpuarray/pygpu - 0.6.8 and…

baskaran
- 25
- 1
- 7
0
votes
0 answers
Cuda Compilation Failure after Windows "Creators" update
I've been successfully using Theano on my Windows 10 box for about a year.
Then Windows 10 forced me to update--- the "Creatives" mega-update.
Immediately after this update, I began getting the following error when running code that uses theano:
>…

David R
- 994
- 1
- 11
- 27
0
votes
0 answers
nvcc fatal : Cannot find compiler 'cl.exe' in PATH
When I import keras using theano as backend, I get the following error:
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress…

A_Matar
- 2,210
- 3
- 31
- 53
0
votes
1 answer
Is NVRTC unavailable for Win32?
I'm running Python27 x32 and getting this error:
Could not load "nvrtc64_75.dll": %1 is not a valid Win32 application.
I've also tried with cuda8.
As I realized, NVRTC docs list x64 as a requirement:
NVRTC requires the following system…

n611x007
- 8,952
- 8
- 59
- 102
0
votes
1 answer
Problems with Theano installation using CUDA when using non-root user
I have followed the instructions to install Theano an GPUArray from source (git versions), in the system folders (not as a user). The GPUArray tests run just fine without errors.
The problem is Theano only works with GPU if I run as root. Running…

rll
- 5,509
- 3
- 31
- 46
0
votes
1 answer
Theano for Keras: Failed to compile cuda_ndarray.cu: libcublas.so.7.5: cannot open shared object file: No such file or directory
I'm trying to use Keras with the Theano backend inside a virtual environment. The error I'm getting is:
ERROR (theano.sandbox.cuda): Failed to compile cuda_ndarray.cu: libcublas.so.7.5: cannot open shared object file: No such file or directory
shown…

StatsSorceress
- 3,019
- 7
- 41
- 82
0
votes
1 answer
I want to used theano with GPU ,but it seemed that GPU is not worked?
I want to use theano with GPU ,and I use the following script to test if GPU is working:
import os
os.environ['THEANO_FLAGS'] = "device=gpu0"
import theano
from theano import function, config, shared, tensor
import numpy
import time
vlen =…

ITBeyond
- 1
0
votes
2 answers
Theano search for CUDA 7.5 files but I have CUDA 8 installed. How to tell it to use CUDA 8?
I use theano 0.9.0, CUDA 8.0.61, gcc version 4.9.3, NVIDIA UNIX x86_64 Kernel Module 375.39, Ubuntu 16.04.2 LTS and I have a geforce 1060. CUDA works as I have done the tests.
But whenever I do the gpu test with theano…

Alexia
- 3
- 1