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 151 days ago
yaoshiang
yaoshiang approved these changes on 2025-06-10
ghpvnist
ghpvnist ghpvnist force pushed from 691413db to 271d8309 151 days ago
ghpvnist ghpvnist changed the title Migrate `.to(torch_xla.device())` to `.to(torch.device('xla'))` Migrate `.to(torch_xla.device())` to `.to("xla")` 151 days ago
yaoshiang
ghpvnist ghpvnist changed the title Migrate `.to(torch_xla.device())` to `.to("xla")` Migrate `.to(torch_xla.device())` to `.to('xla')` 151 days 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 151 days ago
ghpvnist ghpvnist marked this pull request as ready for review 151 days ago
ghpvnist ghpvnist requested a review from mikegre-google mikegre-google 151 days ago
ghpvnist ghpvnist requested a review from tengyifei tengyifei 151 days ago
tengyifei
tengyifei approved these changes on 2025-06-10
ghpvnist ghpvnist merged 78cff036 into master 151 days ago
ghpvnist ghpvnist deleted the xla branch 151 days ago

Login to write a write a comment.

Login via GitHub

Assignees
Labels
Milestone