Skip to content

Support for multiple Nvidia GPU selection in terraformΒ #754

@huyhuyvu01

Description

@huyhuyvu01

Community Note

  • Please vote on this issue by adding a πŸ‘ reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Add the ability to support multiple GPU selection in environment when there is multiple GPUs available.
Eg: In my cluster of 8 GPU, i can choose between gpu by using it's index as 2,4,6

New or Affected Resource(s)

  • docker_container

Potential Terraform Configuration

resource "docker_container" "base" {
  name    = "foo"
  image   = docker_image.base.latest
  gpus = "1,2,4"
  ....
}

References

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions