mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Tue Mar 1 21:43:54 UTC 2022
This commit is contained in:
parent
c1c3b75313
commit
21878eea72
1018 changed files with 4838 additions and 3409 deletions
|
|
@ -17,28 +17,31 @@ EXAMPLES
|
|||
To create both TPU and VM, run:
|
||||
|
||||
$ gcloud compute tpus execution-groups create \
|
||||
--name=test-execution-group --zone=test-zone
|
||||
--project=test-project --accelerator-type=v2-8 --tf-version=2.4.1
|
||||
--name=test-execution-group --zone=test-zone \
|
||||
--project=test-project --accelerator-type=v2-8 \
|
||||
--tf-version=2.4.1
|
||||
|
||||
To create both TPU and VM with additional flags, run:
|
||||
|
||||
$ gcloud compute tpus execution-groups create \
|
||||
--name=test-execution-group --zone=test-zone \
|
||||
--project=test-project --accelerator-type=v2-8 --tf-version=2.4.1 \
|
||||
--network=default --preemptible-vm --disk-size=100 \
|
||||
--machine-type=n1-standard-2 --use-dl-images
|
||||
--project=test-project --accelerator-type=v2-8 \
|
||||
--tf-version=2.4.1 --network=default --preemptible-vm \
|
||||
--disk-size=100 --machine-type=n1-standard-2 --use-dl-images
|
||||
|
||||
To create a VM only before creating the TPU, run:
|
||||
|
||||
$ gcloud compute tpus execution-groups create \
|
||||
--name=test-execution-group-tpu-only --zone=test-zone \
|
||||
--project=test-project --accelerator-type=v2-8 --tf-version=2.4.1 --tpu-only
|
||||
--project=test-project --accelerator-type=v2-8 \
|
||||
--tf-version=2.4.1 --tpu-only
|
||||
|
||||
To create the TPU only after the VM has been created, run:
|
||||
|
||||
$ gcloud compute tpus execution-groups create \
|
||||
--name=test-execution-group-tpu-only --zone=test-zone \
|
||||
--project=test-project --accelerator-type=v2-8 --tf-version=2.4.1 --vm-only
|
||||
--project=test-project --accelerator-type=v2-8 \
|
||||
--tf-version=2.4.1 --vm-only
|
||||
|
||||
FLAGS
|
||||
--accelerator-type=ACCELERATOR_TYPE; default="v2-8"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue