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

Add e2e support for aten._softmax_backward_data.

Decompose aten._softmax_backward_data into aten math ops. Also decompose
`aten.size` to facilita...

3bd9d2a4c75f9d46ab74711ad2edbf33e3edd469 authored almost 3 years ago by Yi Zhang <[email protected]>
Add convertScalarToDtype helper.

This is to facilitate scalar type conversion in the TorchToLinalg. As
part of adding the helper,...

05c4dd8e3905ad5c457922fb5bed70bccb8b2081 authored almost 3 years ago by Yi Zhang <[email protected]>
Add log2

e23cabf3a90332e8f05063e25a24a050f1d69232 authored almost 3 years ago by George Petterson <[email protected]>
Add NumToTensor

f41958037a16bb2b3b7f36242c469d70801658f2 authored almost 3 years ago by George Petterson <[email protected]>
README: Move Project Communication section higher

People might want to lurk on discord, and not even check out the code yet.

a75ae8253094f9da543b8a6060abc35c27e73819 authored almost 3 years ago by Sean Silva <[email protected]>
[TORCH][MLIR] Add E2E support for aten::to.dtype.

This commit adds end to end support for AtenToDtypeOp from aten
to linalg.

Signed-Off-By: Prate...

18e8806b14629d9fc56ab53ce3da474ff6b2c693 authored almost 3 years ago by Prateek Gupta <[email protected]>
Add lowering of "aten.pow.Tensor_Scalar" op

Add e2e support for torch.pow(Tensor, Float)

4bb9b44775fc54bf96dc69c44a2e36dbbfd2144a authored almost 3 years ago by Wang Kangyu <[email protected]>
Adding support for returning elemental types.

Support for returning elemental types. Previously, only
memref types as returning types was supp...

fd505db2c62c578bace4700fe3c544629f4c3785 authored almost 3 years ago by Prashant Kumar <[email protected]>
Add lowering of aten.floor op

b33543af856621b79300db9c57515969617da2fc authored almost 3 years ago by Wang Kangyu <[email protected]>
lowerd Sqrt to linalg

reused clang-format, as changes got deleted

5ff823ace9faab0814567e8a2a2ff4595f775754 authored almost 3 years ago by nodlabs <[email protected]>
[TORCH][MLIR] Add E2E support for aten.expand

This commit adds decomposition of `aten.Expand` to `aten.BroadcastTo`
op.

Signed-Off-by: Gaurav...

2ce47dc8e4d6abb9cd6ed51ecddc06f002228b2e authored almost 3 years ago by Gaurav Shukla <[email protected]>
Add lowering of `aten.log_softmax` op.

The `aten.log_softmax` is decomposed into `aten.softmax` and
`aten.log` op.

ef897dbb1924d90272f1a6a8a0a31f2b30077f1b authored almost 3 years ago by Prashant Kumar <[email protected]>
Add lowering of `torch.log` op

The lowering of `torch.log` op has been added.

Signed-off-by: Prashant Kumar <prashant@nod-labs...

127c7d8e27ede211af77392b5277ba06fb515fb7 authored almost 3 years ago by Prashant Kumar <[email protected]>
Add rsub

6dde5b347e0e70d36bf278984b5f09bcf1511554 authored almost 3 years ago by George Petterson <[email protected]>
Add lowering of `aten.Int.Tensor` op.

The lowering of `aten.Int.Tensor` op has been added.
The changes has been made as a part of `con...

53b4275ef5343fc742566fad28352aea0977db7b authored almost 3 years ago by Prashant Kumar <[email protected]>
[MLIR][TORCH] Add E2E support for `torch.aten.view`

- This commit adds lowering of `aten.View` to `linalg.TensorExpandShape`.
- This lowering will b...

69eaf9a1543b9107e249687b2c02368bb1f37837 authored almost 3 years ago by Gaurav Shukla <[email protected]>
Add type promotion code to refine types.

The types have different levels of categories: where
complex > floating > integral > boolean (> ...

752abc8d01e55b9282383786812a5eb1f9206fc8 authored almost 3 years ago by Yi Zhang <[email protected]>
Add contiguous

2ea2ab518b9be2c0fb57238148d06c3afd40f510 authored almost 3 years ago by George Petterson <[email protected]>
Update llvm-project to 6f9c25167d16acff3ff8e4f54a8c14a2a175fc59

- Changes to dialect conversion that result in no-op materializations
not being created.

eb6996d557c4e796fa8032262cc8f283479c1782 authored almost 3 years ago by Sean Silva <[email protected]>
Make error reporting a bit better.

- Split out TOSA in the CI.
- Add summary of unexpected test outcomes. This works better when th...

c46d48f9f57a16797773f87bf0aa7a1973165b8c authored almost 3 years ago by Sean Silva <[email protected]>
Fix for upstream Torch change.

After https://github.com/pytorch/pytorch/pull/65967 the `graph()` method
is only available on `t...

b02b65cf6e6421d9ce191bb4b7f0486d7134f2ec authored almost 3 years ago by Sean Silva <[email protected]>
[tosa] Add Torch.sigmoid fp32 to TOSA (#386)

* [tosa] Add Torch.sigmoid fp32 to TOSA

Signed-off-by: Suraj Sudhir <[email protected]>

7e4ef747743bfd9e43de3edd7a971788df15f9ad authored almost 3 years ago by Suraj Sudhir <[email protected]>
[TORCH][MLIR] Add E2E support for aten.permute.

This commit adds lowering of aten.permute to linalg.generic operation.

Signed-Off-By: Prateek G...

c33a2ca9528575a312351e203a005eb1c4422f20 authored almost 3 years ago by Prateek Gupta <[email protected]>
Enable python extensions when building out of tree (#363)

614b889dc698b6fe26e4443c17be589773083a52 authored almost 3 years ago by stephenneuendorffer <[email protected]>
Add min/max/clamp support.

Part of #380

Also
- BoolType is not considered as Scalar
- e2e framework fixes for nan handling...

30df2ec71b8f7c6f5e0bd5bb26a62e70c0520b77 authored almost 3 years ago by Sean Silva <[email protected]>
Fix typo in lazytensor example passes (#385)

029c30c060a20b2cffc3a70ad097d98f08901a24 authored almost 3 years ago by Ramiro Leal-Cavazos <[email protected]>
Add lowering of aten.matmul op.

Lowering of `aten.matmul` op is added from torch to linalg dialect.
The different cases correspo...

5009cbf55ca2210ee5d7822e73e674f039b139a2 authored almost 3 years ago by Prashant Kumar <[email protected]>
Add aten::gelu lowering (#374)

* Print more exception info on error during test execution

* Fix formatting

* Add aten::ge...

e276dbbaa6eb9bb1824d9625002b7946e294a20a authored almost 3 years ago by Boian Petkantchin <[email protected]>
Rename `tosa-to-linalg-on-tensors` to `tosa-to-linalg`

The pass name changed upstream.

a6943ef90ce3144b673dfa4f6425bf0bb863e693 authored almost 3 years ago by Sean Silva <[email protected]>
Bump llvm-project to f1b922188ead5ca492c8d8edd47921b013a22ae0.

Includes a fix to use `add_mlir_public_c_api_library` for Torch-MLIR's CAPI library, which is no...

47209539a85082cda95286815cefdc1d4fc9cc98 authored almost 3 years ago by Stella Laurenzo <[email protected]>
Fix bug with transpose of negative dims

Summary:
This commit fixes an off-by-one error in how negative dimensiosn were
being handled in ...

8bfb819d35cfe5857edc1d76706b3985166e82c6 authored almost 3 years ago by Ramiro Leal-Cavazos <[email protected]>
Set some wheel building optimization options.

* Also adds a requirements.txt and updates docs to reference it versus stringy pip install.
* Ad...

a23d77100bf3029eec6b5a40abae3cd3499b9526 authored almost 3 years ago by Stella Laurenzo <[email protected]>
Filter checks to only run on push to main branch. (#372)

Keeps redundent pull request and push workflows from running when pushing to branches in the mai...

92ae692387201791ad42352411a5adad8b20a2a6 authored almost 3 years ago by Stella Laurenzo <[email protected]>
Bump llvm-project to 3d92722f74993969243d1400bc3257ca3d03902f. (#369)

* Picks up Python configure changes (was pinned to a bad intermediate commit).
* Uses the new m...

fe69bb339c0c93db53dc5357fb6439a8c19040a8 authored almost 3 years ago by Stella Laurenzo <[email protected]>
Add ones

22aeb967c5bc09d68ab93638214ff9c3b2a9be69 authored almost 3 years ago by George Petterson <[email protected]>
Add aten.ne.bool to make CI pass

abfaf8c577813316bcd2b9ec9686f1eaacfcd487 authored almost 3 years ago by Yi Zhang <[email protected]>
Add broadcast

8853dfbc747c116ae65f56e3383ffd959f6858d4 authored almost 3 years ago by George Petterson <[email protected]>
Formatting fix

7c47b9a0c8a4055f7ca2a5f0dbaaf4a5120f5e9f authored almost 3 years ago by George Petterson <[email protected]>
E2e support for aten.softmax.int and aten.embedding

- Added a DecomposeComplexOps pass to decompose complex torchOps.
- Refactored `visitAtenArgmaxO...

a459e09ab7639650045ffbeb351c3b37b5734d27 authored about 3 years ago by Yi Zhang <[email protected]>
Update llvm-project to a54f4eae0e1d0ef5adccdcf9f6c2b518dc1101aa

This brings in https://reviews.llvm.org/D110797. PRs that are in
progress will need to use scrip...

090243888259e6f24df355fdd0aaf679cdc9e660 authored about 3 years ago by Yi Zhang <[email protected]>
In readme build instructions force CMake to use Python virtual env

By default CMake is quite happy to use any Python that it finds
to fit the version requirements.

393bd211c7b1209db83a3a246afd943960596aeb authored about 3 years ago by Boian Petkantchin <[email protected]>
add argmax lowering

Add argmax lowering from torch to linalg

7750d2173a42a9f2f09b2c87b4a4144a3e63b407 authored about 3 years ago by dan <[email protected]>
Bring some more order to the e2e error reporting situation.

- Move `run_pipeline_with_repro_report` to a more common place, and use it
consistently
- Atta...

19e9fc4ef12d7207eadd3dc9121aebe1555ea8dd authored about 3 years ago by Sean Silva <[email protected]>
post-commit review cleanup for #356

see https://github.com/llvm/torch-mlir/pull/356

fc5d03c0819ed96549b80c4fde035b8fb3a38630 authored about 3 years ago by Stephen Neuendorffer <[email protected]>
Add a basic TOSA E2E backend.

We lower through linalg-on-tensors and use RefBackend to run it.
This adds enough support for a ...

0c5c84d63de3988da31ca3bfffb5faaebcaa4f44 authored about 3 years ago by Sean Silva <[email protected]>
Add support for out-of-tree building (#356)

Currently I haven't attempted to get the python bits working.
Instead the python bits are forci...

df12cc0c37baf9c1b6eae0f94cce084c290a42e3 authored about 3 years ago by stephenneuendorffer <[email protected]>
Add tool substitutions to support out-of-tree builds

00d42ccaee0dd43eef157d0d92ee445f82f6ad49 authored about 3 years ago by Stephen Neuendorffer <[email protected]>
Remove stray references to non-existent .td file.

This must be old copypasta.

b74779ff8de84cc1d0c779b211e7bb8326607e77 authored about 3 years ago by Sean Silva <[email protected]>
Remove packaging info for now.

Need to do manylinux build for it to work across many machines.

00e94c70ef92b3ddc4495fc512d9ee066eb6d3dc authored about 3 years ago by Sean Silva <[email protected]>
Fix feedback from Anush.

de8ea59d52bd2e7d111d0d45418b1c7579ca5637 authored about 3 years ago by Sean Silva <[email protected]>
Add instructions for installing from packages.

a157d6c94675aef010f43371f0ff7c32ca7f069d authored about 3 years ago by Sean Silva <[email protected]>
Mark releases as "published".

This allows `pip` to see them.

b6628fe7747d063be413778b8afd7af372654440 authored about 3 years ago by Sean Silva <[email protected]>
Add torch_mlir snapshot packages.

This closely follows IREE's
[schedule_snapshot_release.yml](https://github.com/google/iree/blob/...

4a8d05e4a508d5a04657c9dc6debadf3382bd532 authored about 3 years ago by Sean Silva <[email protected]>
Bring back Python packaging.

Will add a CI job that builds and uploads snapshot packages next.

712445eaa82b41108ded49282a067d172542b307 authored about 3 years ago by Sean Silva <[email protected]>
Remove the last mentions of npcomp from torch-mlir

These snuck through.

dcab39146f2d5893818b08f46a2f2612b72eb14d authored about 3 years ago by Sean Silva <[email protected]>
add i64 support to refbackend

2e1498ad118d7c38ffb28f94e3f1f2c13f619ce1 authored about 3 years ago by dan <[email protected]>
E2e for MiniLM-L6-H384-uncased-sst2

Replace the original BertSequenceClassification with this new one.
The ops needed to support are...

fadd76e9b8a3a49f99415b094df0af41644e2778 authored about 3 years ago by Yi Zhang <[email protected]>
Add shell markdown formatting to README.md

c3e0a1e1dc8cc97a0084ba0ed6291dbf5dda5bc3 authored about 3 years ago by Phoenix Meadowlark <[email protected]>
Add --external-config option to tools/torchscript_e2e_test.sh

This is a simple way for externals to plug their backends into the test
suite. They just impleme...

f69630255a0d8908b926895bc269e81252e2ac09 authored about 3 years ago by Sean Silva <[email protected]>
E2e support for layernorm.

98ba2552883d5c998de97c8201b10c04a34dacbb authored about 3 years ago by Yi Zhang <[email protected]>
Missing newline in notebook.

b01f579687c67d266dabc8d32a5a93a0f693a161 authored about 3 years ago by Sean Silva <[email protected]>
Fix notebook after relicensing.

The find/replace mangled it.

4ab23261ba5e13a8d00aa956c2b65fd31bfcc3d0 authored about 3 years ago by Sean Silva <[email protected]>
Fix update_torch_ods.sh

f0ed9e2d8d21c6e97df863b93a956b6c43a10b8a authored about 3 years ago by Sean Silva <[email protected]>
Dual license the torch-mlir project.

This commit (with approval from all contributors) dual licenses
the torch-mlir project under bot...

5b6902e31c1bf61859ec03e77750407dbb011e44 authored about 3 years ago by Sean Silva <[email protected]>
Remove last mentions of IREE.

5917f1dc47f3fb44e0192c5460a0a937f2915f91 authored about 3 years ago by Sean Silva <[email protected]>
Remove old outdated roadmaps. Add placeholder new one.

9fc059e9487d0aa8e1b1e409706a1398471f05a5 authored about 3 years ago by Sean Silva <[email protected]>
Add notes on missing lazy tensor ops for ResNet18 and MaskRCNN

25a2c8bd857eb01549b028a322dea1d0e6f745e7 authored about 3 years ago by Ramiro Leal-Cavazos <[email protected]>
Remove duplicate example + fix README typo

3aef3a9e30c47fe1f95fd60e3856f6c4484799b1 authored about 3 years ago by Ramiro Leal-Cavazos <[email protected]>
Add example deps for torchscript_resnet18_e2e.py

05a01b10b3d066eb2bb77f3e8439fb45174be83f authored about 3 years ago by Sean Silva <[email protected]>
Update to new name of torchscript-module-to-linalg-on-tensors-backend-pipeline

bc62a7fbf304fe548d6c6b7f8872a460f6941f5b authored about 3 years ago by Sean Silva <[email protected]>
Add BertSequenceClassification model to e2e

Use torch tracing to get the module because the original model is not
TorchScriptable out of box.

89225b0cd83720b25a152dea525a0c987c86ee8c authored about 3 years ago by Yi Zhang <[email protected]>
Update README.md

649d6e4f2841508635afeb2137070580454ae143 authored about 3 years ago by powderluv <[email protected]>
Add MLP1Layer IR sample.

4a64fa28e763039c1f0d54ceff86b06b76c2ff9c authored about 3 years ago by Sean Silva <[email protected]>
Update Readme with examples (#336)

36ac87dd836c6da5564dfa8a1eeaeaaa6b612c8f authored about 3 years ago by powderluv <[email protected]>
Update llvm-project to 204d301bb1921431a853c0bfba32007c018df1d5

This brings in the fix for the obscure RefBackend bug we were hitting.

8b2c09991484d8325209006465f03e81c7d22051 authored about 3 years ago by Sean Silva <[email protected]>
Implement the lazytensor package (#331)

Implement the `lazytensor` python package for converting
lazy computations captured by the Lazy...

b59f2cb67389f8bff90b57fc4a1aff82dac55145 authored about 3 years ago by Ramiro Leal-Cavazos <[email protected]>
Wordsmith readme

2b99c8b990cde636b3bdfee12cc95c367e0b0dca authored about 3 years ago by Sean Silva <[email protected]>
Updates to Readme.md (#334)

b55baf508aaa4470fee601d02a5d663239dee583 authored about 3 years ago by powderluv <[email protected]>
Caught by grammar police. PyTorch it is, not Pytorch. (#333)

2e6c423a654ae1b3ec354f3d39a16263420be36f authored about 3 years ago by powderluv <[email protected]>
Update examples.

TorchFX example has been simplified, since it seems to be hitting that
weird RefBackend bug. Wil...

64ce5d54d3ccb100eb49d8b448da4227c16f7e24 authored about 3 years ago by Sean Silva <[email protected]>
First pass cleaning the README

de1a8c92f72e2e70bcfe012a29c09bf357a41dd0 authored about 3 years ago by Sean Silva <[email protected]>
Move external/torch-mlir to the root of the repo.

4fad7530738e0ec5ef86f4324636cd064d377990 authored about 3 years ago by Sean Silva <[email protected]>
Update buildAndTest.yml

e687d39074e62f6018398380803c1af7b953e2f6 authored about 3 years ago by Sean Silva <[email protected]>
Remove old stuff in prep for move-to-root.

d8f603a4e5a2ea73e461df33ee4e73e90a503e75 authored about 3 years ago by Sean Silva <[email protected]>
Port the bulk of the remaining code to torch-mlir

This leaves no real code outside torch-mlir.

This also renames the "npcomp backend contract" to...

404bd74ddfb6dbfe9c3c4d4f05d59f843ebb9bfa authored about 3 years ago by Sean Silva <[email protected]>
Fix torchscript_resnet18_e2e.py and resnet_inference.ipynb

Fix the tests to run with refbackend.

aa10ec66a795a20da61984dcb7bc103674f921ac authored about 3 years ago by Yi Zhang <[email protected]>
Add runtime check

cd7053dfde3946623fb229ca76ea65671d3c5d92 authored about 3 years ago by Yi Zhang <[email protected]>
Add i64 tensor argument support and bring back GatherModule_basic

c9cc4cb2e96dbdcfdcb4b90aa652c496e01c7e3e authored about 3 years ago by Yi Zhang <[email protected]>
Emit a proper error.

This assertion was reachable from user code (e.g. !torch.qint8 dtype),
which should never be pos...

12d0fe7c85eb978b1025f69c2639436e047a7ca0 authored about 3 years ago by Sean Silva <[email protected]>
VerifyBackendContract -> VerifyLinalgOnTensorsBackendContract

This moves it into TorchConversion since it is only needed there.

This removes the Backend/ dir...

2213584c4f153e37ab062e32f8dcf724a999dada authored about 3 years ago by Sean Silva <[email protected]>
npcomp-lsp-server -> torch-mlir-lsp-server

35fa1a34cd48172ecb8e7a8249f36cea1097e43f authored about 3 years ago by Sean Silva <[email protected]>
Move TorchConversion dialect and TorchTo* into torch-mlir

a99cbeeb7e03677b5d2b58bbf6a3cb4756ebc4fd authored about 3 years ago by Sean Silva <[email protected]>
Fix dependency.

01c6c54dd8fbd0bc9f60b3f8661dfd0de40fcc9b authored about 3 years ago by Sean Silva <[email protected]>
Update diagram and Readme.md

06559efe94ae4baed7f90a75dd733bdcd35344e0 authored about 3 years ago by Anush Elangovan <[email protected]>
Bring back tools/torchscript_e2e_test.sh

Accidentally deleted it in the last commit.

e291aa688f708d176edb8d3950196f6f28dd6e2e authored about 3 years ago by Sean Silva <[email protected]>
Add Torch-mlir.png Architecture Diagram

cbafe55b3a5a950cff6138833ab6e9e0c3c5944a authored about 3 years ago by anush elangovan <[email protected]>
Update README.md

81a9cf7800e689f191f11aaaf3cea30695191739 authored about 3 years ago by powderluv <[email protected]>
Removed import typo in torchfx example

2b18aad8073d906f76da72571c32ab015dd5974b authored about 3 years ago by Ramiro Leal-Cavazos <[email protected]>
E2e implementation for `aten.cat`,`aten.gather`, `aten.bmm`

Also contains the following changes:
- Remove derefineOp canonicalizer because it's not safe.
- ...

603e068e45ead15b5c172cab44070e5b727c0ac0 authored about 3 years ago by Yi Zhang <[email protected]>
Remove frontends/ directory.

It still had a bit of stale stuff.

699159f4407c8b80a14939f34831428dbf513fff authored about 3 years ago by Sean Silva <[email protected]>