pytorch
e1859c07 - delete special fake tensor new handling (#86144)

Commit
2 years ago
delete special fake tensor new handling (#86144) Delete the special-cased handling of `new` in FakeTensor. Ever since the dispatch keys were updated to reflect the FakeTensor's device, the special cased handling was not needed. Fixes https://github.com/pytorch/torchdynamo/issues/1448 Pull Request resolved: https://github.com/pytorch/pytorch/pull/86144 Approved by: https://github.com/ezyang
Author
Committer
Parents
Loading