google-cloud-platformgoogle-colaboratory

How to check the region where your GoogleColab is running?


Following this tweet I tried without luck to use this GPU on Google Colab. I'm wondering if this is due to the region where my notebook is running but I don't have idea how to check this.

  1. Am I missing something setting up the GPU? I followed this post [ Solved! See UPDATE 2]
  2. How can I check in which region I'm from colab?

UPDATE

The output of !nvidia-smi is


+-----------------------------------------------------------------------------+
| NVIDIA-SMI 418.56       Driver Version: 410.79       CUDA Version: 10.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla K80           Off  | 00000000:00:04.0 Off |                    0 |
| N/A   32C    P0    54W / 149W |    121MiB / 11441MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
+-----------------------------------------------------------------------------+

UPDATE 2

Tesla T4 is now available but I'm still interested in how to check in which region my instances are running.


Solution

  • You can check server location by curl:

    curl ipinfo.io
    

    And you can change server by factory reset runtime, but you can't choose region.