Hi
I want to go through the GPU compilation with THEANO on 64 bit Ubuntu
16.04; CUDA 7.5.
I tried the test code given on site:
http://deeplearning.net/software/theano/tutorial/using_gpu.html
I installed Theano, Cuda toolkit.
But I am getting following error.
Why it is occuring and how can I overcome this.
THEANO_FLAGS=mode=FAST_RUN,device=gpu,floatX=float32 python check1.py
WARNING (theano.sandbox.cuda): CUDA is installed, but device gpu is not
available (error: Unable to get the number of gpus available: unknown
error)
Traceback (most recent call last):
File "check1.py", line 13, in <module>
f = function([], sandbox.cuda.basic_ops.gpu_from_host(T.exp(x)))
File "/usr/local/lib/python2.7/dist-packages/theano/compile/function.py",
line 320, in function
output_keys=output_keys)
File "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py",
line 479, in pfunc
output_keys=output_keys)
File
"/usr/local/lib/python2.7/dist-packages/theano/compile/function_module.py",
line 1777, in orig_function
defaults)
File
"/usr/local/lib/python2.7/dist-packages/theano/compile/function_module.py",
line 1641, in create
input_storage=input_storage_lists, storage_map=storage_map)
File "/usr/local/lib/python2.7/dist-packages/theano/gof/link.py", line
690, in make_thunk
storage_map=storage_map)[:3]
File "/usr/local/lib/python2.7/dist-packages/theano/gof/vm.py", line
1003, in make_all
no_recycling))
File
"/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/__init__.py",
line 254, in make_thunk
enable_cuda=False)
File
"/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/__init__.py",
line 495, in use
device, cuda_initialization_error_message))
EnvironmentError: ('The following error happened while compiling the node',
GpuFromHost(Elemwise{exp,no_inplace}.0), '\n', 'You forced the use of gpu
device gpu, but CUDA initialization failed with error:\nUnable to get the
number of gpus available: unknown error')
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.