← 返回事件
持续讨论AI发版

trunk/9dbcae4ec10244fe4eb8c0f1b16b6c558d0abb3e: [dynamo] Type source keys and region hashes as object (#196370)

发生了什么

Summary replace Any with object for opaque source keys and graph-region hash inputs retain int for the positional ConstDictKeySource.index , and narrow opaque indices at consumers before use validate encoded slice data before unpacking and make region sorting generic These changes expose unchecked assumptions that Any previously hid without changing the accepted runtime values. Test plan pyrefly check torch/_dynamo/…

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

为什么在扩散

来源