pytorch/torch/_export
Zhenghao Zhao 3461404869 [pt2 export]fix name collision on constant name (#121145)
Summary: Taking the right most part of the fqn will cause name conflict when having multiple instances of the same class. Changed to replace "." in fqn by "_" to avoid invalid syntax in input args.

Test Plan: added test case

Differential Revision: D54435230

Pull Request resolved: https://github.com/pytorch/pytorch/pull/121145
Approved by: https://github.com/zhxchen17
2024-03-11 20:40:59 +00:00
..
db Enable local_partial_types (#118467) 2024-01-28 13:38:22 +00:00
pass_infra
passes [pt2 export]fix name collision on constant name (#121145) 2024-03-11 20:40:59 +00:00
serde [export] Serialize union fields with single entry dict. (#121263) (#121337) 2024-03-07 21:24:28 +00:00
__init__.py [export][reland] Disable exported_program.__call__ (#120019) 2024-03-05 05:29:46 +00:00
error.py
exported_program.py [export] Remove CallSpec (#117671) 2024-02-08 17:19:03 +00:00
non_strict_utils.py Allow str inputs in non-strict tracing (#120536) 2024-02-28 23:56:30 +00:00
pass_base.py [HigherOrderOp] change signature of map_impl (#117161) 2024-01-13 02:50:46 +00:00
utils.py fix accidental specialization with faketensor input checks (#121460) 2024-03-08 08:02:37 +00:00
verifier.py [export] Add effect token to export (#121424) 2024-03-09 02:43:26 +00:00
wrappers.py [export] Use forward hooks to capture module signatures. (#120468) 2024-02-27 17:44:06 +00:00