A TPU v2 slice is composed of 512 chips interconnected with reconfigurable
high-speed links. To create a TPU v2 slice, use the --accelerator-type
flag in the TPU creation command (gcloud compute tpus tpu-vm). You specify the
accelerator type by specifying the TPU version and the number of TPU cores. For
example, for a single v2 TPU, use --accelerator-type=v2-8. For a v2 slice
with 128 TensorCores, use --accelerator-type=v2-128.
The following command shows how to create a v2 TPU slice with 128
TensorCores:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# TPU v2\n======\n\nThis document describes the architecture and supported configurations of\nCloud TPU v2.\n\nSystem architecture\n-------------------\n\nArchitectural details and performance characteristics of TPU v2 are available in\n[A Domain Specific Supercomputer for Training Deep Neural\nNetworks](https://dl.acm.org/doi/pdf/10.1145/3360307).\n\nConfigurations\n--------------\n\nA TPU v2 slice is composed of 512 chips interconnected with reconfigurable\nhigh-speed links. To create a TPU v2 slice, use the `--accelerator-type`\nflag in the TPU creation command (`gcloud compute tpus tpu-vm`). You specify the\naccelerator type by specifying the TPU version and the number of TPU cores. For\nexample, for a single v2 TPU, use `--accelerator-type=v2-8`. For a v2 slice\nwith 128 TensorCores, use `--accelerator-type=v2-128`.\n\nThe following command shows how to create a v2 TPU slice with 128\nTensorCores: \n\n```bash\n $ gcloud compute tpus tpu-vm create tpu-name \\\n --zone=us-central1-a \\\n --accelerator-type=v2-128 \\\n --version=tpu-ubuntu2204-base\n```\n\nFor more information about managing TPUs, see [Manage TPUs](/tpu/docs/managing-tpus-tpu-vm).\nFor more information about the TPU system architecture Cloud TPU, see\n[System architecture](/tpu/docs/system-architecture).\n\nThe following table lists the supported v2 TPU types:"]]