Skip to content

rd16395p/TPU-Pod-Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

TPU-Pod-Examples

tensorflowlogo

"TensorFlow, the TensorFlow logo and any related marks are trademarks of Google Inc.”

Tensorflow Research Cloud

Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).

Contents of this repository

  • Example iris code from the tensorflow tpu repository that has been modified to work on pods. This is found under 'iris example' folder. Instructions on how to run the code is found there as well.

  • (Coming Soon!) Code from my master's thesis project titled "emotionnet". This will be added as soon as the paper is published!

How to get any Google Compute Engine VM set up for use with TPU Pods

First, make sure that the GCE VM is set up with all permissions enabled to access the tpu pods.

This can be done through the gui by clicking the name of the VM under VM instances. I would recommend creating the VM instance in the same zone as the TPU pod as it is easier to set up to the connection to the pod.

Second, make sure that the packages are also installed on the VM instance. For these examples, I would install pandas and tensorflow 1.14. There will also be text that will appear stating to download new packages. Install the packages by following the dialog that appears. I woud also ensure that the TPU Pod software version is 14.0, matching the tensorflow version. These commands are pip install --upgrade google-api-python-client and pip install --upgrade oauth2client.

Other related guides I found helpful

TPU Pod Documentation

About

Examples that have been modified to work on the TPU Pods

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published