首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >创建TPU时出错:“不能小于现有策略版本”

创建TPU时出错:“不能小于现有策略版本”
EN

Stack Overflow用户
提问于 2020-02-01 13:18:38
回答 1查看 111关注 0票数 0

我正在尝试使用GC控制台创建TPU:

代码语言:javascript
复制
ctpu up --name=daniels-tpu --zone=us-central1-b --tpu-size=v3-8 --tf-version=1.15 --tpu-only -noconf --require-permissions

我得到了以下错误:

代码语言:javascript
复制
ctpu will use the following configuration:
  Name:                 daniels-tpu2
  Zone:                 us-central1-b
  GCP Project:          ai2-aristo
  TensorFlow Version:   1.15
  Cloud TPU:
      Size:             v3-8
      Preemptible:      false
      Reserved:         false
OK to create your Cloud TPU resources with the above configuration? [Yn]: y
2020/01/31 21:12:21 Creating TPU daniels-tpu2 (this may take a few minutes)...
2020/01/31 21:12:28 TPU operation still running...
2020/01/31 21:12:49 TPU operation still running...
2020/01/31 21:13:10 TPU operation still running...
2020/01/31 21:13:31 TPU operation still running...
2020/01/31 21:13:36 Created TPU daniels-tpu2!
2020/01/31 21:13:36 Error adding the TPU's service account to the project's access control lists: &googleapi.Error{Code:400, Message:"Requested policy version (1) cannot be less than the existing policy versi
on (3). For more information, please refer to https://cloud.google.com/iam/docs/policies#versions.", Body:"{\n  \"error\": {\n    \"code\": 400,\n    \"message\": \"Requested policy version (1) cannot be less
 than the existing policy version (3). For more information, please refer to https://cloud.google.com/iam/docs/policies#versions.\",\n    \"errors\": [\n      {\n        \"message\": \"Requested policy versio
n (1) cannot be less than the existing policy version (3). For more information, please refer to https://cloud.google.com/iam/docs/policies#versions.\",\n        \"domain\": \"global\",\n        \"reason\": \
"badRequest\"\n      }\n    ],\n    \"status\": \"INVALID_ARGUMENT\"\n  }\n}\n", Header:http.Header(nil), Errors:[]googleapi.ErrorItem{googleapi.ErrorItem{Reason:"badRequest", Message:"Requested policy versio
n (1) cannot be less than the existing policy version (3). For more information, please refer to https://cloud.google.com/iam/docs/policies#versions."}}}
googleapi: Error 400: Requested policy version (1) cannot be less than the existing policy version (3). For more information, please refer to https://cloud.google.com/iam/docs/policies#versions., badRequest

有什么想法吗?

EN

回答 1

Stack Overflow用户

发布于 2020-02-03 19:20:02

我使用相同的命令成功地创建了TPU实例。您是否尝试过使用不同的zone?我还发现了一个thread,我相信它会非常有用。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/60014238

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档