GPU memory nearly full after defining tf.distribute.MirroredStrategy?
I am coming across a strange issue when using TensorFlow (2.9.1). After defining a distributed training strategy, my GPU memory appears to fill. Steps to reproduce are simple: import tensorflow as tf strat = tf.distribute.MirroredStrategy() After the first line (importing TensorFlow), nvidia-smi outputs: Fri Jun 10 03:01:47 2022 +—————————————————————————–+ | NVIDIA-SMI 470.103.01 Driver Version: 470.103.01… Read More GPU memory nearly full after defining tf.distribute.MirroredStrategy?