How to upgrade tensorflow with GPU on google colaboratory
Even if you will install gpu version !pip install tensorflow-gpu==1.5.0 it will still fail to import it because of the cuda libraries. Currently I have not found a way to use 1.5 version with GPU. So I would rather use 1.4.1 with gpu than 1.5 without gpu.
You can send them a feedback ( Home  -  Send Feedback ) and hopefully if enough people will send something similar, they will update the new gpu version.
Currently google colaboratory uses tensorflow 1.4.1. I want to upgrade it to 1.5.0 version. Each time when i executed !pip install --upgrade tensorflow command, notebook instance succesfully upgrades the tensorflow version to 1.5.0. But after upgrade operation tensorflow instance only supports "CPU".
When i have executed this command it shows nothing :
from tensorflow.python.client import device_lib
device_lib.list_local_devices()
Should there be another way for upgrading tensorflow ? such as upgrading to tensorflow-gpu package ? Also when will notebooks will come with upgraded tensorflows ?