Theano fails to be imported with theano configuration cnmem = 1
Any idea how to make sure the GPU is totally allocated to the theano python script?
Note: Display is not used to avoid its GPU usage
File: .theanorc
cnmem = 1
File: test.py
print 'Importing Theano Library ...'
import theano
print 'Imported'
Output:
$ python test.py
Importing Theano Library ...
Killed
$
It only works with cnmem = 0.75
File: .theanorc
cnmem = 0.75
Output:
$ python test.py
Importing Theano Library ...
Imported
$