Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/llvm/torch-mlir
The Torch-MLIR project aims to provide first class support from the PyTorch ecosystem to the MLIR ecosystem.
https://github.com/llvm/torch-mlir
* Several NFC changes to signatures/includes.
a3f4db9fe8d9574c9948f1662bf7d681cc5ecdcc authored about 4 years ago by Stella Laurenzo <[email protected]>30adf9e6b0c1e94db38050a9e143f20a5a461d17 authored about 4 years ago by Marius Brehler <[email protected]>
* Deletes prior code generator from previous attempt (moved some of it into this one).
* Renames...
Register the following for the multiply op:
- tcf.mul
- tcp.mul
- TCP->TCP lowering
- Shape tran...
* Two op interfaces, one for querying instance metadata and one for getting static data needed t...
510f226df27448c6f49bff49809051d0bf37e422 authored about 4 years ago by Stella Laurenzo <[email protected]>Fix linker error:
lib/Python/libNPCOMPPythonCommon.a(MlirInit.cpp.o): in function `mlir::npcomp...
f3c75d957b5146b5a53dd2dd53782a0d5b8d6277 authored about 4 years ago by Mehdi Amini <[email protected]>91fc83d2e78fcbc05ac24876790b82ad68189e68 authored about 4 years ago by Stella Laurenzo <[email protected]>
* Still some more work to do on the Transforms tree to bring it in line with the others (will do...
9618c2dbf76d6a4a06cdd17ba80e007154288ecc authored about 4 years ago by Stella Laurenzo <[email protected]>
* For tests with large constants, decreases issues with lit pipelines.
* Bumps llvm-project to p...
It now subsumes the one we had.
14470f9ff6f7de337debe367887a8e70a7dceab7 authored about 4 years ago by Sean Silva <[email protected]>b6ae53b312173399eccc3f1584575658f5903c4f authored about 4 years ago by Sean Silva <[email protected]>
Date: Mon Oct 19 15:59:03 2020 -0700
4f2aa12d1a680280b7ae7d7d7b720c877ba1e45b authored about 4 years ago by Sean Silva <[email protected]>fe5ceed18d0926f32676bd3516df11390a8a6f4b authored about 4 years ago by Stella Laurenzo <[email protected]>
* Enables the conv2d fwd test and ResA (which are both small).
* Deletes resnet18 and vgg, which...
* Adds Basicpy List, Tuple, Dict types and plumbs through C API.
* Started debugging the issues ...
81119aa0a10d1ee759ac0641e406b89a793a7a48 authored about 4 years ago by Sean Silva <[email protected]>
The add-path command is deprecated and should be replaced as stated in
https://github.blog/chang...
* Now gets far enough to capture batch_norm.
* Has some issues still with in-place ops.
* Can ma...
Otherwise, on my machine MLIR somehow gets configured with Python 2,
which is not supported.
Th...
87b6bc305a528c713ced372e3bba39b84e3ed80d authored about 4 years ago by Sean Silva <[email protected]>
npcomp-capi-ir-test was missing, causing the tests to fail if it wasn't
built. Just build everyt...
The time has come for BypassShapes/LowerShapedResultsToMemref to go away :(
For the reference ba...
Now that it has grown source/target materialization capabilities
(spelled with ops tensor_load/t...
Also, remove the PYTHONPATH stuff for now, I think it is out of date and
I haven't been able to ...
Date: Wed Oct 14 11:26:22 2020 -0700
1d118b0845b1af70d6e8bff95ead4b661eb62ddd authored about 4 years ago by Sean Silva <[email protected]>
* Sadly, non-trivial ones fail.
* Bugs filed and marked XFAIL.
* Adds a trampoline/loader 'torch_mlir' module.
* Plumbs through the MLIR python Context and Mod...
86df4cabeb3468ea2d30297aedf77c5fc30b68c7 authored about 4 years ago by Stella Laurenzo <[email protected]>
* Also adds two lit tests to verify that all of our extensions load without fireworks, which is ...
5c5b8db70ff3c2ce6b231a95b031e7147b289e59 authored about 4 years ago by Stella Laurenzo <[email protected]>Date: Mon Oct 12 11:26:50 2020 -0700
f2d5c26c977a18f66df7ba014594f36f45a55aa7 authored about 4 years ago by Sean Silva <[email protected]>Now the reference backend is cleanly accepts "TCP"+scalar ops.
We introduce tcf-refback-lowerin...
93fc21dad04cff3a571a587bde736a85e0b4e51a authored about 4 years ago by Sean Silva <[email protected]>Missed this one in the previous change.
83342e871562ece41e38044a175fa171773a8fea authored about 4 years ago by Stella Laurenzo <[email protected]>* Need to have a dag of shared library deps in order to interop across python extensions (as pre...
af4edb63aef9294d08c07cb3843c0e308c12d97b authored about 4 years ago by Stella Laurenzo <[email protected]>d9dc16a9be5df3b1bfb89834cb8d85a45036fc52 authored about 4 years ago by Stella Laurenzo <[email protected]>
d6b05c507ad51b11bc676357e1e28fa8c8a76f03 authored about 4 years ago by Sean Silva <[email protected]>
I now realize that VerboseCamelCase is not the best choice for dialect
directory/file names and ...
bf99a82832f84ccc1d526e8d50423ae85b699524 authored about 4 years ago by Sean Silva <[email protected]>
631c8070dfefc666682a5d2542c942413af4cc1c authored about 4 years ago by Sean Silva <[email protected]>
Other than the dialect definitions (which will live in standard Dialect/
subdirectory), the goal...
* Forks a subset of my shell functions into docker_shell_funcs.sh, specifically needed to create...
51d51241b4860b6c3a5a9fe9fae16edeebbcc0cc authored about 4 years ago by Stella Laurenzo <[email protected]>I missed this in the previous commits.
ddc2e9de5d83f6c25260ac3981d6786b74f64574 authored about 4 years ago by Sean Silva <[email protected]>
This is the first in a patch series that is refactoring the
constellation of things variously ca...
21255d5f8e7d6db2a20edf65c07fdbf253986456 authored about 4 years ago by Sean Silva <[email protected]>
NPCOMPFoo to NPCOMPFooDialect for consistency with others.
03846ed8e734590ca1b03cd76c8dbdee2eaf1523 authored about 4 years ago by Sean Silva <[email protected]>
* Resolves various TODOs that required an LLVM change/bump.
* Bumps LLVM to 4aa217160e5f06a96c6e...
* Minor change of MLIRStandardOps -> MLIRStandard
58b6033537a518758d6d3364da2d0a28df882feb authored about 4 years ago by Stella Laurenzo <[email protected]>* Had to stop short of modifying the function return signature because of a missing C-API upstre...
ad3ddb9edbb40d7c8866c6e2eb74f1edfedf76d6 authored about 4 years ago by Stella Laurenzo <[email protected]>
This unblocks backend progress while the PyTorch frontend work is coming
online. Hopefully we ca...
I was seeing some miscompiles due to the uninitialized data read here
before. Interestingly, thi...
* Adds at::Tensor -> MlirValue tracking.
* Adds conversions for tensor and scalar types to MLIR ...
3d74337be0443440402e2419ce07c9c0ee77baf5 authored about 4 years ago by Stella Laurenzo <[email protected]>
* Uses the MLIR-C API since that will save us a lot of grief down the road (i.e. will give PyTor...
ba03ecc652adb94489c1fd258b8df7384119f210 authored about 4 years ago by Stella Laurenzo <[email protected]>* Does not bump mhlo as an upstream integrate on that project has not taken place and there is n...
9722a6ce781907c2313eb0e7fc3224c386fca4d9 authored about 4 years ago by Stella Laurenzo <[email protected]>2c9ca79c8945dc8426fcfede34d4c980e192eb24 authored about 4 years ago by Stella Laurenzo <[email protected]>
fb895173f291afaaa9a4cb5a80daa6d0983dc169 authored about 4 years ago by Stella Laurenzo <[email protected]>
* Uses the new dispatcher API.
* Just prints to the console for the moment when an op is capture...
Now that we upstreamed our pass, we can remove it.
The final pass that landed upstream doesn't d...
Date: Fri Sep 18 13:55:52 2020 -0700
- Update to linalg syntax
- New generated builders are b...
This is fairly mechanical.
f9b37c55b775d6fec70152db9f08ad7bbe353eff authored about 4 years ago by Sean Silva <[email protected]>6b69beae6aceafd534b15ad77f8c704cc7c065b2 authored about 4 years ago by Sean Silva <[email protected]>
* Adds a trivial missing test for _torch_mlir.c10.get_registered_ops()
* Disables the regression...
Co-authored-by: Bryce Arden <[email protected]>
6e6efb2854dca4a41b55c2de9e3390ddad30dbb4 authored about 4 years ago by Stella Laurenzo <[email protected]>47c3a9f461ae775259073f37c57d397bf96fc25d authored about 4 years ago by Stella Laurenzo <[email protected]>
* Exposes the op registry via a get_registered_ops method.
* Moves the aten dialect generation ...
This cleans up the lowering pipeline to easily allow extending to
multiple binary ops. It looks ...
681c4e1d4ac879921a852e6243288fd159de222a authored over 4 years ago by Marius Brehler <[email protected]>
This also required adding a lowering for ForOp in our tensor->memref
conversion.
* Still need to add a systematic mechanism for discovering gradient ops.
* Work needed on the va...
It was previously going through this awkward route that prematurely
created linalg.generic ops, ...
276f5b80ea2fea4251d7f25b4725243fba58715b authored over 4 years ago by Sean Silva <[email protected]>
- new build directory layout
- build NPCOMPNativePyExt, now that lit tests use it
I'm pretty happy with how this turned out. It looks pretty much like it
should -- one change at ...
I was seeing some of the error messages come out with some garbage at
the end. This fixes it.
Date: Thu Sep 17 18:16:41 2020 -0700
2284f6b4f105a3d84ff7819973642c593ba95b49 authored over 4 years ago by Sean Silva <[email protected]>361abebb517087a388feb9bb66705c15e981203a authored over 4 years ago by Stella Laurenzo <[email protected]>
* This gets the pytorch frontend broadly working and what is left appears to be legitimate failu...
8ac29594df3782dcc4fd14c5342e80831c90ea4b authored over 4 years ago by Stella Laurenzo <[email protected]>* Includes pybind11 directly (for some reason using the pytorch helper header for this depends o...
678989a321eaf7905dfa7788759946227c7c8bc0 authored over 4 years ago by Stella Laurenzo <[email protected]>
This now gets the overall "RefE2E" compilation stack to a point that I'm
fairly happy with. We ...
* Add a new python script to auto-generate ATen op ODS definitions.
* There is still some wor...
a74a98094b88d2e8b4d532ffe711f3fa94a56ccb authored over 4 years ago by Stella Laurenzo <[email protected]>
* Bump LLVM to llvm/llvm-project@7d1ed69
* Bump MLIR-HLO to tensorflow/mlir-hlo@1880f87
* Adop...
dd9172fd75f0c12b8f6b6c45d12fed12c65c5773 authored over 4 years ago by Stella Laurenzo <[email protected]>
That commit is a Thu Sep 10 22:04:58 2020 -0700
That change is required for a PR that I'm going...
0f9c6b4a35e7d1f393c50d3e808f6da42dbfdffb authored over 4 years ago by Sean Silva <[email protected]>843448cde9aacbd27786f6b64b6dd7013f938656 authored over 4 years ago by Marius Brehler <[email protected]>
a2fb68059fd3a62ee01e644471a7442fd4a09d02 authored over 4 years ago by Marius Brehler <[email protected]>
124bc65a70dff7635e576daab0748a4ab5fa3beb authored over 4 years ago by Marius Brehler <[email protected]>
fb2d1a1559a9bbe374f618b60e05c6620d153ab1 authored over 4 years ago by Marius Brehler <[email protected]>
* mlir-hlo: 062a3ac4a0671d15b5199ed2cd3a9ce02a5bf077
Fixes:
* numInputs() just returns an int ...
81dd571c23d489e7cc59369bda484821f6f13d3c authored over 4 years ago by Stella Laurenzo <[email protected]>
* llvm-project: b5924a8e27536d19dd5c4d302db29fb6163d5faa
* mhlo: 848ca244d20f045b7921da55a98a04d...
* Previous instructions were referring to the option to use an external llvm-project checkout wi...
4c37aed8411a495effac1e924496719e13579cfa authored over 4 years ago by Stella Laurenzo <[email protected]>* This extracts metadata from python invocations (nearly) sufficient to generate ODS and a Torch...
d1ed6d260e77d332f631b33cb762110377676f15 authored over 4 years ago by Stella Laurenzo <[email protected]>fc4f3743452fc02abf326350b18e360b4a6cde94 authored over 4 years ago by Stella Laurenzo <[email protected]>
* Make code that depends on the legacy "type dispatch" mechanism optional.
* This code is fai...
de38caa54713d50496554c7b8cdb3634eebc4d91 authored over 4 years ago by Stella Laurenzo <[email protected]>
This patch adds a pytorch interface to npcomp. This interface is modeled
after pytorch_xla and...
* Was causing build break on GCC9.
69cda404ef285bf13960cef6bbcae0aeab2c7eab authored over 4 years ago by Stella Laurenzo <[email protected]>
* Adds/updates readmes with some notes about code organization and direction.
* Meant to prepar...
* I expect that mlir-hlo will be a non-optional dependency of the project, so adding as a sub-mo...
a2a36aa8f335517e6128ef47c518816fb37e6e8c authored over 4 years ago by Stella Laurenzo <[email protected]>
This patch adds a dialect intended to be used as a frontend dialect
to facilitate lowering from...
14f614396df87bcfda393e238b2bee129b8e3be7 authored over 4 years ago by stephenneuendorffer <[email protected]>
The RuntimeShlib.so now lives in /lib.
5beaf4cc012fe87073378d607f127e08a27b48f3 authored over 4 years ago by stephenneuendorffer <[email protected]>a5f3b16f92968f48ac4f549cf1ad73444ea650f2 authored over 4 years ago by stephenneuendorffer <[email protected]>
This debug rule only works with add_mlir_library.
111ba12e7f0666157505520b02f623adcab9917d authored over 4 years ago by stephenneuendorffer <[email protected]>