pytorch/torch/_export
Zhengxu Chen 45da80b970 reland D65167805 "[export] Update min_val and max_val to Optional[int] in serialization." (#139394)
Summary:
had a land racing with another diff D65166035 to fix the schema.

According to export team's discussion, we are upgrading min_val and max_val to optional fields which shouldn't break BC and allows the schema to express infinity.

Test Plan: buck2 test 'fbcode//mode/opt' fbcode//apf/rec/ir/tests:ir_export_deserialize_test

Differential Revision: D65273170

Pull Request resolved: https://github.com/pytorch/pytorch/pull/139394
Approved by: https://github.com/yiming0416
2024-10-31 22:28:32 +00:00
..
db
pass_infra
passes
serde reland D65167805 "[export] Update min_val and max_val to Optional[int] in serialization." (#139394) 2024-10-31 22:28:32 +00:00
__init__.py [pytorch] Plumb compile context from dynamo.export to aot_compile (#138793) 2024-10-28 17:07:44 +00:00
converter.py
error.py
non_strict_utils.py make DimHints compatible with Dims (#138490) 2024-10-22 07:43:48 +00:00
pass_base.py
tools.py
utils.py Made DDPOptimizer work with HOPs (#138787) 2024-10-25 18:59:01 +00:00
verifier.py
wrappers.py