Tensorflow allow growth. import tensorflow as tf conf = tf.