Skip to content

Migrate torch_xla.device() to torch.device('xla') #9252

Open
@ghpvnist

Description

@ghpvnist

The PyTorch world is more familiar with the latter and the two are basically equivalent. Instead of reinventing, let's reuse what everyone else is familiar with.

Metadata

Metadata

Assignees

Labels

usabilityBugs/features related to improving the usability of PyTorch/XLA

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions