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

[tosa] Support for Aten[Unsqueeze|Contiguous|Dropout|Reshape|View] ops (#700)

5d7a6c2976278c9ec2fe3f2ddd3e02c5a65de897 authored over 2 years ago by Anup Gangwar <[email protected]>
Move e2e test definitions into the `torch_mlir_e2e_test` package

This is the first step to making the e2e framework convenient to use
by downstream backends.

6b637a9fd91022f18eb272fac5426bc93034f901 authored over 2 years ago by Sean Silva <[email protected]>
[MLIR][TORCH] Add support for same input and output shapes for view op

This commit adds support for the cases of view op where the rank and
the shapes of the input and...

88c216da13dbce32e9d122b5c962a584925c1400 authored over 2 years ago by Vivek Khandelwal <[email protected]>
[LINALG] Add E2E support for `aten.zero_` op

This commit adds decomposition of `aten.zero_` op.

Signed-Off-by: Gaurav Shukla <gaurav@nod-lab...

02b6d04eb402143ed53044610d829c1ae88d0fb2 authored over 2 years ago by Gaurav Shukla <[email protected]>
Add note to not edit upstream_shape_helpers.py

94df096c11011667ddd0da1a5058f7918732b5dc authored over 2 years ago by Sean Silva <[email protected]>
Add hugging face `albert-base-v2` in torchscript_e2e_heavydep_tests

`albert-base-v2` for sequence classification is added in e2e_heavy_test.

730cdcd071811b47e171b5b639ea640fa4f5764d authored over 2 years ago by Prashant Kumar <[email protected]>
Add final cast to TorchToLinalg conversions missing it (#692)

In order to make sure that the TorchToLinalg conversions leave the
graph in a valid state, the ...

e966112c8d3cf7005d942c446d95ae3a73d45b90 authored over 2 years ago by Ramiro Leal-Cavazos <[email protected]>
Add non-default dtype support for a few elementwise math ops. (#687)

* fix type inference
* fix Torch2Linalg conversion
* add test cases

f7c7bb800c94faf0f0811fbe66b7147f3842bfbf authored over 2 years ago by Qiang Fu <[email protected]>
This PR implements an eager mode backend for PyTorch through the torch-mlir framework. This is accomplished by overriding the `__torch_dispatch__` class method on wrapper subclass `TorchMLIRTensor(torch.Tensor)`.

Effectively, this mode works by compiling op by op as the NN is eagerly executed by PyTorch. Ent...

fe8ac57e6d15b0cbfd3a4e3f675d4182c1e44b3c authored over 2 years ago by max <[email protected]>
[NFC] Split BackendTypeConversion -> (BackendTypeConversion, BackendTypeConversionPasses)

f9d34596e83b5b3e1f804aa78f869a929d59bba9 authored over 2 years ago by Ahmed Taei <[email protected]>
Update Torch-MLIR architecture diagram

Torch FX was never really a different path, since all FX modules are
actually valid TorchScript ...

6a7cf0c3042d2522cef789950bcec2369287433e authored over 2 years ago by Sean Silva <[email protected]>
[LINALG] Add decomposition of `aten.dropout` op

- This commit adds decomposition of `aten.dropout` op. It also covers the
training mode of the...

7c3ba25238ac73850fcdd698be1fb084f8a58e49 authored over 2 years ago by Gaurav Shukla <[email protected]>
Reduce compilation time for TorchOps.cpp.inc

The `assemblyFormat` stuff (which generates unrolled, per-op C++ code)
was taking up a lot of co...

729402c3f437f8f63b1e4ddbf84acca0567489db authored over 2 years ago by Sean Silva <[email protected]>
[MLIR][TORCH] Add value tensor variant to aten::copy_ op

This commit adds the op `ValsemVariantAtenCopyOp` that represents
`AtenCopy_Op` without the unde...

13383b03b881259ce05807c400a51b6109c8565d authored over 2 years ago by Vivek Khandelwal <[email protected]>
[MLIR][TORCH] Add E2E support for aten._to_copy op

This commit decomposes `aten._to_copy` op into
`valsem.aten.copy` op.

Signed-Off By: Vivek Khan...

5b9bdfaf3fb56c5aed12d689e21c9884b1c5a789 authored over 2 years ago by Vivek Khandelwal <[email protected]>
[MLIR][TORCH] Add E2E support for aten.expand_as op

This commit decomposes `aten.expand_as` op into `aten.broadcast_to` op.

Signed-Off By: Vivek Kh...

4c0cd5c23d7df32303416b7065015676fa82e206 authored over 2 years ago by Vivek Khandelwal <[email protected]>
Bump LLVM at 8361c5da30588d3d4a48eae648f53be1feb5cfad

63fb1e5aad7b0c346527d1814234ecf5d98a505e authored over 2 years ago by Vigilans <[email protected]>
Make conditions for type refinement of static cast less strict (#680)

This commit adds support for type refinement when
`torch.tensor_static_info_cast`s are involved...

218b4875d578419c1e3484fd77c47f5790bcf17d authored over 2 years ago by Ramiro Leal-Cavazos <[email protected]>
[TORCH][MLIR] Fix the return types of `aten.native_layer_norm`.

This commit fixes the 2nd and 3rd return types of the `aten.native_layer_norm`.
Previously the m...

7256c9e395e4d3df0fbf635a4b109756885279d9 authored over 2 years ago by Prateek Gupta <[email protected]>
Make TorchOps.cpp faster to iterate on.

The ODS-generated code included via the `TorchOps.cpp.inc` file takes a
very long time to compil...

3b66b4925a7287f624a7c441ac4870873613557b authored over 2 years ago by Sean Silva <[email protected]>
[MLIR][TORCH] Add E2E support for aten.index_put op

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

Signed-Off By:...

8da7d9061117a02804927a925b6038f6d3fbdcdb authored over 2 years ago by Vivek Khandelwal <[email protected]>
[MLIR][TORCH] Add value tensor variant to aten::_index_put_impl_

This commit adds the op `ValsemVariantAtenIndexPutImplOp` that represents
`Aten_IndexPutImpl_Op`...

3d95c3d6c90b892fa8064f5a7244d4f600f5ae60 authored over 2 years ago by Vivek Khandelwal <[email protected]>
Fix convert_to_loops.mlir format

8a4388ea7bc88eb3591eec64499847012bfc16c0 authored over 2 years ago by Yi Zhang <[email protected]>
Add maximize-value-semantics support for multiple non-value tensor inputs (#659)

This commit adds value semantics support for ops such as
`aten.view_as` and `aten.expand_as` th...

0bcc6d1075c4f9b12c177136294c8ebcec60f99f authored over 2 years ago by Ramiro Leal-Cavazos <[email protected]>
Improve "pseudo" op terminology.

The term "pseudo" is very vague and was getting confusing (I felt I had
to explain it in every c...

92da4988f004b5ecbef64802f812fe4880d04f29 authored over 2 years ago by Sean Silva <[email protected]>
Avoid `using` the `torch_upstream` namespace.

This is code that we always want to treat as "foreign" and not get too
comfortable using in many...

7ea50a537a7b2e83ff3f745922a1d3400c55da3e authored over 2 years ago by Sean Silva <[email protected]>
Elide `!torch.` prefix in nested dialect types.

This leads to much more succinct types in many cases:

```
!torch.list<!torch.int>
!torch.list<i...

84a9693006f2c86cd1f5e48bf31c88ff392202fc authored over 2 years ago by Sean Silva <[email protected]>
Remove basic_mt from the heavydep tests

This was an aspirational goal at an earlier stage in the project where
the focus was heavily on ...

3734f691197ae299aeb649f04b4b9df9abc2acca authored over 2 years ago by Sean Silva <[email protected]>
Introduce new shape library design.

See the documentation in `docs/shape_lib.md` and
`docs/adding_a_shape_function.md` for an overvi...

a5fe0cf06308af3a372e40ae927995f7920fb55d authored over 2 years ago by Sean Silva <[email protected]>
Split up TorchToLinalg.cpp

This helps keep things organized and also exposes more parallelism to
the build system. It seems...

5d9222383ce80567911794e4104f336279911a87 authored over 2 years ago by Sean Silva <[email protected]>
[TORCH] Fix the location of packed_params.

The location of packed_params.h is changed in aten src.

b6d13301fc4179a76f4e66b6d58d5d344bc663a7 authored over 2 years ago by Prashant Kumar <[email protected]>
Combine maximize-value-semantics rewrite patterns into one pattern (#642)

This commit replaces the two rewrite patterns of
maximize-value-semantics with a single pattern...

51e267aa372c32f037fb45813fc39a5ece86e273 authored over 2 years ago by Ramiro Leal-Cavazos <[email protected]>
Fix scatter op bufferization to alway copy original tensor

3510b2ba9d49c18d0c34a4587fc08e3996954fc2 authored over 2 years ago by Yi Zhang <[email protected]>
[MLIR][TORCH] Add E2E support for aten.erf op.

Signed-Off-By: Prateek Gupta <[email protected]>

3d9ba5e525a64b1de0081bd4349dac1266be9cb1 authored over 2 years ago by Prateek Gupta <[email protected]>
[MLIR][TORCH] Move common helper functions to Utils.cpp

This commit moves the helper function which are common across
different torch-mlir conversion pa...

b2952b12dd9c2f908a29499ae4eef775b5e56ff0 authored over 2 years ago by Vivek Khandelwal <[email protected]>
[MLIR][TORCH] Add TorchToTMTensor pass

This pass is added to lower ops, which can not be lowered
via the TorchToLinalg pass, such as `t...

1a2a9e066f320e725927a7094b5a668eae358453 authored over 2 years ago by Vivek Khandelwal <[email protected]>
[MLIR][TORCH]Add support for integer-type inputs for sum and max op

This commit adds support for integer type inputs for
`AtenMaxOp`, `AtenSumOp`, `AtenSumDimIntLis...

bf463d1f36ed4e59955245b30ce4f62d6d221498 authored over 2 years ago by Vivek Khandelwal <[email protected]>
Add a README.md to torch-mlir-dialects

af7f42fd93510d6d353e5013000b8a6ccfd90017 authored over 2 years ago by Yi Zhang <[email protected]>
[LINALG] Fix `aten.bernoulli` op lowering

- This commit adds E2E support for `aten.rand_like` and
`aten.bernoulli_.Tensor` ops.
- The `a...

e57d3f977450d5e516b360e236e62a0ab81ef908 authored over 2 years ago by Gaurav Shukla <[email protected]>
[MLIR][TORCH] Add E2E support for aten.full_like op

This commit decomposes `aten.full_like` op into `aten.empty_like`
and `aten.fill` op.

Signed-Of...

af551bd9cdbbf3d82d2ae53344d67a7be146a7bf authored over 2 years ago by Vivek Khandelwal <[email protected]>
[MLIR][TORCH] Add E2E support for aten.full op

This commit decomposes `aten.full` op into `aten.empty` and
`aten.fill` op.

Signed-Off By: Vive...

d61ae92eeefcf96cd5137e2464e934f0b0b5b20a authored over 2 years ago by Vivek Khandelwal <[email protected]>
Add static type information support to `aten.bmm` (#636)

This commit adds static type information support to `aten.bmm`. This
is needed for the forward ...

9ce62473f959df9c38e9252f5127eb7aa54e7dc7 authored over 2 years ago by Ramiro Leal-Cavazos <[email protected]>
Add bufferization pass for TMTensor ops

The pass is mostly borrowed from the BufferizeAnyLinalgOp pass in mlir
upstream with some minor ...

486f95e84f587d020ba789b071b12f890510f1a1 authored over 2 years ago by Yi Zhang <[email protected]>
[LINALG] Add torch-to-linalg lowering for `TensorStaticInfoCastOp` (#634)

This commit adds a lowering for `TensorStaicInfoCastOp` that simply
replaces the op with the `t...

5ec70c175def1db1f071d1b113a49f41f93076a9 authored over 2 years ago by Ramiro Leal-Cavazos <[email protected]>
[LINALG] Add handling of unknown dimension in size list of `view` op (#633)

The view op allows for the new shape argument to have a -1 value for
one of the dimensions, and...

298eeb79ca95a26a528a3f13af856bc8de85cba9 authored over 2 years ago by Ramiro Leal-Cavazos <[email protected]>
Add aten.hardtanh e2e support.

1d285f01535b21e01121ee57f891fda576f22e7d authored over 2 years ago by Yi Zhang <[email protected]>
Decompose aten.silu op

Decomposition of aten.silu.op is added as silu(x) = x * sigmoid(x).

819f29316f961cf77a754ea2567f66a8a35cc493 authored over 2 years ago by Prashant Kumar <[email protected]>
[MLIR][TORCH] Add E2E support for aten.new_zeros, aten.new_ones op

This commit adds lowering of `aten.new_zeros` and `aten.new_ones` op

Signed-Off By: Vivek Khande...

ddd45d60687dfc0bbe66d2b37f3e5b839ae969d5 authored over 2 years ago by Vivek Khandelwal <[email protected]>
[LINALG] Support for contiguous memory format in `clone` and `empty` (#628)

This commit adds support for the contiguous memory format for the ops
`AtenCloneOp` and `AtenEm...

1dba4fcbd79709f1bd9b2f0a764497122e1ab181 authored over 2 years ago by Ramiro Leal-Cavazos <[email protected]>
Add `reduction` support to `torch.nll_loss_forward` (#624)

This commit does a couple of things. First, it fixes a bug in the
`linalg.generic` body of the ...

58abec5c0a2da5ebcf5ec9d0dcb070004d2f3a2a authored over 2 years ago by Ramiro Leal-Cavazos <[email protected]>
Ensure that torch-mlir-dialects is built when we're out of tree

Its unclear to me what the right layering is here: Are you expecting
torch-mlir-dialects to alwa...

9b2613533bd78632b4438fa0b11319cd9d86f9e0 authored over 2 years ago by Stephen Neuendorffer <[email protected]>
Don't override MLIR_TABLEGEN_EXE (#622)

This should be set elsewhere depending on the build configuration.
In particular, we need to be...

330042aa4c6a53f2eeb07838cf8915059bcd3aab authored over 2 years ago by Stephen Neuendorffer <[email protected]>
[LINALG] Decompose aten_hardswish op.

`aten.hardswish` op is decomposed into (x/6) * Relu6(x+3).

7c637eebc35b77bf834331f54d718c3440d0b683 authored over 2 years ago by Prashant Kumar <[email protected]>
Revert "[LINALG] Decompose `aten.batch_norm` into `aten.native_batch_norm`"

This reverts commit 442ff4605c54f836afa17d2780bd9bddcc2a5ed8.

056cd2078dfe0e0fe53b4f7b2099db878fcd559f authored over 2 years ago by Gaurav Shukla <[email protected]>
Add operand type invariant to `torch.overwrite.tensor.contents` (#606)

This commit adds the invariant to the op `torch.overwrite.tensor.contents` that
both of its ope...

ba29d4f25041848ac96d4cd54aa9a23d81d77f1a authored over 2 years ago by Ramiro Leal-Cavazos <[email protected]>
Extend tm_tensor.scatter op semantic to carry unique_indices attribute

There are cases where the op may update the same indices multiple
times. In this context, we can...

5dbace239b754f08811d4d10e61104178fadcedf authored over 2 years ago by Vivek Khandelwal <[email protected]>
Fix setup.py backwards compatibiity (#586)

* Fix setup.py backwards compatibiity

* Remove version check

7023ee53e8e8b7017eb51a38b34a4cbb40fdb8ba authored over 2 years ago by Jae Hoon (Antonio) Kim <[email protected]>
Fix handling of view-like ops in `maximize-value-semantics` (#611)

This commit adds handling to the `maximize-value-semantics` pass for
the case where a view-like...

ea371a9bf2860cf5f0741b28b0bf68e9a9c3d08b authored over 2 years ago by Ramiro Leal-Cavazos <[email protected]>
Add static type information support to `aten.mm` (#602)

This commit adds static type information support to `aten.mm`. This is
needed for the forward p...

2823277f7c6c38e8fb65f0257d4e23b837988005 authored over 2 years ago by Ramiro Leal-Cavazos <[email protected]>
[TORCH] The torch definition related to aten.gelu has changed.

New str argument approximation is added.

abbde7d439836ab359f64f84ba1f1740f06c765b authored over 2 years ago by Prashant Kumar <[email protected]>
Fix bug for aten_nll_loss op in the refine types pass

The check for `self.hasSizes` was missing before performing `.size()`
operation.

ed9bd556b3f59feb0fe1cca9776a3c2eb82fe826 authored over 2 years ago by Prashant Kumar <[email protected]>
LLVM bump

Major changes: opTrait changed to Trait, selectOp moved to arith dialect
assertOp moved to cf dia...

f8cb32faf0bb87e2b8120f76afd8b37acbfc04a9 authored over 2 years ago by Nirvedh <[email protected]>
[LINALG] Decompose `aten.batch_norm` into `aten.native_batch_norm`

- This commit decomposes the `aten.batch_norm` op into the
`aten.native_batch_norm` op, instea...

442ff4605c54f836afa17d2780bd9bddcc2a5ed8 authored over 2 years ago by Gaurav Shukla <[email protected]>
[tosa] Support for Aten[Zeros|Ones|Fill_Scalar] ops (#604)

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

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

c60468f141e6a6e5b5e413933c13ea85376344c1 authored over 2 years ago by Anup Gangwar <[email protected]>
Cmake build commands fix.

The external projects torch-mlir and torch-mlir-dialects should be
placed inside double quotes.

126dac3ded46fd467e9622c9b75faa3ee01831ac authored over 2 years ago by Prashant Kumar <[email protected]>
Modify aten._log_softmax op decomposition for numerical stability.

`aten.log_softmax` is decomposed to be more numerically stable.

8b79b5f48fb0e810831a51d1d46ccf9d59faa63d authored over 2 years ago by Prashant Kumar <[email protected]>
Add TMTensor dialect to torch-mlir

This is intended to explore support for non-structured ops that can't
be modeled by Linalg diale...

869daf3c227d0e09604b93b56fbf45d30740af81 authored over 2 years ago by Yi Zhang <[email protected]>
[LINALG] Add E2E support for `aten.Hardsigmoid` op

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

Signed-Off-by: Gaurav Shukla <gaurav@nod-la...

cd21dda867b9e5783795864cd00118b33aa91dc7 authored over 2 years ago by Gaurav Shukla <[email protected]>
[LINALG] Add value tensor variant to `fill_.Scalar` (#600)

This commit adds the op `PseudoAtenFillScalarOp` that represents
`AtenFill_ScalarOp` without th...

00a6e9c1bbde7bcb6bf5851964af5b7449bcaa42 authored over 2 years ago by Ramiro Leal-Cavazos <[email protected]>
[LINALG] Add E2E support for `aten.[le|ge].Scalar` ops

- This commit adds lowering of `aten.le.Scalar` and `aten.ge.Scalar` ops
as a part of `convert...

41acde599bdc06785b4c2cfa1a2b39417d8c7303 authored over 2 years ago by Gaurav Shukla <[email protected]>
[LINALG] Add value tensor variant to `bernoulli_.float` (#597)

This commit adds the op `PseudoAtenBernoulliFloatOp` that represents
`AtenBernoulli_FloatOp` wi...

413e6000d2ef11370d44efb10cfb98b15f734139 authored over 2 years ago by Ramiro Leal-Cavazos <[email protected]>
Fix compiler warning introduced in PR575 (#593)

dfc07d11d7def66ec8078464907e3e4b45967017 authored over 2 years ago by Anup Gangwar <[email protected]>
[LINALG] Add E2E support for `aten.eq.int` op

- This commit adds lowering of `aten.eq.int` op as a part of
`convert-torch-to-std` pass.
- It...

78c7844c6ca0fc1d14e9d56d6946332b717c6f49 authored over 2 years ago by Gaurav Shukla <[email protected]>
[LINALG] Add E2E support for `aten.[Bool.Tensor|Float.Tensor]` op

- This commit adds lowering of `aten.Bool.Tensor` and
`aten.Float.Tensor` op as a part of `con...

f00d1686c862a72aaf5681e33d22352083c332cc authored over 2 years ago by Gaurav Shukla <[email protected]>
Add folder for aten.gt/lt.float

9e7b6cab08d9e43d391bbee7f259589024221e6c authored over 2 years ago by Yi Zhang <[email protected]>
[LINALG] Fix name conflict of `self` keyword.

- The `self` name is being used as a keyword argument to the
`torch.ops.aten.nll_loss_backward...

dcef4751f9da176debd0cc678ed93da35d0460a4 authored over 2 years ago by Gaurav Shukla <[email protected]>
[LINALG] Fix linalg generic result type argument in TorchToLinalg (#588)

Some of the lowerings use the result type obtained from the op itself
to tell the `linalg::Gene...

3dc78473482a05286ffdb8a8a20d3ab43068012b authored over 2 years ago by Ramiro Leal-Cavazos <[email protected]>
Added support for importing node prim::Constant with list type

Prior to this commit, importing a `prim::Constant` node with list type would result in an error ...

73ac9a7e2e8715ccac533db7ee582570f3969822 authored over 2 years ago by Henry Tu <[email protected]>
Remove hacky aten.select.int lowering code

ce4d6d1f8332510e8c0e831a409942d7e6d75377 authored over 2 years ago by Yi Zhang <[email protected]>
[tosa] Support for some ops and fix for Issue #532 (#575)

* [tosa] Support for AtenNe[Tensor|Scalar]Op, AtenLog2Op,
AtenBitwiseAndTensorOp, AtenSquareOp ...

756b75fb2d996747483d24c1a6bfa3eadd80ec11 authored over 2 years ago by Anup Gangwar <[email protected]>
Fix error in RefineTypes for constant alloc ops (#579)

This commit fixes an error in the refine types pass of constant
allocation ops. The function us...

c1167853db238cefb6291176b01c5b944b15ad5d authored over 2 years ago by Ramiro Leal-Cavazos <[email protected]>
Add mobilenetv2 and mobilenetv3 to e2e test

1ab2e3260b634b8388bc5a20ccec1ec9e0a914af authored over 2 years ago by Yi Zhang <[email protected]>
Add aten.bernoulli decomposition.

aten.bernoulli is decomposed to aten.gtTensor(aten.uniform(x), x).

258660deb6bcbbf0b146e45cb9783e4656ff746e authored over 2 years ago by Prashant Kumar <[email protected]>
Add decomposition of _log_softmax op.

Decompose _log_softmax into log(softmax(x)).

102c497c4cc94b0dbae1c786b657715d8cc7b010 authored over 2 years ago by Prashant Kumar <[email protected]>
[TORCH][MLIR] Add E2E support for `aten._unsafe_view` op.

This commit adds decomposition of `aten._unsafe_view` op into
`aten.view` op.

Signed-Off-By: Pr...

318946a650fdc44d2c6393ff0e80907dde494333 authored over 2 years ago by Prateek Gupta <[email protected]>
[TORCH][MLIR] Add E2E support for aten.clone (#571)

This commit adds support for the aten.clone op.

9b89f8eb3f9825a6c13d20dd960b8c7499699f5e authored over 2 years ago by Ramiro Leal-Cavazos <[email protected]>
[TORCH][MLIR] Add run-time assert support in Torch-dialect

- This commit adds `aten.assert` op in the Torch dialect.
- The `aten.assert` op is lowered to `...

bd177bdfc7265e9bdf1083f70838d8f1f62441bc authored over 2 years ago by Gaurav Shukla <[email protected]>
Include IR dump options on e2e failure report

e09e2cbe700481ac5b68f4be6d429edfb7089d04 authored over 2 years ago by Yi Zhang <[email protected]>
Fix uniform argument type

Also change the 3rd dimension to be smaller so that CI can pass without
killing the process.

6aa96f8c1e01b5613e83280f0d6af6be28612447 authored over 2 years ago by Yi Zhang <[email protected]>
[TORCH][MLIR] Add E2E support for `aten.native_batch_norm` op

- This commit adds support for `aten.native_batch_norm` operation.
- The current implementation ...

2fefe68ffd0fcf28488b942e927a35ad1a8a791a authored over 2 years ago by Gaurav Shukla <[email protected]>
Convert bool to float or integer type.

Conversion of torch.bool tensor type to float and integer type is
handled.

d4ea39b616ff38162a340292e53928b645a6494b authored over 2 years ago by Prashant Kumar <[email protected]>
* [tosa] Support for AtenNativeLayerNormOp

* [tosa] Support for AtenPermuteOp

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

f9f97ea1842df98b16a4c58d1bd12fa3f7f6dced authored over 2 years ago by Anup Gangwar <[email protected]>
Add aten::nll_loss_backward op

The lowering of aten::nll_loss_backward op has been added
from torch to linalg dialect. The chan...

ccf546f14cd6045036562fecd853e3caa9da3b09 authored over 2 years ago by Prashant Kumar <[email protected]>
Modify softmax decomposition to be more numerically stable.

The softmax decomposition is modified according to https://github.com/pytorch/functorch/blob/mai...

68acc8696e22a8806a530944992e08aed712c49b authored over 2 years ago by Prashant Kumar <[email protected]>
[TORCH][MLIR] Add E2E support for `aten.reshape` op

This commit decomposes `aten.reshape` into `aten.view` op in the case of
value tensor type opera...

007990103999f77f1b7612b69598fb03c29af149 authored over 2 years ago by Gaurav Shukla <[email protected]>
RefineTypes fixes for TOSA backend (#557)

Handles Linear, Adaptive_AvgPool2D and FlattenUsintInts
Adds ResNet18 static model for TOSA

...

1b505cbac506d80a466f88afc4d0c6a6aa3d347c authored over 2 years ago by Suraj Sudhir <[email protected]>
[Torch][Linalg] Add basic support for RNG

This PR include the following pieces:
- Add torch `Generator` type. `Generator` type is converte...

0cb216a1adcdcc8c948503c0f856604997d13c1d authored over 2 years ago by Yi Zhang <[email protected]>
[tosa] Add maxpool2d and adaptive_avgpool2d support (#550)

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

0f083e770a38baabec3817d5a3e86f263c9dc5bf authored over 2 years ago by Suraj Sudhir <[email protected]>
[TORCH] Add aten.std e2e support

5d9a15263a1c43bd62d3f2cd2366b72b186edbb5 authored over 2 years ago by Yi Zhang <[email protected]>
Add lowering of `aten.max.dim` op.

Lowering of `aten.max.dim` op has been added.

e58b66bc3b4d2f48df81d22d6e65a659a6f9f327 authored over 2 years ago by Prashant Kumar <[email protected]>