Hi,
I’m running a TensorFlow CNN model, within a Unity app, using the scisharp.tensorflow.redist-windows-gpu library. (TF: 2.7, CUDA: 11.2, cuDNN 8.1)
When running the app with the CNN model, the performance monitor shows around 5Gb usage of dedicated GPU memory. When running the same app on a computer with a graphic card with 4Gb, I get the following error message:
(0) RESOURCE_EXHAUSTED: OOM when allocating tensor with shape[300,1024,28,28] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
Is there any way to run this app on the computer with the smaller GPU memory? for example by using the shared GPU memory, or any other idea?
Thanks