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
Decompose aten._softmax_backward_data into aten math ops. Also decompose
`aten.size` to facilita...
This is to facilitate scalar type conversion in the TorchToLinalg. As
part of adding the helper,...
e23cabf3a90332e8f05063e25a24a050f1d69232 authored about 3 years ago
f41958037a16bb2b3b7f36242c469d70801658f2 authored about 3 years ago
People might want to lurk on discord, and not even check out the code yet.
a75ae8253094f9da543b8a6060abc35c27e73819 authored about 3 years ago
This commit adds end to end support for AtenToDtypeOp from aten
to linalg.
Signed-Off-By: Prate...
18e8806b14629d9fc56ab53ce3da474ff6b2c693 authored about 3 years agoAdd e2e support for torch.pow(Tensor, Float)
4bb9b44775fc54bf96dc69c44a2e36dbbfd2144a authored about 3 years ago
Support for returning elemental types. Previously, only
memref types as returning types was supp...
b33543af856621b79300db9c57515969617da2fc authored about 3 years ago
reused clang-format, as changes got deleted
5ff823ace9faab0814567e8a2a2ff4595f775754 authored about 3 years ago
This commit adds decomposition of `aten.Expand` to `aten.BroadcastTo`
op.
Signed-Off-by: Gaurav...
2ce47dc8e4d6abb9cd6ed51ecddc06f002228b2e authored about 3 years ago
The `aten.log_softmax` is decomposed into `aten.softmax` and
`aten.log` op.
The lowering of `torch.log` op has been added.
Signed-off-by: Prashant Kumar <prashant@nod-labs...
127c7d8e27ede211af77392b5277ba06fb515fb7 authored about 3 years ago6dde5b347e0e70d36bf278984b5f09bcf1511554 authored about 3 years ago
The lowering of `aten.Int.Tensor` op has been added.
The changes has been made as a part of `con...
- This commit adds lowering of `aten.View` to `linalg.TensorExpandShape`.
- This lowering will b...
The types have different levels of categories: where
complex > floating > integral > boolean (> ...
2ea2ab518b9be2c0fb57238148d06c3afd40f510 authored about 3 years ago
- Changes to dialect conversion that result in no-op materializations
not being created.
- Split out TOSA in the CI.
- Add summary of unexpected test outcomes. This works better when th...
After https://github.com/pytorch/pytorch/pull/65967 the `graph()` method
is only available on `t...
* [tosa] Add Torch.sigmoid fp32 to TOSA
Signed-off-by: Suraj Sudhir <[email protected]>
7e4ef747743bfd9e43de3edd7a971788df15f9ad authored about 3 years agoThis commit adds lowering of aten.permute to linalg.generic operation.
Signed-Off-By: Prateek G...
c33a2ca9528575a312351e203a005eb1c4422f20 authored about 3 years ago614b889dc698b6fe26e4443c17be589773083a52 authored over 3 years ago
Part of #380
Also
- BoolType is not considered as Scalar
- e2e framework fixes for nan handling...
029c30c060a20b2cffc3a70ad097d98f08901a24 authored over 3 years ago
Lowering of `aten.matmul` op is added from torch to linalg dialect.
The different cases correspo...
* Print more exception info on error during test execution
* Fix formatting
* Add aten::ge...
e276dbbaa6eb9bb1824d9625002b7946e294a20a authored over 3 years agoThe pass name changed upstream.
a6943ef90ce3144b673dfa4f6425bf0bb863e693 authored over 3 years agoIncludes a fix to use `add_mlir_public_c_api_library` for Torch-MLIR's CAPI library, which is no...
47209539a85082cda95286815cefdc1d4fc9cc98 authored over 3 years ago
Summary:
This commit fixes an off-by-one error in how negative dimensiosn were
being handled in ...
* Also adds a requirements.txt and updates docs to reference it versus stringy pip install.
* Ad...
Keeps redundent pull request and push workflows from running when pushing to branches in the mai...
92ae692387201791ad42352411a5adad8b20a2a6 authored over 3 years ago
* Picks up Python configure changes (was pinned to a bad intermediate commit).
* Uses the new m...
22aeb967c5bc09d68ab93638214ff9c3b2a9be69 authored over 3 years ago
abfaf8c577813316bcd2b9ec9686f1eaacfcd487 authored over 3 years ago
8853dfbc747c116ae65f56e3383ffd959f6858d4 authored over 3 years ago
7c47b9a0c8a4055f7ca2a5f0dbaaf4a5120f5e9f authored over 3 years ago
- Added a DecomposeComplexOps pass to decompose complex torchOps.
- Refactored `visitAtenArgmaxO...
This brings in https://reviews.llvm.org/D110797. PRs that are in
progress will need to use scrip...
By default CMake is quite happy to use any Python that it finds
to fit the version requirements.
Add argmax lowering from torch to linalg
7750d2173a42a9f2f09b2c87b4a4144a3e63b407 authored over 3 years ago
- Move `run_pipeline_with_repro_report` to a more common place, and use it
consistently
- Atta...
see https://github.com/llvm/torch-mlir/pull/356
fc5d03c0819ed96549b80c4fde035b8fb3a38630 authored over 3 years ago
We lower through linalg-on-tensors and use RefBackend to run it.
This adds enough support for a ...
Currently I haven't attempted to get the python bits working.
Instead the python bits are forci...
00d42ccaee0dd43eef157d0d92ee445f82f6ad49 authored over 3 years ago
This must be old copypasta.
b74779ff8de84cc1d0c779b211e7bb8326607e77 authored over 3 years agoNeed to do manylinux build for it to work across many machines.
00e94c70ef92b3ddc4495fc512d9ee066eb6d3dc authored over 3 years agode8ea59d52bd2e7d111d0d45418b1c7579ca5637 authored over 3 years ago
a157d6c94675aef010f43371f0ff7c32ca7f069d authored over 3 years ago
This allows `pip` to see them.
b6628fe7747d063be413778b8afd7af372654440 authored over 3 years ago
This closely follows IREE's
[schedule_snapshot_release.yml](https://github.com/google/iree/blob/...
Will add a CI job that builds and uploads snapshot packages next.
712445eaa82b41108ded49282a067d172542b307 authored over 3 years agoThese snuck through.
dcab39146f2d5893818b08f46a2f2612b72eb14d authored over 3 years ago2e1498ad118d7c38ffb28f94e3f1f2c13f619ce1 authored over 3 years ago
Replace the original BertSequenceClassification with this new one.
The ops needed to support are...
c3e0a1e1dc8cc97a0084ba0ed6291dbf5dda5bc3 authored over 3 years ago
This is a simple way for externals to plug their backends into the test
suite. They just impleme...
98ba2552883d5c998de97c8201b10c04a34dacbb authored over 3 years ago
b01f579687c67d266dabc8d32a5a93a0f693a161 authored over 3 years ago
The find/replace mangled it.
4ab23261ba5e13a8d00aa956c2b65fd31bfcc3d0 authored over 3 years agof0ed9e2d8d21c6e97df863b93a956b6c43a10b8a authored over 3 years ago
This commit (with approval from all contributors) dual licenses
the torch-mlir project under bot...
5917f1dc47f3fb44e0192c5460a0a937f2915f91 authored over 3 years ago
9fc059e9487d0aa8e1b1e409706a1398471f05a5 authored over 3 years ago
25a2c8bd857eb01549b028a322dea1d0e6f745e7 authored over 3 years ago
3aef3a9e30c47fe1f95fd60e3856f6c4484799b1 authored over 3 years ago
05a01b10b3d066eb2bb77f3e8439fb45174be83f authored over 3 years ago
bc62a7fbf304fe548d6c6b7f8872a460f6941f5b authored over 3 years ago
Use torch tracing to get the module because the original model is not
TorchScriptable out of box.
649d6e4f2841508635afeb2137070580454ae143 authored over 3 years ago
4a64fa28e763039c1f0d54ceff86b06b76c2ff9c authored over 3 years ago
36ac87dd836c6da5564dfa8a1eeaeaaa6b612c8f authored over 3 years ago
This brings in the fix for the obscure RefBackend bug we were hitting.
8b2c09991484d8325209006465f03e81c7d22051 authored over 3 years ago
Implement the `lazytensor` python package for converting
lazy computations captured by the Lazy...
2b99c8b990cde636b3bdfee12cc95c367e0b0dca authored over 3 years ago
b55baf508aaa4470fee601d02a5d663239dee583 authored over 3 years ago
2e6c423a654ae1b3ec354f3d39a16263420be36f authored over 3 years ago
TorchFX example has been simplified, since it seems to be hitting that
weird RefBackend bug. Wil...
de1a8c92f72e2e70bcfe012a29c09bf357a41dd0 authored over 3 years ago
4fad7530738e0ec5ef86f4324636cd064d377990 authored over 3 years ago
e687d39074e62f6018398380803c1af7b953e2f6 authored over 3 years ago
d8f603a4e5a2ea73e461df33ee4e73e90a503e75 authored over 3 years ago
This leaves no real code outside torch-mlir.
This also renames the "npcomp backend contract" to...
404bd74ddfb6dbfe9c3c4d4f05d59f843ebb9bfa authored over 3 years agoFix the tests to run with refbackend.
aa10ec66a795a20da61984dcb7bc103674f921ac authored over 3 years agocd7053dfde3946623fb229ca76ea65671d3c5d92 authored over 3 years ago
c9cc4cb2e96dbdcfdcb4b90aa652c496e01c7e3e authored over 3 years ago
This assertion was reachable from user code (e.g. !torch.qint8 dtype),
which should never be pos...
This moves it into TorchConversion since it is only needed there.
This removes the Backend/ dir...
2213584c4f153e37ab062e32f8dcf724a999dada authored over 3 years ago35fa1a34cd48172ecb8e7a8249f36cea1097e43f authored over 3 years ago
a99cbeeb7e03677b5d2b58bbf6a3cb4756ebc4fd authored over 3 years ago
01c6c54dd8fbd0bc9f60b3f8661dfd0de40fcc9b authored over 3 years ago
06559efe94ae4baed7f90a75dd733bdcd35344e0 authored over 3 years ago
Accidentally deleted it in the last commit.
e291aa688f708d176edb8d3950196f6f28dd6e2e authored over 3 years agocbafe55b3a5a950cff6138833ab6e9e0c3c5944a authored over 3 years ago
81a9cf7800e689f191f11aaaf3cea30695191739 authored over 3 years ago
2b18aad8073d906f76da72571c32ab015dd5974b authored over 3 years ago
Also contains the following changes:
- Remove derefineOp canonicalizer because it's not safe.
- ...
It still had a bit of stale stuff.
699159f4407c8b80a14939f34831428dbf513fff authored over 3 years ago