torch-mlir/test/python/fx_importer
Aart Bik c77f3b559a
[torch-mlir][sparse] add simple sparsity "propagation" rules (#3297)
While waiting for the full resolution of feature request
https://github.com/pytorch/pytorch/issues/117188
(which will propagate sparsity the right way in upstream PyTorch for all
FX Graphs), this minor change allows us to start testing sparsity
"within" a network, rather than just the parameters. Feel free to add
your own rules for testing (but within reason for what will be done
upstream).

Note, two TODOs need to be addressed to work around some pending issues
to make the JIT execution work.
2024-05-07 15:27:36 -07:00
..
v2.3 [NFC reformat] Run pre-commit on all files and format misc. 2024-04-27 14:08:09 -07:00
basic_test.py [FX] Add broadcast test with dynamic dim (#3123) 2024-04-29 09:21:12 -07:00
sparse_test.py [torch-mlir][sparse] add simple sparsity "propagation" rules (#3297) 2024-05-07 15:27:36 -07:00