← Back to events
ActiveAIRelease

viable/strict/1788457839: [dynamo] Migrate DispatchKeySetVariable methods to tp_methods (#195168)

Photo: PyTorch Releases

What happened

Summary Migrate DispatchKeySetVariable off a call_method if-chain onto declarative tp_methods , as in #195165 . has / highestPriorityTypeId are now Method handlers. has still constant-folds only when the arguments are constant; otherwise it returns None and falls through. Part of #195165 (does not close the umbrella). Test plan python test/dynamo/test_python_dispatcher.py PythonDispatcherTests (6 passed) python test…

Summary assembled by rule from the sources below

Why it's spreading

Sources