Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NVIDIA Tesla P4 not available in us-west1-b for Google Cloud #484

Open
diliptmonson opened this issue Mar 22, 2020 · 0 comments
Open

NVIDIA Tesla P4 not available in us-west1-b for Google Cloud #484

diliptmonson opened this issue Mar 22, 2020 · 0 comments

Comments

@diliptmonson
Copy link

In the fast ai setup guide for GCP, https://course.fast.ai/start_gcp.html

it was recommended to use us-west1-b. However Nvidia Tesla P4 is not available in this instance and is available in us-central1-a.

Further, in instance creation code, Nvidia tesla p100 was provided in config which has a much higher budget ($0.43 per hour vs $0.26 per hour).

Hence request to change the instance creation configuration in Step 3 ( https://course.fast.ai/start_gcp.html#step-3-create-an-instance ) to the following:

export IMAGE_FAMILY="pytorch-latest-gpu" # or "pytorch-latest-cpu" for non-GPU instances
export ZONE="us-central1-a"
export INSTANCE_NAME="my-fastai-instance"
export INSTANCE_TYPE="n1-highmem-8" # budget: "n1-highmem-4"

# budget: 'type=nvidia-tesla-k80,count=1'
gcloud compute instances create $INSTANCE_NAME
--zone=$ZONE
--image-family=$IMAGE_FAMILY
--image-project=deeplearning-platform-release
--maintenance-policy=TERMINATE
--accelerator="type=nvidia-tesla-p4,count=1"
--machine-type=$INSTANCE_TYPE
--boot-disk-size=200GB
--metadata="install-nvidia-driver=True"
--preemptible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant