1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-09 10:56:49 +00:00
gcloud-help/gcloud/alpha/compute/tpus/execution-groups/resume
2022-03-01 21:43:54 +00:00

83 lines
3 KiB
Text

NAME
gcloud alpha compute tpus execution-groups resume - creates Google Compute
TPU and resumes the VM
SYNOPSIS
gcloud alpha 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 ...]
EXAMPLES
To resume a suspended TPU VM combination, run:
$ gcloud alpha compute tpus execution-groups resume \
test-execution-group --zone=test-zone --project=test-project \
--accelerator-type=v2-8 --tf-version=2.4.1
POSITIONAL ARGUMENTS
EXECUTION_GROUP_NAME
The execution group name to delete.
FLAGS
--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.
GCLOUD WIDE FLAGS
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.
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. This variant is also available:
$ gcloud beta compute tpus execution-groups resume