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

viable/strict/1790671102: [dynamo] Add ByteArrayVariable for bytearray support in Dynamo (#192205)

图:PyTorch Releases

发生了什么

bytearray has no VariableTracker model in Dynamo and any attempt to use it results in a graph break. This is the first PR in a series to close this gap (see #192126 ). This PR adds ByteArrayVariable (inheriting BaseListVariable) with read-only operations and construction support. Read the changes starting from ByteArrayVariable in lists.py, then ByteArrayBuiltinVariable in builtin.py for construction, then the wirin…

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

为什么在扩散

来源