trunk/9ce9cbd1525ee2ecf420078c3784c529949642aa: [dynamo] Add handler for `classmethod()` and `staticmethod()` (#197781)
- PyTorch: 1769 events in the last 90 days
- PyTorch: 1747th Release in the last 90 days
- Previous: earlier the same day · ciflow/trunk/199415: [memory_viz] Move initial pool summaries with their envelopes
What happened
Summary Calling classmethod(...) or staticmethod(...) inside a torch.compile region graph-breaks: torch._dynamo.exc.Unsupported: Failed to trace builtin operator Explanation: Dynamo does not know how to trace builtin operator `classmethod` with argument types ['function'] (has_kwargs False) This is hit by CPython's own test_funcattrs.StaticMethodAttrsTest.test_func_attribute , so the change also removes that entry f…
Summary assembled by rule from the sources below