Skip to content

Instantly share code, notes, and snippets.

@b0noI
Last active December 6, 2018 19:07
Show Gist options
  • Select an option

  • Save b0noI/b6869cbc9e38d8ec5ea3de46f28119a8 to your computer and use it in GitHub Desktop.

Select an option

Save b0noI/b6869cbc9e38d8ec5ea3de46f28119a8 to your computer and use it in GitHub Desktop.
export IMAGE_FAMILY="tf-latest-gpu"
export ZONE="us-west1-b"
export INSTANCE_NAME="model-prep"
gcloud compute instances create $INSTANCE_NAME \
--zone=$ZONE \
--image-family=$IMAGE_FAMILY \
--machine-type=n1-standard-8 \
--image-project=deeplearning-platform-release \
--maintenance-policy=TERMINATE \
--accelerator="type=nvidia-tesla-v100,count=1" \
--metadata="install-nvidia-driver=True"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment