You are not logged in.

#1 2017-03-18 14:46:08

oowinnetouoo
Member
Registered: 2012-11-29
Posts: 18

Cannot use gpu in Theano

I installed from AUR cudnn & python-theano.

But I cannot use my gpu:

$ python
In [1]: import theano
WARNING (theano.sandbox.cuda): CUDA is installed, but device gpu0 is not available  (error: Unable to get the number of gpus available: unknown error)

How can I fix this issue?

Here are some diagnostics:

$ lspci | grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 770] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1)
$ nvidia-smi 
Sat Mar 18 15:43:11 2017       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 378.13                 Driver Version: 378.13                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 770     Off  | 0000:01:00.0     N/A |                  N/A |
| 33%   41C    P8    N/A /  N/A |    324MiB /  4035MiB |     N/A      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|    0                  Not Supported                                         |
+-----------------------------------------------------------------------------+

Offline

#2 2017-04-25 13:58:39

darthdeus
Member
Registered: 2017-03-04
Posts: 6

Re: Cannot use gpu in Theano

I've run into exactly the same issue, except for using virtualenv installed theano and not python-theano. I've also tried tensorflow with GPU and it doesn't work as well, saying CUDA is installed, but GPU is not available.

Anyone manaegd to resolve this?

Offline

Board footer

Powered by FluxBB