trunk/5e4da85059444fcc889ff73c92871652d58e96a7: [dynamo] clarify verbose hint for backend failures (#185419)
- PyTorch: 73 events in the last 90 days
- PyTorch: 73th Release in the last 90 days
- Previous: earlier the same day · ciflow/trunk/194843: Drop the dead force_schema_registration flag from generate_code.py
What happened
BackendCompilerFailed preserves the backend/compiler-call traceback while ShortenTraceback removes the surrounding Dynamo tracing frames unless TORCHDYNAMO_VERBOSE=1 is enabled. The generic hint called the hidden portion "the internal stack trace", which made it look redundant when the visible backend stack already contained internal compiler frames. Keep the hint for ShortenTraceback exceptions even when TracingCon…
Summary assembled by rule from the sources below