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

viable/strict/1791498592: [dynamo] Report element types for list/tuple schema mismatches (#199351)

发生了什么

Summary When a custom op's schema declares int[] but receives a Python list containing symbolic integers (e.g. via .tolist() under capture_scalar_outputs ), the resulting schema-mismatch error reports only the outer container type: Expected a value of type 'List[int]' for argument 'sizes' but instead found type 'immutable_list'. This obscures the actual problem — the elements are SymInt , not int — and gives no indi…

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

为什么在扩散

来源