Skip to content

Commit

Permalink
Add accelerator_config to google_tpu_v2_vm (#9332) (#581)
Browse files Browse the repository at this point in the history
[upstream:2601597b36a86aa64e4cdc91c0b746757e45ae73]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Oct 23, 2023
1 parent aadf15d commit 80d1920
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tpu_v2_vm_full/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ resource "google_tpu_v2_vm" "tpu" {
description = "Text description of the TPU."

runtime_version = "tpu-vm-tf-2.13.0"
accelerator_type = "v2-8"

accelerator_config {
type = "V2"
topology = "2x2"
}

cidr_block = "10.0.0.0/29"

Expand Down

0 comments on commit 80d1920

Please sign in to comment.