Migrate `.to(torch_xla.device())` to `.to('xla')` #9324
yaoshiang
approved these changes
on 2025-06-10
ghpvnist
force pushed
from
691413db
to
271d8309
151 days ago
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
ghpvnist
changed the title Migrate `.to(torch_xla.device())` to `.to("xla")` Migrate `.to(torch_xla.device())` to `.to('xla')` 151 days ago
Migrate `.to(torch_xla.device())` to `.to(torch.device('xla'))`
821560a6
Replace `torch.device('xla')` with `"xla"`
eec95aff
Replace `.to(xla.device())` to `.to("xla")`
e89ffd3d
Use single quotes
57e5eea8
ghpvnist
force pushed
from
9fb39d90
to
57e5eea8
151 days ago
ghpvnist
marked this pull request as ready for review 151 days ago
tengyifei
approved these changes
on 2025-06-10
ghpvnist
merged
78cff036
into master 151 days ago
ghpvnist
deleted the xla branch 151 days ago
Login to write a write a comment.
Login via GitHub