← Back to events
ActiveAIRelease

trunk/5eb6d3d36b2dd13cdd7b94a6b8a30ea3f315f036: [dynamo] Add ByteArrayVariable for bytearray support in Dynamo (#192205)

Photo: PyTorch Releases

What happened

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…

Summary assembled by rule from the sources below

Why it's spreading

Sources