ciflow/trunk/196175: [dynamo] Type runtime predicate inputs as object
- PyTorch 近 90 天出现 584 次
- PyTorch 近 90 天第 578 次发版
- 上一次:同一天稍早 · trunk/07bd5cb6a00c0b220d2a144ae4c6d2b914abed35: [dynamo][inductor] Type diagnostic payloads as object (#196135)
发生了什么
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…
摘要按规则整理自下方来源原文