提交记录/
Reapply "Make functionalization `ViewMeta` serializable with pickle. (#143712)" (#163769)
### Summary: NOTE: This is a re-export of https://github.com/pytorch/pytorch/pull/161994 ; the changes between these two PRs is exclusively to the buck/build files (Summary from #161994 ) Attempted rebase of https://github.com/pytorch/pytorch/pull/143712. This reverts commit 6c713ccb5e0df227dd5b630057cbccd373cbe7d6. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela imported-using-ghimport Test Plan: Imported from OSS Differential Revision: D81524507 Pulled By: Lucaskabela Pull Request resolved: https://github.com/pytorch/pytorch/pull/163769 Approved by: https://github.com/dolpm Co-authored-by: Brian Hirsh <hirsheybar@fb.com>
共 38 个文件变更+981-425
M.gitignore+1-0
MBUILD.bazel+3-0
Maten/src/ATen/FunctionalStorageImpl.cpp+5-11
Maten/src/ATen/FunctionalStorageImpl.h+76-24
Maten/src/ATen/FunctionalTensorWrapper.cpp+48-36
Maten/src/ATen/FunctionalTensorWrapper.h+16-11
Maten/src/ATen/FunctionalizeFallbackKernel.cpp+37-26
Aaten/src/ATen/FunctionalizeFallbackKernel.h+58-0
Maten/src/ATen/templates/FunctionalInverses.h+1-11
Maten/src/ATen/templates/RegisterFunctionalization.cpp+1-1
Aaten/src/ATen/templates/ViewMetaClasses.cpp+19-0
Aaten/src/ATen/templates/ViewMetaClasses.h+12-0
Aaten/src/ATen/templates/ViewMetaClassesPythonBinding.cpp+11-0
Mbuckbuild.bzl+3-0
Mbuild.bzl+6-0
Mbuild_variables.bzl+2-0
Mcaffe2/CMakeLists.txt+4-0
Mpt_template_srcs.bzl+1-0
Mtest/dynamo/test_aot_autograd_cache.py+19-8
Mtest/functorch/test_aotdispatch.py+0-1
文件内容审核中,请稍后刷新重试

评论