viable/strict/1789098676: [dynamo] Port CPython 3.13 test_unary to Dynamo test suite (#196240)
- PyTorch: 779 events in the last 90 days
- PyTorch: 769th Release in the last 90 days
- Previous: earlier the same day · trunk/4e561321b85d0c6357b46a379db9d92be0ba441a: [MPS] Make event synchronization and timing reliable (#196395)
What happened
Part of #196238 Description This PR ports the CPython 3.13 test_unary.py module to run under torch.compile . Changes made: Copied pristine test_unary.py from CPython v3.13.5. Prepended the Dynamo patch header and updated the source URL. Rebound unittest.TestCase to torch._dynamo.test_case.CPythonTestCase . Added the run_tests() call at the bottom. Regenerated the .diff using tools/regenerate_cpython_diffs.py . Teste…
Summary assembled by rule from the sources below