trunk/44e77b112c9c76adc06256a90870a5f607575a1c: [dynamo] Type runtime predicate inputs as object (#196175)
- PyTorch 近 90 天出现 602 次
- PyTorch 近 90 天第 596 次发版
- 上一次:同一天稍早 · trunk/517c8a69d9748c0055775b8fb5a7e4d3c733fa10
发生了什么
Summary replace Any with object for private Dynamo runtime predicates and identity-only helpers cover the scoped utility, SDPA, list, logging, and pytree sites correct the SDPA class-identity predicate to narrow to type[SDPAParams] leave wrapper unwrapping and callable invocation helpers unchanged Test plan python -m py_compile torch/_dynamo/utils.py torch/_dynamo/variables/sdpa.py torch/_dynamo/variables/lists.py t…
摘要按规则整理自下方来源原文