torch-mlir/test/python/fx_importer
Dixin Zhou 8f52f5a4ed
[Fx Importer] fix mutation importer with non persistent buffer (#3798)
A non-persistent buffer will not be a part of this module’s
`state_dict`. Hence when setting `experimental_support_mutation=True`
and have non-persistent buffer, the current fx importer will fail to
retrieve a value from `state_dict` and produce `torch.constant.none` to
represent the buffer. This fix get value of non-persistent buffer from
the module's `constants`.

---------

Co-authored-by: Dixin Zhou <dzhou@vdi-ahddp-020.dhcp.mathworks.com>
2024-11-01 02:20:32 +08:00
..
sparsity build: manually update PyTorch version (#3727) 2024-10-18 13:32:14 +05:30
v2.3 [Fx Importer] fix mutation importer with non persistent buffer (#3798) 2024-11-01 02:20:32 +08:00
basic_test.py [FxImporter] Fix sympy_int_to_int utility (#3657) 2024-08-26 09:31:17 -07:00
custom_op_test.py build: Update Roll PyTorch version (#3548) 2024-07-19 21:38:57 +05:30
symbolic_shape_expr_test.py build: manually update PyTorch version (#3727) 2024-10-18 13:32:14 +05:30
sympy_to_affine_expr_test.py Representing Symbolic Shape Expressions in Torch Dialect (#3372) 2024-06-07 04:04:03 -07:00