torch-mlir/frontends/pytorch/test
Stella Laurenzo de38caa547
Make code that depends on the legacy "type dispatch" mechanism optional. (#32)
* Make code that depends on the legacy "type dispatch" mechanism optional.

* This code is fairly tied to a specific ~1.3 version and uses a legacy dispatch mechanism.
* Moving it and making it optional allows the project to build with PyTorch 1.6 and makes it possible for us to start building out a more modern interface mechanism in parallel.
* Some of the moved code will be brought back into the more modern path, but isolating it now lets this be done incrementally.
* Tests are left failing since the entire frontend is optional and the next step involves reworking the interface mechanism to get them to passing in both regimes.
* Fix a few bogons to get things building
* Add Dockerfile with pytorch

Also, I configure with:
-DCMAKE_PREFIX_PATH="/opt/pytorch/pytorch"

(which is where pytorch is installed in this container)

* Make a dep conditional.

Co-authored-by: stephenneuendorffer <stephen.neuendorffer@xilinx.com>
2020-08-26 12:55:16 -07:00
..
CMakeLists.txt Make code that depends on the legacy "type dispatch" mechanism optional. (#32) 2020-08-26 12:55:16 -07:00
lit.cfg.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
lit.site.cfg.py.in Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_export_ResA.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_export_add3.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_export_batchnorm.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_export_conv2d_back.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_export_multi_out.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_export_resnet18.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_export_vgg11.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_jit_add2.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_jit_add3.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_jit_add_views.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_jit_as_stride.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_jit_conv2d.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_jit_conv2d_back.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_jit_lenet_back.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_jit_lenet_fwd.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_jit_linear.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_jit_logsoftmax.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_jit_maxpool.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_jit_mlp_back.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_jit_mm.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_jit_mul2.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_jit_nllloss.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_jit_relu.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_jit_t.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_op_report_conv2d.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
test_op_report_vgg_style_lenet.py Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00