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

trunk/e417f6dfacaf7f00dce343adc0d48d8fcc8fb2e2: [dynamo] Model sourceless DynamicClassAttribute (#199260)

图:PyTorch Releases

发生了什么

Summary Fix the remaining base types.DynamicClassAttribute failure from the CPython 3.13 port. DynamicClassAttribute is a pure-Python descriptor. When one is created inside a compiled class body and later read raw through C.__dict__["attr"] , Dynamo sends that ephemeral descriptor through SourcelessBuilder . The builder had no case for the exact DynamicClassAttribute type, so it graph-broke with "Unexpected type in…

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

为什么在扩散

来源