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
c84ce175732f8c23f80e5c6597ce7387f4d690bb authored over 4 years ago by Stella Laurenzo <[email protected]>
917fd94f941324f375105a90454b67805b3950a9 authored over 4 years ago by Stella Laurenzo <[email protected]>
For simple programs, this gets us enough typing to lower to real backends.
e3fd22a0355fc99ec5c6c15683558f07db7dd2ed authored over 4 years ago by Stella Laurenzo <[email protected]>3e58d8fe37fcf0a436dd5a7d1b9e4b48f5c6462a authored over 4 years ago by Stella Laurenzo <[email protected]>
432e01fe8f13671684464852f528cff5c5a23c54 authored over 4 years ago by Stella Laurenzo <[email protected]>
6728503fcfe491729007f8d8bc6e0ab767975d31 authored over 4 years ago by Stella Laurenzo <[email protected]>
340f109742acf88c8896db2462aeb4cd035113c3 authored over 4 years ago by Stella Laurenzo <[email protected]>
2bb4cdf4e7da0baf4cab818c62abf01d42fef827 authored over 4 years ago by Stella Laurenzo <[email protected]>
22cbe044c213f0380b64e7c45d61f92cc1fe9176 authored over 4 years ago by Stella Laurenzo <[email protected]>
* Adds a new to_boolean op to evaluate a value as a truthy i1
* Uses cascading scf.if ops to pro...
b0a80e04f1759a1c6d7b936a16048a37f8778f72 authored over 4 years ago by Stella Laurenzo <[email protected]>
44f7e22f4d1750b4d1ca4827d36d6c6ef5e253db authored over 4 years ago by Stella Laurenzo <[email protected]>
1ef3614682259a4b84375bfed7bda37af194bf0c authored over 4 years ago by Stella Laurenzo <[email protected]>
* Makes the OpBuilder an input to the DialectHelper.
* The containment hierarchy can be simplifi...
* Currently only supports non-short-circuit comparisons.
85b724e70cf925b5b9f69f869de530436428e138 authored over 4 years ago by Stella Laurenzo <[email protected]>7c176ed87291d35aa38f30ff5f7cb523d608e83a authored over 4 years ago by Stella Laurenzo <[email protected]>
4cd604f2a2decfb2029f1a23e09b04c67006b582 authored over 4 years ago by Stella Laurenzo <[email protected]>
72499e0319ccde9b97d2114777eb152305ad0dc8 authored over 4 years ago by Stella Laurenzo <[email protected]>
a1e6ff4ab7c53795eecd87b6c584a1239dadddd8 authored over 4 years ago by Stella Laurenzo <[email protected]>
f3829b1d4fdac36695a74d202e921d317cda089e authored over 4 years ago by Stella Laurenzo <[email protected]>
869228e316fb5bfb85b2224eb4ef012b2387aa1f authored over 4 years ago by Stella Laurenzo <[email protected]>
8280b86c0532c07f564ca7cad9b5906e50979a78 authored over 4 years ago by Stella Laurenzo <[email protected]>
639826183d849f4a44b2da9af69ff950db9aff8a authored over 4 years ago by Stella Laurenzo <[email protected]>
* Adds a test for simple constants and fixes issues.
af4466197ea77bd2a6a3aee4a499ed3bde269dca authored over 4 years ago by Stella Laurenzo <[email protected]>28048337ae6753b02bab313b152dfcd97c590a82 authored over 4 years ago by Stella Laurenzo <[email protected]>
f67c5a42dc97825a1b3480164b1fb28eb7d0adc7 authored over 4 years ago by Stella Laurenzo <[email protected]>
7b95d860e90dd44d06f70d675cca554cf648ce73 authored over 4 years ago by Stella Laurenzo <[email protected]>
* Extends the bindings to support locations.
* Various other things necessary to extract a funct...
* Got side-tracked hunting down a vague-linkage RTTI issue due to not anchoring key methods in P...
60f132b26f3c618b2b42fa22b3eb721a12908913 authored over 4 years ago by Stella Laurenzo <[email protected]>
This test seems to be passing, after a clean rebuild of everything
(including MLIR).
The secret here is LLVM_ENABLE_WARNINGS=ON.
I also fixed a couple warnings, which gets us to be...
cd7258dbd48bd9254c6741cab2d3f4e36cbd3c84 authored over 4 years ago by Sean Silva <[email protected]>fddf41ca92fd4d140be8ba0a89ad943b7438a8f2 authored over 4 years ago by Stella Laurenzo <[email protected]>
bb871e7601b5cd72482beeb8f1daf6876f65cf29 authored over 4 years ago by Stella Laurenzo <[email protected]>
This makes it more clear that they are grouped together. A directory
seemed too heavyweight.
The default is to only do the bare minimum needed for correctness, since
that stresses the layer...
e8b1a07ef463dccb485bd28d79b47daaaee13cfd authored over 4 years ago by Sean Silva <[email protected]>
We were previously relying on a later canonicalization pass to clean
them up, but it is a cleane...
This script (make sure to `source` it!) defines a number of handy
aliases which make compiler de...
It runs npcomp-run-mlir as well now, so having `-opt` in the name is
confusing.
The code isn't super clean, but is a useful incremental step
establishing most of the boilerplat...
This adds:
- mlir::NPCOMP::registerAllDialects()
- mlir::NPCOMP::registerAllPasses()
Replace our local `tcp.shape_from_extents` op with the upstream
`shape.from_extents` op.
1fed1cb0162b25591da9a52b498a890773472cca authored over 4 years ago by Sean Silva <[email protected]>
It is unused now, and will be superceded by a proper runtime dialect.
87aa561c6952a9585d79c8481370d575f82960d1 authored over 4 years ago by Sean Silva <[email protected]>
With this commit, we finish conversion to LLVM dialect, and should be
ready for subsequent commi...
This more clearly captures its semantics as a structural "observer" of
code that we currently ma...
The legality condition was reversed. It's unclear to me why this didn't
cause "failed to legalize".
- tcp.get_extent will be liminated while lowering shapes
- std.alloc is supported by the upstrea...
Thanks to Stella for probing me on this.
9eaab7537c544d54b74dcc5c38adc373fa028408 authored over 4 years ago by Sean Silva <[email protected]>
Specifically, we use unranked memrefs which get passed as a fixed-size
set of arguments/returns....
7687a6d8d25399adbe4771352ef451b11cff393e authored over 4 years ago by Sean Silva <[email protected]>
The idea was half-baked and after some deep thought felt like a solution
looking for a problem. ...
This brings this code in line with the LLVM style guide and avoids
potential ODR issues.
- Make rank1.mlir be the new "basic.mlir", as it is really the simplest
case.
- Move basic.mli...
This uses an approach inspired by what is done in IREE. See comments on
LowerRankedShapes.cpp fo...
This also adds a small pass to clean up the `dim` ops that linalg
introduces. For now, it only h...
This makes the IR a bit easier to scan.
f525d4dbcf64b4d4f8461fc6f0b57f61f752fdc2 authored over 4 years ago by Sean Silva <[email protected]>
This makes the IR more presentable before going to the next phase of
lowering (ops on memref/buf...
83db558db9931490d76b31b26f8c7b8e8b92a720 authored over 4 years ago by Sean Silva <[email protected]>
There's a lot of details to flesh out here, but the basic approach seems
promising (see comments...
This makes sure we stay resonably canonically using the shape machinery.
(In fact, DimOp should ...
This allows VSCode (and presumably other IDE's) to pick up a
`tools/cmake_configure.sh`'ed build...
950ba12426e333cd68c858ca425541563f576541 authored over 4 years ago by Stella Laurenzo <[email protected]>
Very much WIP.
This is enough to get tcf.add down to approximately the "linalg.generic
on buffe...
We should look into having a `ninja check-npcomp` that runs everything
with lit so that we get d...
We want more sophisticated capture later, but this allows basics to function.
f2985e090177867f612152db0bd424fd27e295f0 authored over 4 years ago by Stella Laurenzo <[email protected]>8ae71a95513ae3c9ab266a4bec865600162bc9f6 authored over 4 years ago by Stella Laurenzo <[email protected]>
a91b0bfbe188967a03d6e6c1b9d4e81ed3906560 authored over 4 years ago by Stella Laurenzo <[email protected]>
db0b0ef1b279749a58650608a096c5676889716c authored over 4 years ago by Stella Laurenzo <[email protected]>
497f1de5a28ba9a74172daf748a128a1f67eca63 authored over 4 years ago by Stella Laurenzo <[email protected]>
This makes things just work for debugging in VSCode.
0092b912ab7aee16199e1b32c23f95afdcd69a3b authored over 4 years ago by Stella Laurenzo <[email protected]>This allows binary and source packages to exist at different physical paths.
3611958b111ef5945f967afdeaac9727b3db2c27 authored over 4 years ago by Stella Laurenzo <[email protected]>* Also adds Basicpy.py to tests.
680e11ae62875cbe677a870c0cc3d7b8bb46bc05 authored over 4 years ago by Stella Laurenzo <[email protected]>* This suppresses a warning that arises from using "-m" to launch a module contained in a packag...
644d9fb0d3ccf3eda8ff7a5077f73b6356b574c6 authored over 4 years ago by Stella Laurenzo <[email protected]>This will aid in managing hierarchies of custom dialect helpers.
4ebf972503076a02d948459ee4e789096b04f9da authored over 4 years ago by Stella Laurenzo <[email protected]>* Involved native code for the types and slot_object_get ops.
6b7c913e0bdb1821e3ddc64d935634d186412eaa authored over 4 years ago by Stella Laurenzo <[email protected]>aa9ffc3a11b71d7248b52ae50e13336bae15dbc6 authored over 4 years ago by Sean Silva <[email protected]>
* Fixes some api-change breakages.
* Deletes edsc module now that the IR bindings are working (a...
* This is intended to provide low-level modeling for built-in objects.
* It is now possible to t...
bfd5fedba71d5d77d8c3f88736a1b2855b10d0e7 authored over 4 years ago by Stella Laurenzo <[email protected]>
f8cedd8656d0cd5a54f1eba508e152fbc1682a8d authored over 4 years ago by Stella Laurenzo <[email protected]>
9a0f4987744d83c79b2bbbde83890057aabbe9d6 authored over 4 years ago by Stella Laurenzo <[email protected]>
* It is time to start adding more python mechanisms.
* Running into this for materializing slice...
* Just the form without explicit permutation for now.
ebb5bcf6af54a2f3437321b3d54e5396d57de7ae authored over 4 years ago by Stella Laurenzo <[email protected]>* Creates an abstraction/registry around emitters (intended to generalize to AST compilation as ...
a5f755d406031eb1a85fd6e6b505ee750b9df06b authored over 4 years ago by Stella Laurenzo <[email protected]>1f54838d2e7b991f2c7f6c008aa692c67303c61d authored over 4 years ago by Stella Laurenzo <[email protected]>
a38a1e28503d7703efdc6ab9223901849bed674b authored over 4 years ago by Stella Laurenzo <[email protected]>
1f136f9dba18a9b264cd4a0f00a3be403edff1d8 authored over 4 years ago by Stella Laurenzo <[email protected]>
c89a35f97f807771f5517d0f9261d2122835cc02 authored over 4 years ago by Stella Laurenzo <[email protected]>
0805013716f8de65b427a079a7d4bc96263bc7f3 authored over 4 years ago by Stella Laurenzo <[email protected]>
78a8e6ec9e7ab1caa5f17b3d7152f5425e0f473b authored over 4 years ago by Stella Laurenzo <[email protected]>
ba0c96b51a92dc4cf480f67336a5ea8fdeb4485f authored over 4 years ago by Stella Laurenzo <[email protected]>
I don't technically need this now but adding while the train of thought is fresh.
23a9ffaabe07c5409ba5b54fea3961eb90989dd6 authored over 4 years ago by Stella Laurenzo <[email protected]>c8740fd866578b049cc3003cf25b6e2fe1c0bdfa authored over 4 years ago by Stella Laurenzo <[email protected]>
ec0f6b4b22cc0e98a7576a0a1504220be667ea6e authored over 4 years ago by Stella Laurenzo <[email protected]>
67d38db1e2ac15770127594045ea8d26cb6bb272 authored over 4 years ago by Stella Laurenzo <[email protected]>
d3632af675938c98b2c7260152193a468b384b3c authored over 4 years ago by Stella Laurenzo <[email protected]>
b4425fe1d2c5bc8aec062a8bad4db8cf0e688fd3 authored over 4 years ago by Stella Laurenzo <[email protected]>
c4a192d5c9fb6358626f05e80addabbed07e87d8 authored over 4 years ago by Stella Laurenzo <[email protected]>
f174c0557b688770a225915515226b556e3d3457 authored over 4 years ago by Stella Laurenzo <[email protected]>