pytorch / xla

Enabling PyTorch on XLA Devices (e.g. Google TPU)
https://pytorch.org/xla
Other
2.5k stars 482 forks source link

Unify shallow_copy_and_detach #8329

Closed cyyever closed 15 hours ago

cyyever commented 1 month ago

Unify shallow_copy_and_detach overloads by passing c10::VariableVersion