Skip to content

Commit

Permalink
Let TPU CI read from project GCS buckets (#7600)
Browse files Browse the repository at this point in the history
  • Loading branch information
will-cromar authored Jul 1, 2024
1 parent 3bdca4d commit 6873d33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions infra/terraform_modules/arc_v4_container_cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ resource "google_container_node_pool" "arc_v4_cpu_nodes" {
oauth_scopes = [
"https://www.googleapis.com/auth/logging.write",
"https://www.googleapis.com/auth/monitoring",
"https://www.googleapis.com/auth/devstorage.read_only",
]
}

Expand All @@ -60,6 +61,7 @@ resource "google_container_node_pool" "arc_v4_tpu_nodes" {
oauth_scopes = [
"https://www.googleapis.com/auth/logging.write",
"https://www.googleapis.com/auth/monitoring",
"https://www.googleapis.com/auth/devstorage.read_only",
]
machine_type = "ct4p-hightpu-4t"
}
Expand Down
2 changes: 1 addition & 1 deletion infra/tpu-pytorch/tpu_ci.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module "v4_arc_cluster" {
cpu_nodepool_name = "cpu-nodepool"
cpu_node_count = 1
tpu_nodepool_name = "tpu-nodepool"
max_tpu_nodes = 1
max_tpu_nodes = 2
github_repo_url = "https://github.com/pytorch/xla"
# Dockerfile for this image can be found at test/tpu/Dockerfile
runner_image = "gcr.io/tpu-pytorch/tpu-ci-runner:latest"
Expand Down

0 comments on commit 6873d33

Please sign in to comment.