Last active
March 1, 2019 17:27
-
-
Save b0noI/6cd9ff473f3746784f4e833b3473df1d 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="tf-latest-gpu" # or put any required | |
| export ZONE="us-west1-b" | |
| export INSTANCE_NAME="my-instance" | |
| export INSTANCE_TYPE="n1-standard-8" | |
| 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=8' \ | |
| --machine-type=$INSTANCE_TYPE \ | |
| --boot-disk-size=120GB \ | |
| --scopes=https://www.googleapis.com/auth/cloud-platform \ | |
| --metadata='install-nvidia-driver=True,proxy-mode=project_editors' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment