xla
xla copied to clipboard
Add dynamo `torch.Tensor.new` test.
This PR adds a test for #6009. The actual fix is implemented in the PyTorch main repository: https://github.com/pytorch/pytorch/pull/121075
@miladm @JackCaoG
This PR should only be merged after:
- [x] https://github.com/pytorch/pytorch/pull/121075
- [ ] ~https://github.com/pytorch/xla/pull/6659~
I'm moving this one forward, since #6659 will take some time to get merged.
@JackCaoG Could you take a look at it whenever you have some time?
change lgtm but somehow CI doesn't get trigger. Can you do another push to the branch to see if it will trigger the CI? Otherwise start a new pr might be better.
@JackCaoG Is this ok to land? All the CI test are passing, now.