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

Mention installing python-dev package.

See https://github.com/llvm/torch-mlir/issues/647#issuecomment-1114328241

f31743b6518df46437abdc55eba7d7e855d9430f authored almost 3 years ago
[MLIR][TORCH] Add E2E support for aten.avg_pool2d op

This commit adds lowering of `aten.avg_pool2d` op.

Signed-Off By: Vivek Khandelwal <vivek@nod-l...

4b1128444007a3d9e07eeb01bb697e58663a1e7a authored almost 3 years ago
[TORCH][MLIR] Fix ConstantPad2dStaticModule test.

This commit fixes the `ConstantPad2dStaticModule` test case by adding
the lowering of `aten.pad`...

81ee5bb58c57cb88ea69005db8ce655bc8b3bb78 authored almost 3 years ago
importer: add initial support for loading BFloat16 tensors (#761)

This patch updates the `torch_mlir::convertTensorToMlirElementsAttr()`
method to enable the cre...

809f240f01a313ccee1f8e4326d42915418efa4b authored almost 3 years ago
Remove heavy_deps models that don't get serialized.

BART, BigBird and GPT2 are not being serialized and hence removed.
Also, changed the script to o...

5192a4e9f3e4cbc77838b70153cd4632aa43dd7f authored almost 3 years ago
[TORCH][MLIR]Add lowering for control flow operations.

1. This commit adds lowering of "while-like" prim loop to scf.while
operation.
2. Adds lowering ...

e1db318a3c5483dbcfa9ca56d9c190da2f67a775 authored almost 3 years ago
Add a script to build and upload M1 snapshots (#801)

Uses the latest snapshot tags and adds the releases to same asset
directories so it can be run ...

ef546e113734acb59b265fea89a6af4671c4ee6a authored almost 3 years ago
Fix the input tensors inplace update issue for e2e tests

Fix the inplace update tensor issue we had
where the torchscript execution would update the inpu...

7be9783f16fa16f69db36075a94620a732428fe0 authored almost 3 years ago
Revert "[MLIR][TORCH] Add E2E support for aten.ceil.float op"

This reverts commit 78f5747568f4ae9e95a83f680dc066a185ddff92.

5ef9f501fae5d97a614e01381efb84e4616687ee authored almost 3 years ago
Revert "[MLIR][TORCH] Add E2E support for aten.ne.float_int op"

This reverts commit 51dd4625927329f528b549faec90ff0be2d93392.

7669ee4e4af23ff96a47a8f88b216f2318df7f0f authored almost 3 years ago
Revert "[MLIR][TORCH] Add E2E support for aten.ge.float_int op"

This reverts commit 1f102cc400a72fa0926eb79f657e347af7c2d142.

eff144c0b797440905028e3247d749f396d2bf36 authored almost 3 years ago
Revert "[MLIR][TORCH] Add E2E support for aten.ge.float op"

This reverts commit 564734b2d7573e66b6b26ac81d35e0df01952102.

44c7b181d34dcb1d832fa0d742791fd7fee4be64 authored almost 3 years ago
[MLIR][TORCH] Add E2E support for aten.index_put.hacked_twin op

This commit decomposes `aten.index_put.hacked_twin` op into
`valsem.aten.index_put_impl` op.

Si...

e57e1968bc17cc98cbaef6c8355f9fce0dfd249e authored almost 3 years ago
[MLIR][TORCH] Add test cases for index_put op and fix formatting for index_put.py

This commit adds more test cases `aten::index_put` op.
This commit also fixes formatting issues ...

ab0eafb6177403d1100afa11aaaaf8ccdab96095 authored almost 3 years ago
[Bazel][Fix] Add missing dependency (#806)

57a28dfadce3c4f212355c3705df0b404514f660 authored almost 3 years ago
[MLIR][TORCH] Add E2E support for aten.ceil.float op

This commit adds lowering of `aten.ceil.float` op.
This commit also fixes formatting for the fil...

78f5747568f4ae9e95a83f680dc066a185ddff92 authored almost 3 years ago
Change to AnyTorch* except for Torch_X ones

86eb493a443ffceada475e33dcd648628b16a808 authored almost 3 years ago
Expand checks against PyTorch C++ ABI settings. (#777)

Compiling torch-mlir against a source version of PyTorch or an official
wheel compiled with the...

0667a5b3aed8cc243a90e92eca09709da5720c12 authored almost 3 years ago
[MLIR][TORCH] Add E2E support for aten.ne.float_int op

This commit adds lowering of `aten.ne.float_int` op.

Signed-Off By: Vivek Khandelwal <vivek@nod...

51dd4625927329f528b549faec90ff0be2d93392 authored almost 3 years ago
[MLIR][TORCH] Add E2E support for aten.ge.float op

This commit adds lowering of `aten.ge.float` op.

Signed-Off By: Vivek Khandelwal <vivek@nod-lab...

564734b2d7573e66b6b26ac81d35e0df01952102 authored almost 3 years ago
[MLIR][TORCH] Add E2E support for aten.div.float op

This commit adds lowering of `aten.div.float` op.

Signed-Off By: Vivek Khandelwal <vivek@nod-la...

f5b6c4b601d5dce93162b8e7ab654f9a45346c7a authored almost 3 years ago
[MLIR][TORCH] Add E2E support for aten.ge.float_int op

This commit adds lowering of `aten.ge.float_int` op.

Signed-Off By: Vivek Khandelwal <vivek@nod...

1f102cc400a72fa0926eb79f657e347af7c2d142 authored almost 3 years ago
Ensure that imported function input type and block arg types are consistent.

I wasn't able to find exactly what frontend situation created it, but
`torch.jit.trace` will som...

73cc2ac15238de1aa174d4984b4dc3ed04365cc3 authored almost 3 years ago
Fix bazel build post llvm-project bump (#803)

7f2577a84832fabdd14bd45392af4f1af54b065d authored almost 3 years ago
llvm: bump tag to e1318078 (#781)

The updated LLVM code includes a patch to create bfloat16 array
attributes, thus enabling a dif...

9208bf0eb63e3589b54b23324b5202916436a220 authored almost 3 years ago
types: allow bf16 as result type for various tensor ops (#798)

Prior to this patch, the result type for several tensor operations could
only be float32, float...

9ec47125161e66ca800cc413e1f33a36bbd2ee23 authored almost 3 years ago
Move development notes to development.md (#800)

* Update README.md

* Create development.md

Add a separate development.md file

a9ef4bb378e1730d902cb16e4f1cdc33bc514716 authored almost 3 years ago
Update README.md (#785)

50297864dfcd4c34b5bb13ea7434641ac78f317a authored almost 3 years ago
[MLIR][TORCH] Add heavydep tests for torch benchmarks

This commit adds e2e heavydep tests for the torch benchmarks.

Signed-Off By: Vivek Khandelwal <...

4635d36efbb35fc1b3ed635631676a6351dc30f5 authored almost 3 years ago
Update buildRelease.yml

Fix filename changed missed in Code Review.

2877a37ac6e436f5561f712c32b4d556bdd10647 authored almost 3 years ago
Fix version information in Release builds (#788)

env vars seems to be lost in manylinux docker.
Use a version file like IREE does.

6d09c98b2fa5aedea559f387b2cc3b97d1123b49 authored almost 3 years ago
Fix test fails due to upstream PyTorch change (#793)

* Add to eager tests to xfail while they are fixed.

Also XFAIL ConstantPad2dStaticModule_basi...

693f79a2b63e72d3b2af5f6528b0fe37ec6c394a authored almost 3 years ago
Add bazel build support (2/N) (#744)

- Add bazel GitHub actions.

6b3d0b7e7aecfb679d7d5387af272452f46ac52a authored almost 3 years ago
Update build_macos_packages.sh (#787)

Set the environment variable and export it since it doesn't seem to get passed down.

7d9138f4978a0cebdc0c7de6c7cd8ba966e99931 authored almost 3 years ago
Update releaseSnapshotPackage.yml

0f751498a7dddbf1759fdef7056c42eb94effb86 authored almost 3 years ago
Only upload torch*.whl (#786)

only upload torch*.whl to unblock OSX build failures during upload. We have to move to svenstaro...

d789aee11e3f765c06246aca38fdf8511c3d7b70 authored almost 3 years ago
Generate backward graph via functorch-aot module

Example to demonstrate the extraction of forward as well as
backward graph via Functorch's AOT m...

e9c785b04bde4dd7298f195e55ad117f4c0e92ac authored almost 3 years ago
doc: [nfc] add instruction for running Python regression tests

Prior to this patch, the top-level README did not include the line for
running the Python regres...

28bf9cc1fc5c9a2747d781cbdc614ff83db29801 authored almost 3 years ago
Update buildRelease.yml

Update artifact directory to ./build_tools/python_deploy/wheelhouse/*.whl

cbf158f069a719bb6d9ed4eea2b0cf0cb9583112 authored almost 3 years ago
[LINALG] Bug fix i64 vs i32 type comparison.

Comparing index type instead of integer types solves the problem.

5cdef0213dc62edb37bf7997ea59a5449bb1c032 authored almost 3 years ago
Update oneshotSnapshotPackage.yml

remove now deprecated inputs to build and test

9f2184da9845b101002ce79d4f0015a858d0a9df authored almost 3 years ago
Delete releasePackage.yml

8003b92fa774b0f937e3eb00583adf70d6d49c0c authored almost 3 years ago
Switch to using the new Release builds (#780)

c1026fa95b133d5032df66dfbdb68ae73a985724 authored almost 3 years ago
Minor buildsystem fixes (#778)

Sets up auto-pinning of latest torch-nightly

4ef61aa27f1cec6146d317519e844aceace8bf14 authored almost 3 years ago
Update buildManylinux.yml

use sudo for mac OS

0257d91a21e51c45692de0d86ac45589d7dafeaa authored almost 3 years ago
Update buildManylinux.yml

fix build naming

299c1bbe6dbabf3b8a4af2a6407617f2cf131108 authored almost 3 years ago
Enable OSX (Intel, Apple Silicon Builds) (#776)

Update pinned pytorch version. Will submit a follow on PR to bump.
Also update artifacts directory

b03eac4224589b09222de071f5070ef5923f71aa authored almost 3 years ago
Add oneshot release snapshot for test/ondemand (#768)

* Add oneshot release snapshot for test/ondemand

Add some build scripts to test new release f...

cc3a4a58ef7f8390d30b08c6d1b5b6f99a70b85e authored almost 3 years ago
[REFBACKEND] Add support for returning multiple different return types.

Added the dynamic registration of return function to the execution
engine. This makes sure that ...

33c9d256ea191e227a17c00e3cf175bc8107bcea authored almost 3 years ago
Pin the Python package to the exact PyTorch nightly.

This avoids issues where PyTorch version drift has made things
incompatible.

One caveat is that...

b69db60f858e250c0fe4c40a9bd157cdc8d6f20a authored almost 3 years ago
Change preferred style to be PEP8

712b78c674c0962dddcdbedeef9325f14bc594cb authored almost 3 years ago
Add a new `torch_mlir.compile` method.

This makes it much easier to convert models and hides all the
ClassAnnotator complexity.

This a...

075464fa741a8bcccfba1d303b8e52e4225d8621 authored almost 3 years ago
Improve README

8d700dee2179c8802a44e8d25080cd569008a0ba authored almost 3 years ago
Change cache suffix to not invalidate existing caches

3e0c1cf6af00fafbd7d8e78de848ee31f26a5290 authored almost 3 years ago
Review comments

578d0ec292e629c967553fa454383defc5642e65 authored almost 3 years ago
Use distinct ccaches

Since they run in distinct jobs, using the same ccache would
cause one job to overwrite the cach...

566650c5aef8c7c0e6743fcbe6eab09f181a8eeb authored almost 3 years ago
Refactor current CI workflow into composable jobs

37087ccd5fd908cf6879378ef3f1f030bc0a89c9 authored almost 3 years ago
Add build-out-of-tree job

4a2535a86d027d5664729381e01b29b2f313931c authored almost 3 years ago
address PR review

f9d5201ae62fa1010bfbca0315bd24fddf81e6ad authored almost 3 years ago
Add README instructions for OOT build

2a0c56741834f5bb433d6d7c90494dd10b96bd0b authored almost 3 years ago
Move COMMON_TORCH_MLIR_LOWERING_XFAILS into test_suite

That way, downstreams don't have to duplicate this list.

Also, remove "external config" feature...

3b5310d6d27283e7f7f26b9e2aaa656581747044 authored almost 3 years ago
[MLIR][TORCH] Add E2E support for max_pool2d_with_indices op

This commit adds lowering of `max_pool2d_with_indices` op.

Signed-Off By: Vivek Khandelwal <viv...

769f3a8870308c9d84d6de29adaefea8af19c249 authored almost 3 years ago
test: add end-to-end test for aten.neg (#760)

d3c08376affe5343d4ffd344023186f5c6877637 authored almost 3 years ago
Add shape transfer function and lowering to linalg for aten.neg (#759)

* shape: add shape transfer function for aten.neg

Prior to this patch, the list of shape tran...

a893c7d5cffc35e376767d959063fe4c1553909d authored almost 3 years ago
[MLIR][TORCH] Add E2E support for aten::max_pool2d_with_indices_backward op

This commit adds lowering of `aten::max_pool2d_with_indices_backward` op.

This commit also fixe...

1bccb4fc8aa221cfb1146bcf778b75a95c52b39f authored almost 3 years ago
Remove CCACHE settings and validate on OSX

Builds whl package for OSX. Need to validate smoke tests next

91d3e7ba15847aaf014b4cefecc7ee279f26c878 authored almost 3 years ago
Fixes https://github.com/llvm/torch-mlir/issues/751 where `torch.bool` is parsed as signless `i1`. (#752)

24f9de7120bcd95de3d341f325a46d19a6a2dc4c authored almost 3 years ago
Fix kwarg annotation in eager (#747)

d46f169c1a8443caa62b23b331779399f0d0c563 authored almost 3 years ago
small framework plus build_script_function (#745)

66de821eafaf8a01f4f95c4ba15751330384f833 authored almost 3 years ago
Fixes a bug in use of upstream `normalize_function` in our `normalize_args_kwargs` (in eager mode) and introduces unit tests. (#740)

NB: `shouldnt_normalize2` and `shouldnt_normalize3` currently XPASS i.e., args *will* successful...

18ef40acaf39b1f32dd1e292ce3883a1dad76ed1 authored almost 3 years ago
Add 2D case for convolution (#693)

9ec0683e928bdd1acea9aeb025ed542332fab902 authored almost 3 years ago
Rename optional list types (#643)

fa0b24a73ce4e403b077c8d894fe7a12d97303bb authored almost 3 years ago
Fix error message.

RefineTypes doesn't handle shape refinement anymore.

e7721fb784cab320bcde21446a8738652d0168fe authored almost 3 years ago
[LINALG] Add torch.layout information

torch.layout information has been added.

1d5b5a89e8e9ac75e4837b158fc4230eb7388b28 authored almost 3 years ago
Add bazel build support (1/N) (#706)

This PR adds rules for building the compiler part with bazel, a followup PRs will build the pyth...

eaf34fa02bd2d90d89e2bee2313c161f417c0709 authored almost 3 years ago
[LINALG] Add the lowering of `aten.ne.Scalar` op

The lowering of `aten.ne.Scalar` op has been added to
the linalg backend.

fb8cb0c5f36e76d8f65f7a4e33c46af96e5a0c3c authored almost 3 years ago
Add 1D, weight, and reduction support to nll_loss_backward (#729)

This commit adds the following support to the op `nll_loss_backward`:
- `input` tensor can be r...

5620fe030e75215f65bca2b2ac5a72b87a3adf9d authored almost 3 years ago
Fix out-of-tree build of torch-mlir-dialects (#726)

Follows up on #623 for out-of-tree builds of torch-mlir, which
added building `torch-mir-dialec...

886ad169e5da32e3a35c2936846c791cc9d6e795 authored almost 3 years ago
Update diagram for TOSA backend.

e1c7c1f9c5f626a63ddf7bb07c50f6997fbdc16c authored almost 3 years ago
Add link to forum post describing `__torch_dispatch__`

14cf87633c06348363811dd8f3dbeeaea2165228 authored almost 3 years ago
Add support for multi-dim input to `index_put_impl` (#722)

This commit adds support for multi-dimensional tensors as input to the
`_index_put_impl_` op. T...

51d4d55f8aa7ef61724df48abae603df328df3e8 authored almost 3 years ago
tosa] Support for Aten[Gelu|GeluBackward] ops (#720)

Signed-off-by: Anup Gangwar <[email protected]>

Co-authored-by: Anup Gangwar <anup.gangwar...

ccf924d3df2061c707f1a758e5f8c5682d15aa5d authored almost 3 years ago
Fix for 0-size dim inferred incorrectly.

The issue was in the canonicalizer for torch.aten.ge.int -- in cases
where the operands were swa...

c17c0a6ba2ff7721426de49c9f68dea6296a633e authored almost 3 years ago
Attempt to set Python package version to the snapshot identifier.

This should make the releases sort properly when `pip`'s
`-f`/`--find-links` argument is used.

8250f50c811e855f3525587136d376fdcc1a6db9 authored almost 3 years ago
[LINALG] Add E2E support for `aten.where.[Scalar|ScalarSelf|ScalarOther]` ops

This commit decomposes different variants of `aten.where.*` op into
`aten.where.Self` op. It cov...

969785d1b64e0ed0c64be98d83276678d9a75554 authored almost 3 years ago
[MLIR][TORCH] Add E2E support for aten.new_empty op

This commit decomposes `aten.new_empty` op into `aten.empty.memory_format` op.

This commit also...

2597c481f6a0719e1e3ee9d490c02c60607ef6af authored almost 3 years ago
Add minimal support for Union types.

A recent PyTorch commit made ConstantPad2d call a helper function with a
`Union[int, float]` typ...

140babd952c0cb86bc888a4d616ff41cd3496f4f authored almost 3 years ago
Try to get the release packages publishing again.

As per the docs on:
https://github.com/eregon/publish-release

> Note that the release must *not...

4f61b1fce104df7288eaf75e121628371a17a251 authored almost 3 years ago
Pin the CI to the latest working PyTorch.

I am investigating the breakage.

Also, fix "externals" rename in setup.py and some cases where ...

3a96078571b97fba380aa2f13a6a44332494b105 authored almost 3 years ago
Improve list index normalization SimplifyShapeCalculations. (#710)

The reified code to compute the shape of torch.aten.constant_pad_nd
uses negative indices when ...

f2269ced80a680e48c2cddff243c5de9a80be8b3 authored almost 3 years ago
This commit decomposes aten._reshape_alias op into aten.view op. (#690)

25ba51b2af05a97ffa1b7af1cf584d193a3633f6 authored almost 3 years ago
Eager mode description in the README and small example and ResNet18 example. (#707)

eecbf0bab6ce5b0d5197a8e43485aa2896a708fb authored almost 3 years ago
Fix bad rename from "pseudo" to "valsem".

520725cdc5aa3871423b107b000388dd17dcca5c authored almost 3 years ago
[SimplifyShapeCalculations] Fix AbstractlyInterpretListOpsWithinABlock

The logic in the rewriting phase had a bug in case of a read-only op
coming before mutation ops....

776426ea4edbea3a9a730fa35495f095bacf8520 authored almost 3 years ago
Fix some more uses of "e2e" that I missed in the last commit.

52c330cca25d2da3847a920d02eefd25c8845aed authored almost 3 years ago
Small bug fixes in eager mode (#691)

3e999beaea0ff63f1e89d377d3f7c041513cd9b3 authored almost 3 years ago
Remove "e2e" name from `examples/torchscript_resnet18_e2e.py`

That was back from an earlier stage in the project when e2e was a big
deal because we didn't hav...

1960ba76fba017cbd65b5953d512b1cc201d456a authored almost 3 years ago
Centralize all test serialization logic.

0378c75b35a94f8fbbd3b7e01f1471489d2b77bf authored almost 3 years ago
Tidy up README and examples

- update diagram to use the name "Eager Mode" instead of
`torch.dispatch`, which wasn't a very...

e59a91620a1afd341b7eef9153cc9da35cb8e876 authored almost 3 years ago
[NFC] Rename external -> externals (#699)

8383497704cf96dfe771983f2b2e4f1038de0612 authored almost 3 years ago