torch-mlir/frontends/pytorch/csrc/builder
Stella Laurenzo f6d7ee06ef Make torch_mlir compatible with binary PyTorch installations.
* This has been anticipated for a long time in that it is quite hard to keep C++ binary compatibility across a system landscape as diverse as PyTorch, LLVM, and this project. This is why we based the PyTorch extension on the MLIR and NPCOMP C APIs only: that is the only sane linkage story for the entire matrix.
* Removes the few LLVM'isms in torch_mlir that had snuck in, using either STL or PyTorch support utilities. The new rule here is that LLVM C++ includes are forbidden at this level and (as stated in the design), torch_mlir should use the PyTorch runtime and support libraries (not introduce an incidental C++ dependency on LLVM).
* Also deletes mnist-playground as it was proving impossible to keep the grid of PyTorch vs system ABI divisions functioning. I am open to a less drastic course here (optional/disabled by default?)
* This gets us pretty close to just using PyTorch's extension builder API, which will be nice for distribution (i.e. it integrates well with the PyTorch ecosystem for deployment). I ended up just simplifying the in-tree CMake support for now.
* Fixes #138
2020-12-14 09:51:00 -08:00
..
acap_dispatch.cpp Make torch_mlir compatible with binary PyTorch installations. 2020-12-14 09:51:00 -08:00
acap_dispatch.h Make torch_mlir compatible with binary PyTorch installations. 2020-12-14 09:51:00 -08:00
debug.cpp Delete old PyTorch 1.3 type dispatch oriented code paths. 2020-11-12 22:27:05 -08:00
debug.h Delete old PyTorch 1.3 type dispatch oriented code paths. 2020-11-12 22:27:05 -08:00
func_builder.cpp Make torch_mlir compatible with binary PyTorch installations. 2020-12-14 09:51:00 -08:00
func_builder.h Make torch_mlir compatible with binary PyTorch installations. 2020-12-14 09:51:00 -08:00
graph_importer.cpp Make torch_mlir compatible with binary PyTorch installations. 2020-12-14 09:51:00 -08:00
graph_importer.h Make torch_mlir compatible with binary PyTorch installations. 2020-12-14 09:51:00 -08:00
mlir_utils.h Bump LLVM version to 4f5355ee73626f8b8fe6bf0dd6d167fea7628a2c. 2020-11-24 13:12:04 -08:00
module_builder.cpp Make torch_mlir compatible with binary PyTorch installations. 2020-12-14 09:51:00 -08:00
module_builder.h Make torch_mlir compatible with binary PyTorch installations. 2020-12-14 09:51:00 -08:00
python_bindings.cpp Add TorchScript graph importer. 2020-11-23 14:20:09 -08:00