Skip to content

torch.device parsing does not do enough checks #32079

@ssnl

Description

@ssnl
In [2]: import torch

In [3]: torch.device("cuda:2 cuda:3")
Out[3]: device(type='cuda', index=2)

In [4]: torch.__version__
Out[4]: '1.4.0.dev20191205'

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNot as big of a feature, but technically not a bug. Should be easy to fixtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions