ciflow/trunk/196175: [dynamo] Type runtime predicate inputs as object
- PyTorch: 584 events in the last 90 days
- PyTorch: 578th Release in the last 90 days
- Previous: earlier the same day · trunk/07bd5cb6a00c0b220d2a144ae4c6d2b914abed35: [dynamo][inductor] Type diagnostic payloads as object (#196135)
What happened
Replace Any with object for private Dynamo predicates and helpers that only perform identity or type checks, format values, or pass them to object-accepting APIs. This removes unnecessary dynamic typing without changing runtime behavior or the wrapper and callable helper signatures. Test Plan: python -m py_compile torch/_dynamo/utils.py torch/_dynamo/variables/sdpa.py torch/_dynamo/variables/lists.py torch/_dynamo/v…
Summary assembled by rule from the sources below