viable/strict/1789482542: [dynamo] Specialize symbolic list.pop() indices (#196590)
- PyTorch 近 90 天出现 980 次
- PyTorch 近 90 天第 969 次发版
- 上一次:同一天稍早 · viable/strict/1789478935
发生了什么
Fixes #196285 BaseListVariable.list_pop called as_python_constant() on its index argument, so a shape-derived index under dynamic=True raised AsPythonConstantNotImplementedError and escaped the tracer as InternalTorchDynamoError . The index cannot stay symbolic, since which element leaves the list determines the structure of the traced graph. It now goes through the conversion Argument Clinic generates for index: Py…
摘要按规则整理自下方来源原文