Here it is described how to use gpu with google-colaboratory:
Simply select "GPU" in the Accelerator drop-down in Notebook Settings (either thr
You need to configure the Notebook with GPU device
Click Edit->notebook settings->hardware accelerator->GPU