Skip to content

Instantly share code, notes, and snippets.

@b0noI
Created August 30, 2018 21:12
Show Gist options
  • Save b0noI/294c1ea9a1cf96e1d8966930445fd639 to your computer and use it in GitHub Desktop.
Save b0noI/294c1ea9a1cf96e1d8966930445fd639 to your computer and use it in GitHub Desktop.
export IMAGE_FAMILY="chainer-latest-cu92-experimental"
export ZONE="us-west1-b"
export INSTANCE_NAME="chainer-test"
gcloud compute instances create $INSTANCE_NAME \
--zone=$ZONE \
--image-family=$IMAGE_FAMILY \
--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