Skip to content

Multiple GPU example limited to one GPU #2563

Closed
@9cpluss

Description

@9cpluss

device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")

Isn't this line limiting the example to one GPU no matter how many GPUs are available?

cc @sekyondaMeta @svekars @carljparker @NicolasHug @kit1980 @subramen

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions