Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1003 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 1003 Bytes

GCP specific instructions

Requirements

  • A Google Cloud Account
  • A GCP Project needed for project_id Terraform variable
  • Install gcloud CLI as documented at Install the Google Cloud CLI
  • Enough resouce quotas for GPU use globally and per region

With gcloud command installed and available in your $PATH, login in the CLI

gcloud auth login

Additional Setup Information for GPU Usage

In order to use a GPU number_gpus needs to be set at least to 1.

number_gpus = 1
gpu_type = "nvidia-tesla-a100"

The use of GPUs is directly bound which machine-type needs to be used. An overview of all available options can be found at GPU platforms.

Available Machine-Types (instance_type)

You can get all machine-types, which is needed for the instance_type Terraform variable for example with:

gcloud compute machine-types list -zones europe-west4-a