how to know gpu usage in google colab code example
Example: how to check gpu activity colab
#On the left side you can open Terminal ('>_' with black background)
#You can run commands from there even when some cell is running
#Write command to see GPU usage in real-time:
$ watch nvidia-smi