Forked from b0noI/pytorch-instance-for-colab-backend.sh
Last active
August 21, 2019 16:56
-
-
Save TimWhiting/046bd59106d1bfff6b67769be9eeb47c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export IMAGE_FAMILY="pytorch-latest-gpu" | |
export ZONE="us-west1-b" | |
export INSTANCE_NAME="pytorch-colab-backend" | |
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' \ | |
--preemptible | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment