Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fx] Do not add Proxy on Tensor (pytorch#133470)
Summary: Switch to set_proxy_slot instead of set the proxy directly on the Tensor. We do not want to add Proxy to tensor objects, because Proxy cannot be deepcopied or pickeled and can cause problems when users want to deepcopy or pickle models. Test Plan: CI Differential Revision: D61277650 Pull Request resolved: pytorch#133470 Approved by: https://github.com/zou3519
- Loading branch information