Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix regression which creates a new fake tensor (#111864)
Summary: Fixes regression identified here: https://github.com/pytorch/pytorch/pull/111565/files/ccd6b373b5fba81b6141a6b93b2ffb6595dd49ae#r1369334484 Now that `get_fake_value` will identify aliases, we should not try to wrap the fake value again. X-link: pytorch/pytorch#111864 Approved by: https://github.com/eellison Reviewed By: izaitsevfb Differential Revision: D50627345 fbshipit-source-id: a02ae99d1cf523db38f25675a8baa7a853792850
- Loading branch information