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

Update LLVM to c89e46e76... (#10)

Requires a fixup because BroadcastOp now has a configurable return type.

146ea0a781fe35fc0f3ce1bd4d49af126d415bcc authored about 4 years ago by stephenneuendorffer <[email protected]>
[cmake] Updates for basic shared library support (#7)

Mostly this is CMake cleanup. Several library dependencies are missing, which
is often reveale...

44af7a6d309f347b559e2dea35422cf63be4dfd5 authored about 4 years ago by stephenneuendorffer <[email protected]>
Update buildAndTest.yml

Fix path to LLVM/MLIR

b6313d9c64c2ffa7c4482135a78c2253128cf6ca authored about 4 years ago by stephenneuendorffer <[email protected]>
Update buildAndTest.yml

Fix relative path to llvm/mlir

539697c1c66ff4f513b86030a75be4a51680670d authored about 4 years ago by stephenneuendorffer <[email protected]>
Update buildAndTest.yml

e1a077aa9f151d6fbc9f4efaa12881e8a2ec9cdd authored about 4 years ago by stephenneuendorffer <[email protected]>
update precommit for correct LLVM path (#9)

ca440ec5145d8ed21684b6a540583ae76b9d0030 authored about 4 years ago by stephenneuendorffer <[email protected]>
Add github precommit tests with cached LLVM (#8)

0269e991d8e81986c8d76194cf61ffa33cf44bfb authored about 4 years ago by stephenneuendorffer <[email protected]>
Update broken links

ac3d402cd64c9242cd289b7c26e96533a8d7bf0a authored about 4 years ago by Phoenix Meadowlark <[email protected]>
Remove use of namedtupled defaults kwarg.

* It is incompatible with python < 3.7.

Fixes #6

186dfd39eaf05798fe00b3a9b6384c2888063cc7 authored about 4 years ago by Stella Laurenzo <[email protected]>
Misc fixes to enable building/testing on manylinux2014 images.

* Since the manylinux images do not hard-link against python libs (resolving them at runtime), t...

3efbbe87351c5cb3ef3631c99087a6e9481dbf62 authored about 4 years ago by Stella Laurenzo <[email protected]>
Collapse python_native/ into python/.

* These were separated originally for layering reasons that no longer apply.
* Most of the pytho...

38abe9980505e4d1f540f7918c56fd52543ac691 authored about 4 years ago by Stella Laurenzo <[email protected]>
Collapse different top level test directories into test/.

* Uses local configs and unsupported annotation to disable optional tests.
* This separation was...

571c8b448a0b4c46ca62b82a2bd1e22589ad40c4 authored about 4 years ago by Stella Laurenzo <[email protected]>
Rework reference shape lowering based on upstream shape dialect changes.

* Primarily, the upstream shape dialect now uses tensor<?xindex> for non-erroring, immediate sha...

fc484d1bd8b7c15447fa2b10bea9ec8f968e8eeb authored about 4 years ago by Stella Laurenzo <[email protected]>
Add MLIRContext CL options to npcomp-opt.

624d4c6c503e59a28c1666f1b0383810a36aafdc authored about 4 years ago by Stella Laurenzo <[email protected]>
Fix compilation issues due to llvm-project version bump.

* Redundant infer type implementations removed.
* Update to the linalg GenericOp build calls.

9d5d802cc86e00857959980c9073e9ccd637e9d8 authored about 4 years ago by Stella Laurenzo <[email protected]>
Bump llvm-project to 0b161def6cacff1a63d3cf1a1efe95b550814d7a (2020/7/28).

c695db7ae72c63c9e366779297c1d9235860f58c authored about 4 years ago by Stella Laurenzo <[email protected]>
Update install_mlir.sh script for new submodule path.

4731cbd94bc702bf0fe4d76158d338e6e549c837 authored about 4 years ago by Stella Laurenzo <[email protected]>
Add llvm-project submodule.

* Checked out a084b94f1198df600fff0632ad54fe6121e23943

8402ab6105b3d827511341f373ce8964eb78fd83 authored about 4 years ago by Stella Laurenzo <[email protected]>
License and readme changes to align with inclusion in LLVM. (#1)

* Updates the LICENSE to the same verbiage as used in the circt project.
* Adds the incubator d...

478f35620dd4427fa254fd1e4716f242f3cc1b7f authored about 4 years ago by Stella Laurenzo <[email protected]>
Cleanup after going to `llvm` dialect.

This reduces IR size a lot, which can help when staring at it.

a9d7610f9d6740e984cbeb55854abac1f92414f9 authored over 4 years ago by Sean Silva <[email protected]>
Add -optimize flag to npcomp-run-mlir so that it runs optimizations.

My main interest in this is that tweaking the default of this flag is a
quick way to check for m...

d0f15d2cec40fa2338f6b87aea50d69329232d92 authored over 4 years ago by Sean Silva <[email protected]>
Make input file to npcomp-run-mlir be positional.

This makes command lines more succinct.

3f3dcad871e3695aaf2e95d1ec21d312259a1b3f authored over 4 years ago by Sean Silva <[email protected]>
Initial python plumbing to interface with the refjit backend.

aea05d68d710aa3aa69a0df827999e84bd99088e authored over 4 years ago by Stella Laurenzo <[email protected]>
Update sample for refjit invocation.

29da57e63193f23c03475f51659349da60650a66 authored over 4 years ago by Stella Laurenzo <[email protected]>
Allow JITModule passes to be built separately.

* Re-introduces frontent/backend split.
* Adds a (very) trivial shape refinement pass.

9e4a62fc7162968e3046619a88e08831f8b94a96 authored over 4 years ago by Stella Laurenzo <[email protected]>
Wire through codegen and runtime dependencies.

* Enables e2e test.
* With what I've learned in upstream about test directory layout, I can cons...

0356f65dcd924124ddfafb14d26f2bd2241c6f47 authored over 4 years ago by Stella Laurenzo <[email protected]>
Consolidate LLVM definitions of runtime data structures.

This required making module descriptors hold a FuncDescriptor* instead
of a pointer to array of ...

df0d3fcaff6d023cf1d83ac39837f97f5b5ee450 authored over 4 years ago by Sean Silva <[email protected]>
npcomprt: add support for constants

- create tcp.global + tcp.get_global_memref
- create npcomprt.global + npcomprt.get_global
- LLV...

e228aa4b11376f4e10376e2b367fbd41cf4dc572 authored over 4 years ago by Sean Silva <[email protected]>
Remove old sample

2e40ce05ad0f9bd50eb0af417007e28cfc977c5c authored over 4 years ago by Stella Laurenzo <[email protected]>
Add sample for exercising the compiler.

70595bd87efccb48a5717f6b34ad4a0317e3c575 authored over 4 years ago by Stella Laurenzo <[email protected]>
Add NumpyPublicFunctionsToTensor pass.

* Rewrites public function signatures to operate on tensors (vs ndarray).
* Most of our backends...

efbcf0aa4498ecff584bc6d087fa70ffbab9746c authored over 4 years ago by Stella Laurenzo <[email protected]>
Add NumpyToTCF conversion.

* Just for numpy.add right now.

5ceb37c19b2137e3aa41df708f3416cb0dd4c451 authored over 4 years ago by Stella Laurenzo <[email protected]>
Correct LLVM hash

It must have gotten mangled by copypaste.

76a782d4fd6f956acda5d0f477cf565acd8d8259 authored over 4 years ago by Sean Silva <[email protected]>
LowerRankedShapes: support shape.const_shape op.

Also, the previous code had a special case for deleting this op when it
had no uses. This is sub...

f18014f60c565d31277235fa9cdec3dc5be4406d authored over 4 years ago by Sean Silva <[email protected]>
Rework e2e flow to use new "npcomprt"

This ~totally reworks the existing "runtime" stuff to be more
principled and usable, such as fro...

b4f0cea8fa6a5c302b3e51970666a1cbdcec58ca authored over 4 years ago by Sean Silva <[email protected]>
Bump llvm revision to a084b94f1198df600fff0632ad54fe6121e2393

d85b7e7d60ebd1d0eb039fb0338b2911ddb65ebd authored over 4 years ago by Sean Silva <[email protected]>
Add a trivial copy elision canonicalization on ndarray->tensor.

* This elides the very common code the compiler adds for chaining otherwise tensor-related numpy...

5aa2f0f9f66410363cae7705214332a355464b5a authored over 4 years ago by Stella Laurenzo <[email protected]>
Fixup local ndarray<->tensor transforms to preserve shape.

* Preserving shape across the copy ops makes more thing shaped by default.
* Inference of ndarra...

504e3c4946e6488a87fec485f4a476a0e1663042 authored over 4 years ago by Stella Laurenzo <[email protected]>
Allow the ndarray type to carry a shape.

fae15ec5e72884d014a0b293b64502587bdaa640 authored over 4 years ago by Stella Laurenzo <[email protected]>
Complete the basic spike to perform dtype inference.

* Correctly infers the unknown dtypes that emit as part of compilation for the simple ufunc case...

dc271dfb87e634c0e6f32a297fb2725197591dde authored over 4 years ago by Stella Laurenzo <[email protected]>
NFC: Rename Support.(h|cpp) to Types.(h|cpp).

86ea90ba8405b259b33f085feebf61ddfbcbabc1 authored over 4 years ago by Stella Laurenzo <[email protected]>
Fix createTensorLikeArrayType() declaration.

4a5695ae9ca934b89a07e13f89386d70ea6d621b authored over 4 years ago by Stella Laurenzo <[email protected]>
Make common utilities for converting TypeNode <-> IR types.

* Generalizes the conversions from ObjectValueType <-> tensor and ndarray.
* Creates a utility t...

00c791f9254a2453c848bc395004ec5e8d9f9ace authored over 4 years ago by Stella Laurenzo <[email protected]>
Remove the existing attached values/ops from CPA types.

This was ad-hoc and needs to be replaced by a more principled track back to the IR.

97c92aa264748682ae67b28c20ccdbe2351451c0 authored over 4 years ago by Stella Laurenzo <[email protected]>
Update for renamed pass.

f66f4d7ef8d894f905b1c363751f3e8ed1d13853 authored over 4 years ago by Stella Laurenzo <[email protected]>
Fix some compiler option and warning levels.

adb8094108ff3e177335792c6f10fa4d2c718521 authored over 4 years ago by Stella Laurenzo <[email protected]>
NFC: Move CPATypeInference to Typing directory.

48a0b0ec7ff11d44004b959378ddb594fcf26601 authored over 4 years ago by Stella Laurenzo <[email protected]>
NFC: Move CPA typing analysis down a directory.

051d088161d474279614296f44d2a84eeed48416 authored over 4 years ago by Stella Laurenzo <[email protected]>
Extend the CPA type inference to work on numpy types/ops.

* Adds an op interface for adding CPA constraints.
* Adds a type conversion hook for handling bu...

6a50efd046ee5b27c42f5ddd7141f5985d4c193f authored over 4 years ago by Stella Laurenzo <[email protected]>
Add NdArray type inference conversion.

34861b18f4ee360bb80845a7dad1319cb93210f7 authored over 4 years ago by Stella Laurenzo <[email protected]>
Add constraint propagation and tracking of node members.

4a2f7c0b5f2452a8076c71783c3e307182498dd7 authored over 4 years ago by Stella Laurenzo <[email protected]>
More progress on CPA.

* Added transitivity propagation rules.
* Fixed up some copy-n-paste inversions from the old alg...

1a13c380330183e54d275599534a80bac4375d59 authored over 4 years ago by Stella Laurenzo <[email protected]>
Unique CPA type and constraints to enable comparison by pointer during propagation.

74b8bed7e39c54ab0bb4682e256e7a5dfce0cf0f authored over 4 years ago by Stella Laurenzo <[email protected]>
Introduce a type interface for mapping to CPA types.

* Currently just simplifies the logic for UnknownType -> TypeVar.

a257da46e2c31aec37e15d1f149c8a9f3d602b6d authored over 4 years ago by Stella Laurenzo <[email protected]>
NFC: Move CPA support down into it's own directory.

b0604684ba06b982ea4d67a1a2ca61d688d86d0d authored over 4 years ago by Stella Laurenzo <[email protected]>
Bump llvm and iree versions.

* Gets us passed the upstream changes that enable type interfaces.
* Adds the ARM backend due to...

e1839a0d6b21ad486e9ba0d949a84950cd36fc9f authored over 4 years ago by Stella Laurenzo <[email protected]>
Fix misspelled -gdwarf-2.

270608c781da8e17e8af8e7e45a635a0922b2a05 authored over 4 years ago by Stella Laurenzo <[email protected]>
Adjust configure script to probe more robustly.

918aa487e93bf8b31395a9d319bc534f6a762dcc authored over 4 years ago by Stella Laurenzo <[email protected]>
Some fixes to get npcomp building and passing on windows.

There is more that can be done here, but this gets it minimally working.

aeb422b0301195b4e1bc8a02c28119b5026a7c49 authored over 4 years ago by Stella Laurenzo <[email protected]>
Add skeleton of pass to do modified PCA type inference.

92190176fb2cec034174bec2fb0539812472b506 authored over 4 years ago by Stella Laurenzo <[email protected]>
Add some support classes for implementing a CPA type inference algorithm.

f1b08a0ef0567247e5a63e9da0f998ae1a96cf7c authored over 4 years ago by Stella Laurenzo <[email protected]>
Bump llvm and IREE version to revisions circa 2020/7/29.

* Also fixes a dependency issue that was causing a build race.

0962a31ca87361e9e6cfe0bfc6111d6b740f3a88 authored over 4 years ago by Stella Laurenzo <[email protected]>
Fix evaluation message reporting and add checks to tests.

2d4b0843c1f40e84ce584793758fdd3aee5bd9af authored over 4 years ago by Stella Laurenzo <[email protected]>
Fix broken link

d5e3902b6d89b7fee179f261e8505fd28801fbf0 authored over 4 years ago by Stella Laurenzo <[email protected]>
Add docs on ufuncs.

e5ac477862edf11460db78f04c877a780d95d469 authored over 4 years ago by Stella Laurenzo <[email protected]>
Update docs with notes on the numpy extension.

272f13fc31d90c369148fef713afe8d37be6a956 authored over 4 years ago by Stella Laurenzo <[email protected]>
Refactor old tracing tests and remove deprecated ops.

* Old doctests to run under lit.
* Old custom filecheck tests -> pytest directory (under lit).
*...

046751254f58dd2ccedef3450bc395079bd3c6f4 authored over 4 years ago by Stella Laurenzo <[email protected]>
Add partial evaluator for explicit numpy ufuncs.

* This enables emission of "numpy.add(a, b)" and several dozen others.
* Will deprecate original...

7ca292ade57f58753834d2ae24f059e71c2dd731 authored over 4 years ago by Stella Laurenzo <[email protected]>
Move numpy compiler support to new directory.

1024c508f891c7072bb1b6d3eda8d15b8c4c098b authored over 4 years ago by Stella Laurenzo <[email protected]>
Add value coding for ndarray.

* This lets us import arrays from the outer environment, which is the first step to actually han...

a4f3ce1ed34d763f81be050f78dc3c6fe7e8083c authored over 4 years ago by Stella Laurenzo <[email protected]>
Add create_array_from_tensor and copy_to_tensor ops.

f6721c173d736e283979a74ddcdff60d454f7c02 authored over 4 years ago by Stella Laurenzo <[email protected]>
Add test case for !numpy.ndarray.

b2708e46874ddafc44abdc18dda4407203f514a3 authored over 4 years ago by Stella Laurenzo <[email protected]>
Add NdArrayType.

efe89159014c657c0ff6629759303fa0b4d655d3 authored over 4 years ago by Stella Laurenzo <[email protected]>
Refactor environment.py into components.

* Creates a new top level Configuration class
* Adds a module for creating test configs, getting...

bccfd5f6fc1c6d19d9d4afebfff4ebf3de0af9c1 authored over 4 years ago by Stella Laurenzo <[email protected]>
Merge pull request #4 from google/stella_dev

Add "template function" ops and importer code.

d6b428fb607e5d125156afc302348629db69abcc authored over 4 years ago by Stella Laurenzo <[email protected]>
Add "template function" ops and importer code.

* This starts to lay down the infra for reasoning about calls
* Adds the importer code to genera...

7bd5733d38f3eb45c077e7e1aab0973c950ed7e7 authored over 4 years ago by Stella Laurenzo <[email protected]>
Update docs for 'macro' -> 'partial evaluation'.

26fd2a576e2d919c795f0afb0abfff3b3128e2d1 authored over 4 years ago by Stella Laurenzo <[email protected]>
Rename 'macro' nomenclature to 'partial eval'.

e45287d83e6f6062b84320512f680c709f9c2ded authored over 4 years ago by Stella Laurenzo <[email protected]>
Add macro facility and use it to enable module and namedtuple attribute resolution.

dd6a4e638b74e762206a84e54af0011c58e61654 authored over 4 years ago by Stella Laurenzo <[email protected]>
Add section on name resolution and update broken links.

25a580b8d3f3bb93c29f2a6c8c4545781314ae82 authored over 4 years ago by Stella Laurenzo <[email protected]>
Change test to explicit module level constant.

5e54bcfc8cf89a0a995c2fa74e1afbc4a04ba378 authored over 4 years ago by Stella Laurenzo <[email protected]>
Add constant resolution from globals and builtins.

e5958d820f2dd033177b059bb094062bc84e99ee authored over 4 years ago by Stella Laurenzo <[email protected]>
Factor name resolution and constant creation to a new environment facility.

f791909a2554c1cf036268b8fbb1a0466f0530e4 authored over 4 years ago by Stella Laurenzo <[email protected]>
Fix broken link

2242f4822872b18e9485d53bb8740561282aefca authored over 4 years ago by Stella Laurenzo <[email protected]>
Rework README, add docs, and move some scripts to better locations accordingly.

12d8459d730353292aa72e1093496a7fdea6e67f authored over 4 years ago by Stella Laurenzo <[email protected]>
Add a sample test that exercises short circuit control flow.

b3ecd57b2999fe432013118b4668a66d55ef40d1 authored over 4 years ago by Stella Laurenzo <[email protected]>
Wrap the IREE compiler flow in a one stop API.

b811db4b765a8db814624c7b93e00b583f526742 authored over 4 years ago by Stella Laurenzo <[email protected]>
Enable simple_invoke with upstream fix for scalar arguments.

dc87e09b5a481ceef67268821ee0f16e5e64faa1 authored over 4 years ago by Stella Laurenzo <[email protected]>
Bump revision and fix issues.

* llvm revision = 4836188ad9b3334b0c1e055d45ccaa54ed797e4b
* iree revision = 091482e8fdf599d6cb5c...

fc5f10c5c596466cb9352548869025e936f31c87 authored over 4 years ago by Stella Laurenzo <[email protected]>
Wire up IREE compilation and runtime in a new backend test.

* Adds python bindings for invoking flow, HAL, and VM lowering pipelines.
* Adds pythong binding...

529873d13c99ae850307cf17d69045eec9ac73c8 authored over 4 years ago by Stella Laurenzo <[email protected]>
Add _npcomp.backend.iree module.

* Populates with builders for the various path pipelines and translator.

373878f31f93be84548161af4b9030d6c73ffcaf authored over 4 years ago by Stella Laurenzo <[email protected]>
Move most python sources to the include and lib tree.

213041449f8de65990da7c6af4dae104cfe0e231 authored over 4 years ago by Stella Laurenzo <[email protected]>
Basicpy conversion to IREE+std skeleton and first conversions.

* Conversions to std for numeric binary expressions, numeric to_boolean, and numeric comparisons...

b21b5322f63b6bd1736be6ef3b1787656c4fd930 authored over 4 years ago by Stella Laurenzo <[email protected]>
Add script tools/format_source.sh and run it on all python and c++ sources.

2ba8296151941d8d9cb4c48cf8df9d3230615bfe authored over 4 years ago by Stella Laurenzo <[email protected]>
Introduce a Target class and use it to define generic 32 and 64bit variants.

c3d4436397145acad7e0beca9ab36378f280fcfd authored over 4 years ago by Stella Laurenzo <[email protected]>
Add conditional registration of IREE passes.

2bc7a77f98177a9e64387a72cf5cadbe92ffe9a7 authored over 4 years ago by Stella Laurenzo <[email protected]>
Make a real library for InitAll and extend it to conditionally initialize dependencies.

* Conditioned on the top level CMake option to enable IREE.
* There is still some warning flags ...

19196f23e1c4f9f4e1609630ef8e77f64669e714 authored over 4 years ago by Stella Laurenzo <[email protected]>
Add initial support for taking a dep on IREE.

* This won't work for most people until some upstream changes percolate.
* Sequestered it behind...

a29ef9adc810c39441f75b631ad38a715fc317f6 authored over 4 years ago by Stella Laurenzo <[email protected]>
Bump llvm-project to 52cae05e087b3d4fd02849fc37c387c720055ffb (2020/6/10).

* Fixes compile errors from upstream.
* XFAIL several tests that are now failing to legalize (wi...

308a54c3d02f08f38f8ced925304e2a037845959 authored over 4 years ago by Stella Laurenzo <[email protected]>
Extend type inference so that it works across conditional boundaries.

* The implementation is still limited but gives something to build on.

750541e9a9613915b0caf9ce8573cff5a49b3447 authored over 4 years ago by Stella Laurenzo <[email protected]>