torch-mlir/tools
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
..
npcomp-opt Start reworking towards a shared library build. 2020-10-09 16:02:58 -07:00
npcomp-run-mlir Bump llvm-project to eb8d386d513bf4243d0adb814d862af25b8c4e2f 2020-11-04 14:14:46 -08:00
npcomp-shlib Bump llvm-project to head. 2020-11-08 17:31:03 -08:00
CMakeLists.txt Make torch_mlir compatible with binary PyTorch installations. 2020-12-14 09:51:00 -08:00
bash_helpers.sh Fix up bash_helpers.sh for new build directory layout. 2020-10-15 15:58:51 -07:00
run_lit.sh run_lit.sh: build all the things 2020-10-15 20:15:53 -07:00