pytorch/torch/export
Avik Chaudhuri 5d7c3701e4 fix non termination in unflatten + state (#141494)
With largish systems of nn modules with buffers, sinking params suffered from some kind of exponential blowup that is easily fixed by using a set instead of a list to keep track of unlifted buffer placeholders.

Test Plan: added random dag test that failed previously

Differential Revision: D66457661

Pull Request resolved: https://github.com/pytorch/pytorch/pull/141494
Approved by: https://github.com/angelayi
2024-11-26 00:17:56 +00:00
..
experimental Fix type-safety of torch.nn.Module instances (#141240) 2024-11-22 00:05:05 +00:00
passes Fixing issue in move pass for copying Parameter (#138855) 2024-10-25 17:57:27 +00:00
__init__.py Replace torch.export default decomp table to be lazily populated (#137650) 2024-10-18 19:28:52 +00:00
_draft_export.py [export] Improve stacktrace filtering (#141285) 2024-11-22 20:55:04 +00:00
_remove_auto_functionalized_pass.py Redesign custom op functionlaization for better re-inplace (#134409) 2024-09-04 17:08:58 +00:00
_remove_effect_tokens_pass.py [export][fx] More robust DCE pass (#132764) 2024-08-06 22:27:22 +00:00
_safeguard.py
_swap.py Fix type-safety of torch.nn.Module instances (#141240) 2024-11-22 00:05:05 +00:00
_trace.py [BE] Make maybe_aliasing_or_mutating proper tag (#131990) 2024-11-24 00:12:49 +00:00
_tree_utils.py [export] Add setattr for ep.example_inputs (#140990) 2024-11-20 02:49:20 +00:00
_unlift.py [export] Add setattr for ep.example_inputs (#140990) 2024-11-20 02:49:20 +00:00
custom_obj.py
decomp_utils.py Replace torch.export default decomp table to be lazily populated (#137650) 2024-10-18 19:28:52 +00:00
dynamic_shapes.py make DimHints compatible with Dims (#138490) 2024-10-22 07:43:48 +00:00
exported_program.py [export] fix loss_output in joint graph signature (#140974) 2024-11-21 23:57:07 +00:00
graph_signature.py [export] fix loss_output in joint graph signature (#140974) 2024-11-21 23:57:07 +00:00
unflatten.py fix non termination in unflatten + state (#141494) 2024-11-26 00:17:56 +00:00