I'm using Google Colab for deep learning and I'm aware that they randomly allocate GPU's to users. I'd like to be able to see which GPU I've been allocated in any given session. Is there a way to do this in Google Colab notebooks?
Note that I am using Tensorflow if that helps.
Most notable is that the majority of free Colab sessions will initialize with a K80 GPU and 12 GB of RAM.
Since you can run bash command in colab, just run !nvidia-smi
:
This makes it easier to read
!nvidia-smi -L
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With