简体   繁体   English

GCP:无法连接到云TPU

[英]GCP: Unable to connect to cloud TPU

I started an instance with TPU by following this quick start tutorial using ctpu up command and I was able to run MNIST tutorial successfully. 我通过使用ctpu up命令遵循此快速 ctpu up 教程启动 TPU实例,并且能够成功运行MNIST教程。 I logged out of cloud shell and logged into my vm connected to TPU using SSH console as explained here , when I run MNIST tutorial again I'm getting 我退出云外壳并登录到我的虚拟机使用SSH控制台解释连接到TPU 在这里 ,当我运行MNIST教程再次我越来越

RuntimeError: Cannot find any TPU cores in the system. Please double check Tensorflow master address and TPU worker(s).

When I run ctpu ls , I get 当我运行ctpu ls ,我得到

#       Flock Name      Status
0:      my-tpu(*)  running

ctpu status command gives ctpu status命令给出

Your cluster is running!
Compute Engine VM:  RUNNING
Cloud TPU:          RUNNING

Am I missing something basic here? 我在这里缺少基本的东西吗?

ctpu passes this name to the Compute Engine VM as an environment variable ( TPU_NAME ), but gcloud doesn't. ctpu将此名称作为环境变量( TPU_NAME )传递给Compute Engine VM,但gcloud却没有。

Specify your TPU explicitly: use --tpu=my-tpu instead of --tpu=$TPU_NAME 明确指定您的TPU:使用--tpu=my-tpu而不是--tpu=$TPU_NAME

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法连接到 GCP - Unable to connect to GCP 使用 TPU 在 GCP 上进行 Keras/Tensorflow 培训 - Keras/Tensorflow training on GCP with TPU 无法连接到云JIRA - Unable to connect to cloud JIRA 部署到gcp应用引擎后无法连接到云存储 - failed to connect to cloud storage after deploying to gcp app engine 如何使用 SSL 将 SQLAlchemy 连接到 GCP 云 SQL 实例? - How to connect SQLAlchemy to a GCP CLoud SQL instance using SSL? 使用 SQL alchemy 和 GCP 服务帐户连接到 GCP Cloud SQL Auth Proxy - Connect to a GCP Cloud SQL Auth Proxy using SQL alchemy and a GCP service account 无头 GCP Ubuntu 上的 Chromedriver 因“无法连接到渲染器”而崩溃 - Chromedriver on a headless GCP Ubuntu crashes with "unable to connect to renderer" 无法使用 Airflow 从 GCP Composer 连接到 FTP 服务器 - Unable to connect to FTP server from GCP Composer using Airflow 你能教我如何将 GCP 中的云功能连接到云 SQL 吗? - Could you teach me how to connect cloud functions in GCP to cloud SQL? 在Google Colab环境中运行Cloud TPU分析器 - Running cloud TPU profiler in Google Colab environment
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM