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

trunk/1262373559702d74037ce47d88078611f7b050f5: [dynamo] Support constant non-string assert messages (#197798)

发生了什么

Update: Following review, I removed the AssertionError special handling entirely. AssertionError now uses Dynamo's generic exception path, and the existing tensor-message test verifies that no graph break occurs. The original description below reflects the initial implementation. Dynamo only allowed constant string arguments when constructing an AssertionError . Python permits any object as an assertion message, so…

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

为什么在扩散

来源