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

trunk/5e4da85059444fcc889ff73c92871652d58e96a7: [dynamo] clarify verbose hint for backend failures (#185419)

图:PyTorch Releases

发生了什么

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…

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

为什么在扩散

来源