viable/strict/1788542608: [dynamo] Migrate NNModuleVariable methods to tp_methods (#195193)
- PyTorch: 525 events in the last 90 days
- PyTorch: 519th Release in the last 90 days
- Previous: earlier the same day · viable/strict/1788535633: [inductor] Eagerly load codegen heuristic modules (#194822) (#194822)
What happened
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…
Summary assembled by rule from the sources below