← Back to events
ActiveAIRelease3.13

viable/strict/1789098676: [dynamo] Port CPython 3.13 test_unary to Dynamo test suite (#196240)

Photo: PyTorch Releases

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

Why it's spreading

Sources