'Unable to ultilize full GPU allocation in Colab

I am trying to run a Deep Learning based Face Recognition Model. But when I run it on Google Colab, it uses only 1.12 GB of GPU out of 42 GB. I have enabled and checked all the configuration of colab and in the code using Pytorch wrapper.

Please help how can I use full resource in Colab.



Solution 1:[1]

I guess your issue was discussed here on Stackoverflow "

The high memory setting in the screen controls the system RAM rather than GPU memory. The command !nvidia-smi will show GPU memory. For example: enter image description here

.. and also was answered here in Google Colab docs https://colab.research.google.com/notebooks/pro.ipynb

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Bohdan