pytorch/test/export
Avik Chaudhuri 22ea248aa8 dynamic shapes mismatch errors (#132982)
Summary: When PyTree detects a structural mismatch between inputs and dynamic shapes, the error messages are quite horrible. This PR fixes these error messages by adding, for each kind of error, the path to the point where the error happens and an actionable reason for the error.

Test Plan: added test with several cases

Differential Revision: D60956976

Pull Request resolved: https://github.com/pytorch/pytorch/pull/132982
Approved by: https://github.com/yushangdi
2024-08-09 02:22:32 +00:00
..
__init__.py
opinfo_schema.py Add None return type to init -- tests (#132352) 2024-08-01 15:44:51 +00:00
test_converter.py [ts-migration]: Quantized ops to standard ops pass. (#133026) 2024-08-08 23:10:17 +00:00
test_db.py [export] Update example inputs format for DB. (#129982) 2024-07-03 17:53:15 +00:00
test_experimental.py Add None return type to init -- tests (#132352) 2024-08-01 15:44:51 +00:00
test_export.py dynamic shapes mismatch errors (#132982) 2024-08-09 02:22:32 +00:00
test_export_nonstrict.py [BE][Easy][9/19] enforce style for empty lines in import segments in test/[e-h]*/ (#129760) 2024-07-17 14:25:29 +00:00
test_export_training_ir_to_run_decomp.py [BE][Easy][9/19] enforce style for empty lines in import segments in test/[e-h]*/ (#129760) 2024-07-17 14:25:29 +00:00
test_functionalized_assertions.py
test_hop.py [BE][Easy][9/19] enforce style for empty lines in import segments in test/[e-h]*/ (#129760) 2024-07-17 14:25:29 +00:00
test_lift_unlift.py Add None return type to init -- tests (#132352) 2024-08-01 15:44:51 +00:00
test_pass_infra.py Add None return type to init -- tests (#132352) 2024-08-01 15:44:51 +00:00
test_passes.py Make the __module__ name of HOO to be always "torch.ops.higher_order" (#132775) 2024-08-08 16:55:09 +00:00
test_retraceability.py [BE][Easy][9/19] enforce style for empty lines in import segments in test/[e-h]*/ (#129760) 2024-07-17 14:25:29 +00:00
test_schema.py [BE][Easy][9/19] enforce style for empty lines in import segments in test/[e-h]*/ (#129760) 2024-07-17 14:25:29 +00:00
test_serdes.py [BE][Easy][9/19] enforce style for empty lines in import segments in test/[e-h]*/ (#129760) 2024-07-17 14:25:29 +00:00
test_serialize.py [export] Fix exportdb test (#132678) 2024-08-06 17:45:10 +00:00
test_sparse.py Disable sparse tests in export (#132824) 2024-08-08 01:45:12 +00:00
test_tools.py Add None return type to init -- tests (#132352) 2024-08-01 15:44:51 +00:00
test_torchbind.py Make the __module__ name of HOO to be always "torch.ops.higher_order" (#132775) 2024-08-08 16:55:09 +00:00
test_tree_utils.py [BE][Easy][9/19] enforce style for empty lines in import segments in test/[e-h]*/ (#129760) 2024-07-17 14:25:29 +00:00
test_unflatten.py fix torch rec test failure (#132437) 2024-08-05 18:06:07 +00:00
test_verifier.py [export] Publicize validate function (#132777) 2024-08-07 23:10:05 +00:00
testing.py [BE][Easy][9/19] enforce style for empty lines in import segments in test/[e-h]*/ (#129760) 2024-07-17 14:25:29 +00:00