pytorch/test/lazy
Anthony Barbier cf9cad31df Add __main__ guards to tests (#154716)
This PR is part of a series attempting to re-submit https://github.com/pytorch/pytorch/pull/134592 as smaller PRs.

Add missing `if __name__ == "__main__":` guards to some tests.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/154716
Approved by: https://github.com/Skylion007
2025-06-04 14:38:13 +00:00
..
__init__.py
test_bindings.py Add __main__ guards to tests (#154716) 2025-06-04 14:38:13 +00:00
test_debug_util.py
test_extract_compiled_graph.py Add __main__ guards to tests (#154716) 2025-06-04 14:38:13 +00:00
test_functionalization.py
test_generator.py
test_meta_kernel.py Add __main__ guards to tests (#154716) 2025-06-04 14:38:13 +00:00
test_reuse_ir.py
test_step_closures.py
test_ts_opinfo.py