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

[GCP] Supports GPU in Compute instances #12

Closed
obierlaire opened this issue Jan 23, 2023 · 0 comments · Fixed by #19
Closed

[GCP] Supports GPU in Compute instances #12

obierlaire opened this issue Jan 23, 2023 · 0 comments · Fixed by #19
Labels
good first issue Good for newcomers

Comments

@obierlaire
Copy link
Collaborator

obierlaire commented Jan 23, 2023

Same approach as https://www.cloudcarbonfootprint.org/docs/methodology#graphic-processing-units-gpus

According to https://cloud.google.com/compute/docs/gpus/create-vm-with-gpus#create-new-gpu-vm , there are two ways to have a machine with GPU:

  • use a machine type which has already GPU by default (a2-highgpu-* or a2-ultragpu*)
  • use a standard machine type and attach GPU

So, we need to

  • Regenerate data/gcp_instances.json to include list of default GPUs for instance type (should be of nvidia a100 for a2 instances)
  • Add default GPU to resource when machine type has default GPU
  • Add GPUs to resource when attached gpu has been declared in terraform file
@obierlaire obierlaire changed the title [GCP] Supports GPU [GCP] Supports GPU in Compute instances Jan 23, 2023
@obierlaire obierlaire added the good first issue Good for newcomers label Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant