viable/strict/1790671102: [dynamo] Add ByteArrayVariable for bytearray support in Dynamo (#192205)
- PyTorch: 1636 events in the last 90 days
- PyTorch: 1617th Release in the last 90 days
- Previous: earlier the same day · viable/strict/1790668604
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