tests: fix gcp_tpu_node test

- gcp_tpu_node was using an old TensorFlow version, as well as using
  a popular TPU variant (3-8) in a zone that had a capacity limit.
  Both have been updated to working values.
This commit is contained in:
Yusuke Tsutsumi 2022-10-09 06:34:12 +00:00
parent d03d7beda2
commit d8c1d2f8b8
3 changed files with 11 additions and 13 deletions

View file

@ -33,7 +33,6 @@ SERVICE_LIST=(
REQUIRED_ROLE_LIST=( REQUIRED_ROLE_LIST=(
"roles/storage.objectAdmin" "roles/storage.objectAdmin"
"roles/source.admin" "roles/source.admin"
"roles/resourcemanager.projects.create"
) )
for SERVICE in "${SERVICE_LIST[@]}"; do for SERVICE in "${SERVICE_LIST[@]}"; do

View file

@ -1,2 +1 @@
cloud/gcp cloud/gcp
unsupported

View file

@ -17,8 +17,8 @@
google.cloud.gcp_tpu_node: google.cloud.gcp_tpu_node:
name: "{{ resource_name }}" name: "{{ resource_name }}"
zone: us-central1-b zone: us-central1-b
accelerator_type: v3-8 accelerator_type: v2-8
tensorflow_version: '1.11' tensorflow_version: '2.10.0'
cidr_block: 10.2.0.0/29 cidr_block: 10.2.0.0/29
project: "{{ gcp_project }}" project: "{{ gcp_project }}"
auth_kind: "{{ gcp_cred_kind }}" auth_kind: "{{ gcp_cred_kind }}"
@ -29,8 +29,8 @@
google.cloud.gcp_tpu_node: google.cloud.gcp_tpu_node:
name: "{{ resource_name }}" name: "{{ resource_name }}"
zone: us-central1-b zone: us-central1-b
accelerator_type: v3-8 accelerator_type: v2-8
tensorflow_version: '1.11' tensorflow_version: '2.10.0'
cidr_block: 10.2.0.0/29 cidr_block: 10.2.0.0/29
project: "{{ gcp_project }}" project: "{{ gcp_project }}"
auth_kind: "{{ gcp_cred_kind }}" auth_kind: "{{ gcp_cred_kind }}"
@ -59,8 +59,8 @@
google.cloud.gcp_tpu_node: google.cloud.gcp_tpu_node:
name: "{{ resource_name }}" name: "{{ resource_name }}"
zone: us-central1-b zone: us-central1-b
accelerator_type: v3-8 accelerator_type: v2-8
tensorflow_version: '1.11' tensorflow_version: '2.10.0'
cidr_block: 10.2.0.0/29 cidr_block: 10.2.0.0/29
project: "{{ gcp_project }}" project: "{{ gcp_project }}"
auth_kind: "{{ gcp_cred_kind }}" auth_kind: "{{ gcp_cred_kind }}"
@ -76,8 +76,8 @@
google.cloud.gcp_tpu_node: google.cloud.gcp_tpu_node:
name: "{{ resource_name }}" name: "{{ resource_name }}"
zone: us-central1-b zone: us-central1-b
accelerator_type: v3-8 accelerator_type: v2-8
tensorflow_version: '1.11' tensorflow_version: '2.10.0'
cidr_block: 10.2.0.0/29 cidr_block: 10.2.0.0/29
project: "{{ gcp_project }}" project: "{{ gcp_project }}"
auth_kind: "{{ gcp_cred_kind }}" auth_kind: "{{ gcp_cred_kind }}"
@ -106,8 +106,8 @@
google.cloud.gcp_tpu_node: google.cloud.gcp_tpu_node:
name: "{{ resource_name }}" name: "{{ resource_name }}"
zone: us-central1-b zone: us-central1-b
accelerator_type: v3-8 accelerator_type: v2-8
tensorflow_version: '1.11' tensorflow_version: '2.10.0'
cidr_block: 10.2.0.0/29 cidr_block: 10.2.0.0/29
project: "{{ gcp_project }}" project: "{{ gcp_project }}"
auth_kind: "{{ gcp_cred_kind }}" auth_kind: "{{ gcp_cred_kind }}"