ciflow/inductor/194556: [dynamo] Preserve bound method type for C descriptors
- Preserve: 2 events in the last 90 days
- Preserve: 2th Release in the last 90 days
What happened
Method descriptors produce a different bound object type after runtime attribute access. Recording the unbound descriptor type on GetAttrVariable can therefore make Dynamo fold type and isinstance checks incorrectly. Leave the type unknown for method descriptors so runtime getattr preserves both binding and type semantics. Strengthen the regression test to cover set_loc, get_loc, and the descriptor-to-bound-method t…
Summary assembled by rule from the sources below
Why it's spreading
Timeline
- First appeared on PyTorch ReleasesPyTorch Releases