Thanks for replying Pascal, youtube recommended to me this video 
https://www.youtube.com/watch?v=OU8I1oJ9HhI and I was like wait a second, 
that's the guy that replied to the thread! Keep up the good work.

My computer is still using the CPU, I updated to cuda 8.0 but when I tried 
to run the gpu_test.py it said I was using the cpu, so I changed my 
.theanorc to the following:

[nvcc] flags=-D_FORCE_INLINES

[global]
floatX = float32
device = gpu0

[lib]
cnmem = 1

But I get the following error. I did shut off all my monitors except one so 
I'm not sure what is out of memory:

rik@rik-MS-7971:~$ python gpu_test.py
/home/rik/anaconda3/lib/python3.5/site-packages/PIL/Image.py:85: 
RuntimeWarning: The _imaging extension was built for another  version of 
Pillow or PIL
  warnings.warn(str(v), RuntimeWarning)
/home/rik/anaconda3/lib/python3.5/site-packages/PIL/Image.py:85: 
RuntimeWarning: The _imaging extension was built for another  version of 
Pillow or PIL
  warnings.warn(str(v), RuntimeWarning)
ERROR (theano.sandbox.cuda): ERROR: Not using GPU. Initialisation of device 
0 failed:
initCnmem: cnmemInit call failed! Reason=CNMEM_STATUS_OUT_OF_MEMORY. 
numdev=1

ERROR (theano.sandbox.cuda): ERROR: Not using GPU. Initialisation of device 
gpu failed:
initCnmem: cnmemInit call failed! Reason=CNMEM_STATUS_OUT_OF_MEMORY. 
numdev=1

Traceback (most recent call last):
  File "gpu_test.py", line 1, in <module>
    from theano import function, config, shared, sandbox
  File 
"/home/rik/anaconda3/lib/python3.5/site-packages/theano/__init__.py", line 
111, in <module>
    theano.sandbox.cuda.tests.test_driver.test_nvidia_driver1()
  File 
"/home/rik/anaconda3/lib/python3.5/site-packages/theano/sandbox/cuda/tests/test_driver.py",
 
line 29, in test_nvidia_driver1
    A = cuda.shared_constructor(a)
  File 
"/home/rik/anaconda3/lib/python3.5/site-packages/theano/sandbox/cuda/var.py", 
line 218, in float32_shared_constructor
    enable_cuda=False)
  File 
"/home/rik/anaconda3/lib/python3.5/site-packages/theano/sandbox/cuda/__init__.py",
 
line 557, in use
    gpu_init(use.device_number, config.lib.cnmem)
RuntimeError: ('initCnmem: cnmemInit call failed! 
Reason=CNMEM_STATUS_OUT_OF_MEMORY. numdev=1\n', 'You asked to force this 
device and it failed. No fallback to the cpu or other gpu device.')

-- 

--- 
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.

Reply via email to