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

viable/strict/1788542608: [dynamo] Migrate NNModuleVariable methods to tp_methods (#195193)

图:PyTorch Releases

发生了什么

Summary Migrate the remaining NNModuleVariable named methods onto declarative tp_methods , as in #195165 . Keep call_method for the Dynamo-internal constant= path and the all-tensor FX-proxy heuristic so getattr and unlisted methods stay on the same path. __contains__ / in use the module's own __contains__ ( ParameterDict keys live in _keys , not _modules ). Part of #195165 (does not close the umbrella). Test plan p…

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

为什么在扩散

来源