mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Summary:
We add a function that allows users to free the unused buffer.
Test Plan:
Testing correctness:
python test/inductor/test_aot_inductor.py -k free_inactive
Testing memory consumption:
LD_LIBRARY_PATH=/data/users/$USER/pytorch/build/lib
/home/$USER/local/pytorch/build/bin/test_aoti_inference
Reviewers:
Subscribers:
Tasks:
Tags:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/149161
Approved by: https://github.com/chenyang78, https://github.com/desertfire
ghstack dependencies: #149249
|
||
|---|---|---|
| .. | ||
| aoti_custom_class.cpp | ||
| aoti_custom_class.h | ||
| CMakeLists.txt | ||
| compile_model.py | ||
| generate_lowered_cpu.py | ||
| standalone_compile.sh | ||
| standalone_test.cpp | ||
| test.cpp | ||
| test.py | ||