Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jonashaag/caf042606b2c8a2c0e3cbb7547479175 to your computer and use it in GitHub Desktop.
Save jonashaag/caf042606b2c8a2c0e3cbb7547479175 to your computer and use it in GitHub Desktop.
Colab TPU force version
import requests
import os
url = 'http://' + os.environ['COLAB_TPU_ADDR'].split(':')[0] + ':8475/requestversion/2.2.0-dev20200311'
resp = requests.post(url)
print(resp)
%pip install tf-nightly==2.2.0-dev20200311
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment