← 返回事件
持续讨论AI发版

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

图:PyTorch Releases

发生了什么

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…

摘要按规则整理自下方来源原文

为什么在扩散

来源