mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Summary: Previously we were touching up unbacked bindings between Dynamo and AOTAutograd in strict export, but the logic had a bug: if an unbacked symint gets substituted by a backed symint, we would put the backed symint in the unbacked bindings (the check `is_symbol` was not enough here). This PR fixes this logic, and moreover, moves it into the serializer instead, because we don't need this adjustment outside serde. Test Plan: added test D68880766 Pull Request resolved: https://github.com/pytorch/pytorch/pull/146115 Approved by: https://github.com/pianpwk |
||
|---|---|---|
| .. | ||
| gen-cpp2 | ||
| __init__.py | ||
| aoti_schema.py | ||
| dynamic_shapes.py | ||
| export_schema.thrift | ||
| schema.py | ||
| schema.yaml | ||
| schema_check.py | ||
| serialize.py | ||
| union.py | ||