← Back to events
ActiveTechRelease

ciflow/trunk/196175: [dynamo] Type runtime predicate inputs as object

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

Why it's spreading

Sources