torch-mlir/python
Ashay Rane ad283c1043
python: trim registration and loading of dialects and passes (#1084)
In the interest of merging upstream LLVM quickly, a previous patch
(7f08169) updated the torch-mlir build to register all dialects and
passes through Python bindings.  This patch limits the dialects and
passes to only those that are used in torch-mlir.

Key to this change are the removal of
`MLIRPythonExtension.RegisterEverything` and the introduction of a new
Python module (`_mlir_libs/_site_initialize_0.py`), where we register
the dialects and passes used by torch-mlir.
2022-07-20 18:34:17 -07:00
..
test torch_mlir.compile: Allow OutputType as a string. 2022-07-08 17:37:27 -07:00
torch_mlir python: trim registration and loading of dialects and passes (#1084) 2022-07-20 18:34:17 -07:00
torch_mlir_e2e_test Allow expanding and collapsing in aten::view (#1082) 2022-07-20 17:35:51 -04:00
CMakeLists.txt python: trim registration and loading of dialects and passes (#1084) 2022-07-20 18:34:17 -07:00
TorchMLIRModule.cpp python: trim registration and loading of dialects and passes (#1084) 2022-07-20 18:34:17 -07:00