viable/strict/1788542608: [dynamo] Migrate NNModuleVariable methods to tp_methods (#195193)
- PyTorch 近 90 天出现 526 次
- PyTorch 近 90 天第 520 次发版
- 上一次:同一天稍早 · viable/strict/1788535633: [inductor] Eagerly load codegen heuristic modules (#194822) (#194822)
发生了什么
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…
摘要按规则整理自下方来源原文