Skip to content

Instantly share code, notes, and snippets.

@b0noI
Last active January 28, 2019 22:36
Show Gist options
  • Save b0noI/0845acac33d13ae0b4b0623a2b61ee72 to your computer and use it in GitHub Desktop.
Save b0noI/0845acac33d13ae0b4b0623a2b61ee72 to your computer and use it in GitHub Desktop.
export IMAGE_FAMILY="pytorch-latest-cpu"
export ZONE="us-west1-b"
export INSTANCE_NAME="pytorch-and-fastai-test"
gcloud compute instances create $INSTANCE_NAME \
--zone=$ZONE \
--image-family=$IMAGE_FAMILY \
--machine-type=n1-standard-8 \
--image-project=deeplearning-platform-release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment