mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Instead of bumping symint counters when we process unbacked bindings during deserialization, it's better to bump them at the beginning based on what the symbols in the original shape env before serialization were. This allows symbols in unbacked bindings to have "gaps" that bumping alone would not be able to match. Why is bumping counters important at all? It is because when the shape env coming out of deserialization is used later for propagating symints, say in run_decompositions, we don't want new names to clash with existing names (bad things happen). Differential Revision: [D68798191](https://our.internmc.facebook.com/intern/diff/D68798191/) Pull Request resolved: https://github.com/pytorch/pytorch/pull/145882 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 | ||