Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

first time running TF 2 on a Google Cloud TPU - problems

2 views
Skip to first unread message

Alan Heirich

unread,
Apr 9, 2020, 8:00:35 PM4/9/20
to TensorFlow End Users - GETTING STARTED, TUTORIALS & HOW-TO'S
I have created a tpu compute instance on Google cloud that I can access by remote ssh.  When I ssh in and run my program it prints out the list of available devices like this

from tensorflow.python.client import device_lib print(device_lib.list_local_devices())

Unfortunately it shows a CPU device but no TPU device, so TF appears to be running on the CPU. Can anyone tell me how to get TF to see the TPU device?
Reply all
Reply to author
Forward
0 new messages