3

The CNMeM library is a "simple library to help the Deep Learning frameworks manage CUDA memory."

CNMeM has been reported to give some interesting speed improvements, and is supported by Theano, Torch, and Caffe. However, TensorFlow preallocates GPU memory when starting a session, unlike Theano, Torch, and Caffe.

Does using CNMeM when running a TensorFlow-based program help (e.g., reduce the running time)?

1 Answer 1

3

No. Tensorflow has its own GPU memory management. Indeed it takes upfront the whole GPU memory regardless of the size of your problem.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.