我正在尝试使用 GC 控制台创建 TPU:
ctpu up --name=daniels-tpu --zone=us-central1-b --tpu-size=v3-8 --tf-version=1.15 --tpu-only -noconf --require-permissions
并且我收到以下错误:
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
有什么想法吗?
我能够使用相同的命令成功创建 TPU 实例。您是否尝试过使用其他区域? 我还发现了一个我认为可能非常有用的线程。