pytorch/test/cpp
Bin Bao 687c15c0b3 [AOTI][BE] Change test_aoti_inference to one-pass build (#164277)
Summary: To fix https://github.com/pytorch/pytorch/issues/159400. Currently, test_aoti_abi_check and test_aoti_inference need to be built in two passes, first build pytorch using the regular `pythonsetup.py develop` and then build with `CMAKE_FRESH=1 BUILD_AOT_INDUCTOR_TEST=1 python setup.py devleop`. This is cumbersome. Fix by rewriting CMakeLists.txt for test_aoti_inference to one-pass build which runs AOTI to compile models at the test time. Also update CI test script to get rid of two-pass build. For test_aoti_abi_check, it is not AOTI specific, so we make it not guarded by BUILD_AOT_INDUCTOR_TEST.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/164277
Approved by: https://github.com/janeyx99
2025-10-28 17:43:22 +00:00
..
aoti_abi_check [AOTI][BE] Change test_aoti_inference to one-pass build (#164277) 2025-10-28 17:43:22 +00:00
aoti_inference [AOTI][BE] Change test_aoti_inference to one-pass build (#164277) 2025-10-28 17:43:22 +00:00
api Revert "C++ API handle optimizer defaults (#161825)" 2025-10-10 17:56:11 +00:00
c10d [fr] [xpu] Add FlightRecorder support for ProcessGroupXCCL (#158568) 2025-08-22 09:03:35 +00:00
common
dist_autograd Revert "[RELAND] Always build USE_DISTRIBUTED (#160449) and Make distributed modules importable even when backend not built (#159889) (#162594)" 2025-09-25 13:47:46 +00:00
jit [TorchScript] ProfilingExecutor - RemoveProfileNodesAndSpecializeTypes None handling (#161538) 2025-08-27 23:12:15 +00:00
lazy Revert "[BC-Breaking] Remove long-deprecated casting functions from native_functions.yaml (#164641)" 2025-10-09 15:42:51 +00:00
lite_interpreter_runtime [BE][3/6] fix typos in test/ (#157637) 2025-07-17 12:08:33 +00:00
monitor
nativert kjt pytree registration (#161114) 2025-09-13 03:57:43 +00:00
profiler [Lint] Update clang-format to 19.1.4 (#153889) 2025-05-20 14:12:46 +00:00
rpc Fix some CMake issues (#153686) 2025-05-19 00:31:34 +00:00
__init__.py