title: How can I enable pytorch GPU support in Google Colab?
body: <p>How can I enable pytorch to work on GPU?</p>
  
  <p>I've installed pytorch successfully in google colab notebook:
  <a href="https://i.stack.imgur.com/uideP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uideP.png" alt="enter image description here"></a>
  Tensorflow reports GPU to be in place:</p>
  
  <p><a href="https://i.stack.imgur.com/nPYnl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nPYnl.png" alt="enter image description here"></a></p>
  
  <p>But torch.device function fails somehow:</p>
  
  <p><a href="https://i.stack.imgur.com/QrItD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QrItD.png" alt="enter image description here"></a></p>
  
  <p>How can I fix this?</p>