Anchoring at the start breaks the helper under dynamo_wrapped mode (PYTORCH_TEST_WITH_DYNAMO=1): when an ATen deterministic check fires during fake tensor tracing, dynamo wraps the original RuntimeError in a TorchRuntimeError so the message is no longer at position 0.
Authored by Claude.
Pull Request resolved: #184475
Approved by: https://github.com/ezyang
Intelligence View
ciflow/trunk/184055: Drop ^ anchor from check_nondeterministic_alert regex (#184475)
Anchoring at the start breaks the helper under dynamo_wrapped mode (PYTORCH_TEST_WITH_DYNAMO=1): when an ATen deterministic check fires during fake tensor tracing, dynamo wraps the original RuntimeError in a TorchRuntimeError so the…
SOCIAL SHARE CARD GENERATOR