pytorch/test/export
Avik Chaudhuri 497f89ff83 fix dynamo nn module stack fqn (#142823)
Dynamo can produce sources that have funny patterns in their `.name()` that break `nn_module_stack` fqns. Added a test that used to have `._modules` inside nn_module_stack fqns, now doesn't. (Unfortunately couldn't repro a case mentioned in the GH issue where `.slice(...)` is claimed to appear as well.)

Fixes https://github.com/pytorch/pytorch/issues/141939

Differential Revision: [D67064189](https://our.internmc.facebook.com/intern/diff/D67064189/)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/142823
Approved by: https://github.com/pianpwk, https://github.com/zhxchen17
2024-12-12 07:02:13 +00:00
..
__init__.py
opinfo_schema.py
random_dag.py random dag (#142180) 2024-12-07 00:39:43 +00:00
test_converter.py
test_cpp_serdes.py [export] Implement cpp deserializer. (#136398) 2024-11-14 16:34:59 +00:00
test_db.py Move test_db to training IR (#138251) 2024-10-18 07:42:13 +00:00
test_draft_export.py Fix AttributeError: 'int' object has no attribute 'node' due to constant prop (#141250) 2024-11-24 08:20:04 +00:00
test_experimental.py [export] fix loss_output in joint graph signature (#140974) 2024-11-21 23:57:07 +00:00
test_export.py fix dynamo nn module stack fqn (#142823) 2024-12-12 07:02:13 +00:00
test_export_legacy.py Change export IR to non-functional pre-dispatch IR (#139511) 2024-11-20 21:47:55 +00:00
test_export_nonstrict.py
test_export_training_ir_to_run_decomp.py Remove presere ops (#138371) 2024-10-25 19:13:55 +00:00
test_functionalized_assertions.py
test_hop.py
test_lift_unlift.py
test_pass_infra.py
test_passes.py [export] avoid name collision when inlining node (#141169) 2024-11-22 01:08:22 +00:00
test_retraceability.py [export] Add retraceability_non_strict to tests (#138380) 2024-10-22 21:05:51 +00:00
test_schema.py [export] Add test to enforce consistency between synced thrift and generated thrift from schema.py (#141989) 2024-12-06 18:42:20 +00:00
test_serdes.py [export] Add serdes_non_strict to tests (#138662) 2024-10-24 21:35:32 +00:00
test_serialize.py Add truediv support in export serializer (#136364) 2024-12-05 17:33:33 +00:00
test_sparse.py
test_swap.py [export] Remove custom forward func in swap (#139126) 2024-10-30 16:50:57 +00:00
test_tools.py
test_torchbind.py Revert "Deprecate torch._utils.is_compiling() and torch._dynamo.external_utils.is_compiling() (#127690)" 2024-11-05 23:10:38 +00:00
test_tree_utils.py
test_unflatten.py [export] Make unflattened module compileable (#141249) 2024-11-23 18:46:01 +00:00
test_unflatten_training_ir.py fix unflatten training ir test suffix (#138840) 2024-10-24 23:42:54 +00:00
test_verifier.py
testing.py Change export IR to non-functional pre-dispatch IR (#139511) 2024-11-20 21:47:55 +00:00