gcloud beta compute tpus execution-groups resume - creates Google Compute TPU and resumes the VM
gcloud beta compute tpus execution-groups resume EXECUTION_GROUP_NAME [--accelerator-type=ACCELERATOR_TYPE; default="v2-8"] [--network=NETWORK; default="default"] [--preemptible] [--tf-version=TF_VERSION] [--vm-only] [--zone=ZONE] [GCLOUD_WIDE_FLAG ...]
To resume a suspended TPU VM combination, run:
$ gcloud beta compute tpus execution-groups resume \ test-execution-group --zone=test-zone --project=test-project \ --accelerator-type=v2-8 --tf-version=2.4.1
- EXECUTION_GROUP_NAME
The execution group name to delete.
- --accelerator-type=ACCELERATOR_TYPE; default="v2-8"
TPU accelerator type for the TPU. If not specified, this defaults to v2-8.
- --network=NETWORK; default="default"
Set to the network that was originally used creating the suspended Cloud TPU and Compute Engine VM. (It defaults to using the 'default' network.)
- --preemptible
Create a preemptible Cloud TPU, instead of a normal (non-preemptible) Cloud TPU. A preemptible Cloud TPU costs less per hour, but the Cloud TPU service can stop/terminate the node at any time.
- --tf-version=TF_VERSION
Set the version of TensorFlow to the version originally set when creating the suspended Cloud TPU and Compute Engine VM . (It defaults to auto-selecting the latest stable release.)
- --vm-only
Do not allocate a TPU, only allocate a VM (useful if you're not ready to run on a TPU yet).
- --zone=ZONE
Zone of the tpu to resume. If not specified and the compute/zone property isn't set, you might be prompted to select a zone (interactive mode only).
To avoid prompting when this flag is omitted, you can set the compute/zone property:
$ gcloud config set compute/zone ZONE
A list of zones can be fetched by running:
$ gcloud compute zones list
To unset the property, run:
$ gcloud config unset compute/zone
Alternatively, the zone can be stored in the environment variable CLOUDSDK_COMPUTE_ZONE.
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
This command is currently in beta and might change without notice. This variant is also available:
$ gcloud alpha compute tpus execution-groups resume