Something else could use the memory of the GPU, like the GUI or other process in back-ground. Can you reboot the computer? If that do not fix the problem, try to execute the command line "nvidia-smi" in a terminal.
Frédéric On Tue, Feb 27, 2018 at 10:54 AM Fei Tao <tct...@gmail.com> wrote: > Hi, Dear all, > > I have two computers, one with GTX 1070 (8GB g-mem) and the other with GTX > 745 (4GB g-mem). > > For both of them, I am using Keras 2.0.8 and Theano 0.9.0. I copy the > theano and keras configuration files to both computers so that they have > the same setting. The only difference is GTX 1070 works with cuDNN 5105, > while GTX 745 works with cuDNN 5110. > > I also use the same python codes for both computers (copy the program to > both computers). However, I have a problem about GTX 1070, showing that it > is 'GPU out of memory' during initialization, while the GTX 745 is totally > fine. > > I am using Ubuntu 14.04. > > This is very weird since GTX 1070 has more memory than GTX 745. Is there > any setting I can check to find out what the problem is? > > How can I fix this problem? > > Thank you very much! > > -- > > --- > 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 theano-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- --- 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 theano-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.