[BE] simplify test_cpp_extensions_aot and .gitignore (#149231)

It is shady to clean up an install mid-test. So don't do that anymore and use .gitignore instead.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/149231
Approved by: https://github.com/albanD, https://github.com/msaroufim
This commit is contained in:
Jane Xu
2025-03-17 13:06:02 -07:00
committed by PyTorch MergeBot
parent b99fc9d29f
commit 88a26dbb9d
2 changed files with 1 additions and 15 deletions

4
.gitignore vendored
View File

@ -62,9 +62,7 @@ test/forward_backward_compatibility/nightly_schemas.txt
dropout_model.pt
test/generated_type_hints_smoketest.py
test/htmlcov
test/cpp_extensions/install/
test/cpp_extensions/open_registration_extension/install
test/cpp_extensions/libtorch_agnostic_extension/install
test/cpp_extensions/**/install
test/kernel.errors.txt
third_party/build/
third_party/nccl/