← Back to events
ActiveAIRelease

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

What happened

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…

Summary assembled by rule from the sources below

Why it's spreading

Sources