Migrate `.to(torch_xla.device())` to `.to('xla')` #9324
yaoshiang
approved these changes
on 2025-06-10
ghpvnist
force pushed
from
691413db
to
271d8309
1 year ago
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
ghpvnist
changed the title Migrate `.to(torch_xla.device())` to `.to("xla")` Migrate `.to(torch_xla.device())` to `.to('xla')` 1 year 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
1 year ago
ghpvnist
marked this pull request as ready for review 1 year ago
tengyifei
approved these changes
on 2025-06-10
ghpvnist
merged
78cff036
into master 1 year ago
ghpvnist
deleted the xla branch 1 year ago
Login to write a write a comment.
Login via GitHub