Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AOTI] Remove the original model weights in Python deployment (#1337)
* [AOTI] Remove the original model weights in Python deployment Summary: Fixes #1302. Because AOTI-compiled model contains a copy of model weights, we need to release the corresponding eager model weights in the Python deployment path. * Revert "[AOTI] Remove the original model weights in Python deployment" This reverts commit 962ec0d. * Refactor the code * Add setup_cache for aoti_package_path --------- Co-authored-by: Jack-Khuu <[email protected]>
- Loading branch information