trunk/5eb6d3d36b2dd13cdd7b94a6b8a30ea3f315f036: [dynamo] Add ByteArrayVariable for bytearray support in Dynamo (#192205)
- PyTorch: 1630 events in the last 90 days
- PyTorch: 1611th Release in the last 90 days
- Previous: earlier the same day · trunk/dd806b6d43def42db89610cad528cb382603e3da
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