viable/strict/1789410678: [dynamo] Migrate SymNodeVariable methods to tp_methods (#195189)
- PyTorch: 935 events in the last 90 days
- PyTorch: 924th Release in the last 90 days
- Previous: earlier the same day · viable/strict/1789406619
What happened
Summary Migrate SymNodeVariable named methods onto declarative tp_methods , as in #195165 . as_integer_ratio / bit_length / conjugate / has_hint / hex / is_integer are now Method handlers (shared FX-proxy). __int__ uses the existing nb_int_impl path (named int_ so it does not shadow Python's __int__ ). Arithmetic dunders stay on number slots. call_method keeps a generic FX-proxy fallback so unlisted names still disp…
Summary assembled by rule from the sources below