xla
Migrate `.to(torch_xla.device())` to `.to('xla')`
#9324
Merged

Migrate `.to(torch_xla.device())` to `.to('xla')` #9324

ghpvnist merged 4 commits into pytorch:master from ghpvnist:xla
ghpvnist
ghpvnist ghpvnist assigned ghpvnist ghpvnist 1 year ago
yaoshiang
yaoshiang approved these changes on 2025-06-10
ghpvnist
ghpvnist ghpvnist force pushed from 691413db to 271d8309 1 year ago
ghpvnist ghpvnist changed the title Migrate `.to(torch_xla.device())` to `.to(torch.device('xla'))` Migrate `.to(torch_xla.device())` to `.to("xla")` 1 year ago
yaoshiang
ghpvnist ghpvnist changed the title Migrate `.to(torch_xla.device())` to `.to("xla")` Migrate `.to(torch_xla.device())` to `.to('xla')` 1 year ago
ghpvnist Migrate `.to(torch_xla.device())` to `.to(torch.device('xla'))`
821560a6
ghpvnist Replace `torch.device('xla')` with `"xla"`
eec95aff
ghpvnist Replace `.to(xla.device())` to `.to("xla")`
e89ffd3d
ghpvnist Use single quotes
57e5eea8
ghpvnist ghpvnist force pushed from 9fb39d90 to 57e5eea8 1 year ago
ghpvnist ghpvnist marked this pull request as ready for review 1 year ago
ghpvnist ghpvnist requested a review from mikegre-google mikegre-google 1 year ago
ghpvnist ghpvnist requested a review from tengyifei tengyifei 1 year ago
tengyifei
tengyifei approved these changes on 2025-06-10
ghpvnist ghpvnist merged 78cff036 into master 1 year ago
ghpvnist ghpvnist deleted the xla branch 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
Labels
Milestone