← 返回事件
持续讨论科技发版

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

发生了什么

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…

摘要按规则整理自下方来源原文

为什么在扩散

来源