The VM and slice quickstarts provide a brief introduction to working with
Cloud TPU VMs using JAX and PyTorch. These topics explain how to install a
machine learning (ML) framework and run a sample application on a Cloud TPU
VM.
[[["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"]],[],[],[],null,["# Get started\n\nBefore starting one of the Cloud TPU VM quickstarts, see [Introduction to\nCloud TPU](/tpu/docs/intro-to-tpu) which gives an overview of working with\nCloud TPUs.\n\nFollow the instructions in [Set up the Cloud TPU\nenvironment](/tpu/docs/setup-gcp-account) to prepare to create a Cloud TPU.\n\nThe VM and slice quickstarts provide a brief introduction to working with\nCloud TPU VMs using JAX and PyTorch. These topics explain how to install a\nmachine learning (ML) framework and run a sample application on a Cloud TPU\nVM. \n\nSet up your environment\n-----------------------\n\n- [### Set up the Cloud TPU environment\n Configure your Google Cloud account and project for using Cloud TPUs,\n by activating the Cloud TPU API, setting up permissions, and\ninstalling tools.](/tpu/docs/setup-gcp-account) \n\nReserve TPUs\n------------\n\n- [### About Cloud TPU reservations\n Learn how to reserve Cloud TPU capacity for your workloads.](/tpu/docs/about-tpu-reservations)\n- [### Request a short-term reservation\n Reserve Cloud TPU capacity for a specific start time and duration, up to 90 days, by requesting a future reservation in calendar mode.](/tpu/docs/calendar-mode-reservation)\n- [### Request a long-term reservation\n Purchase long-term Cloud TPU reservations with committed use discounts for predictable capacity and cost savings.](/tpu/docs/long-term-reservation)\n- [### Consume a reservation\nUse your reserved Cloud TPU resources by creating TPUs that consume your reservation.](/tpu/docs/consume-reservation) \n\nCloud TPU VM quickstarts\n------------------------\n\n- [### Run JAX on Cloud TPU VMs\n Run a simple calculation on Cloud TPU VM with JAX.](/tpu/docs/run-calculation-jax)\n- [### Run PyTorch on Cloud TPU VMs\nRun a simple calculation on Cloud TPU VM with PyTorch.](/tpu/docs/run-calculation-pytorch) \n\nCloud TPU Pod quickstarts\n-------------------------\n\n- [### Train on Cloud TPU Pods\n Learn about best practices and common issues for Cloud TPU Pods.](/tpu/docs/training-on-tpu-pods)\n- [### Run JAX on Cloud TPU slices\n Run a simple calculation on Cloud TPU slice with JAX.](/tpu/docs/jax-pods)\n- [### Run PyTorch on Cloud TPU slices\n Run a simple calculation on Cloud TPU slice with PyTorch.](/tpu/docs/pytorch-pods)"]]