torch-mlir/python/npcomp
Stella Laurenzo b4c7ae1e0c Repurpose numpy-compiler compiler/runtime flow for PyTorch.
* A bit gross because I took the chance to upgrade all of the backend bits to the new MLIR Python bindings and we still co-mingle the old and new for now.
* Since the Python created PassManagers are configured for explicit nesting, I had to upgrade some of the pass pipelines to be explicit.
* The demo in mul_maximum_e2e.py now compiles, runs through PyTorch and through the JIT, prints and asserts the same results.
* I am not claiming that this is the prettiest API in this patch: consider that this is just directly using low-level APIs and there should be an intervening high level API.
2020-11-11 10:38:13 -08:00
..
compiler Repurpose numpy-compiler compiler/runtime flow for PyTorch. 2020-11-11 10:38:13 -08:00
dialect Some fixes to get npcomp building and passing on windows. 2020-07-01 21:28:04 -07:00
frontends Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
torch Add initial python bindings for c10 dispatcher internals. (#55) 2020-09-24 16:26:29 -07:00
tracing Remove use of namedtupled defaults kwarg. 2020-08-04 18:41:22 -07:00
utils Add script tools/format_source.sh and run it on all python and c++ sources. 2020-06-13 14:53:54 -07:00
__init__.py Cleanup python namespace a bit for standalone use. 2020-05-02 21:54:13 -07:00
decorators.py Add script tools/format_source.sh and run it on all python and c++ sources. 2020-06-13 14:53:54 -07:00
exporter.py Add script tools/format_source.sh and run it on all python and c++ sources. 2020-06-13 14:53:54 -07:00
smoketest.py Move python native library to python_native/_npcomp...so. 2020-05-06 22:44:12 -07:00
types.py Add script tools/format_source.sh and run it on all python and c++ sources. 2020-06-13 14:53:54 -07:00