torch-mlir/lib/CAPI
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
..
CMakeLists.txt python: trim registration and loading of dialects and passes (#1084) 2022-07-20 18:34:17 -07:00
Dialects.cpp Dual license the torch-mlir project. 2021-10-01 10:46:08 -07:00
Registration.cpp python: trim registration and loading of dialects and passes (#1084) 2022-07-20 18:34:17 -07:00
TorchOps.cpp Add tracing suport to `torch_mlir.compile`. 2022-05-03 09:08:40 -07:00
TorchTypes.cpp Add support for ScalarType::QUInt8 2022-06-29 15:33:28 -07:00