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
Layer Normalization using the torch.aten.native_layer_norm
https://github.com/nod-ai/SHARK-T...
5862854bc8011a94a54edeb4fa278908e9eb2c2b authored 12 months ago by Andreas Falkenberg <[email protected]>0860c41ee2a0bdec41f544f19eba170cf646c3ce authored 12 months ago by Frederik Harwath <[email protected]>
aee1fca2517b8bff3b18e3b01beaafe8d57a7dd8 authored 12 months ago by Xida Ren (Cedar) <[email protected]>
maps onnx.expand to torch aten broadcast_to, three tests added
---------
Co-authored-by: K...
29569713f3878226a6c1054a183dc227934dbe69 authored 12 months ago by kumardeepakamd <[email protected]>Set PyTorch and TorchVision version to nightly release 2024-01-09.
Signed-Off By: Vivek Khandelw...
469c055190a042575a2259f8fe759da23963ce3f authored 12 months ago by Vivek Khandelwal <[email protected]>Signed-Off By: Vivek Khandelwal <[email protected]>
208ae355830707a0d1e85f05feca454ad2b346f0 authored 12 months ago by Vivek Khandelwal <[email protected]>Signed-Off By: Vivek Khandelwal <[email protected]>
4707d3bdc6d7e1bb12b3e44dcf23455a7d445725 authored 12 months ago by Vivek Khandelwal <[email protected]>Signed-Off By: Vivek Khandelwal <[email protected]>
35e8f8679220a35dae4e49b988eeef5e47747f8c authored 12 months ago by Vivek Khandelwal <[email protected]>
Adaptive pooling ops can only be decomposed into their non-adaptive
counterparts in trivial cas...
Floating-point literals should use the correct type specifier.
4dd17f0b711523223e41606d9b7b6023b9149d46 authored 12 months ago by Ben Vanik <[email protected]>
The lowering for `aten.clamp` did not support integer types. Added
support for integer types in...
6096fcb347691982d721d74d96794ac0d17af0d9 authored 12 months ago by Han-Chung Wang <[email protected]>
Co-authored-by: hanhanW <[email protected]>
fb1dfa31268c59a829ded35d304969c48ede388b authored 12 months ago by Kunwar Grover <[email protected]>aa7e95f7c8cde77528d273633baa8887f4795187 authored 12 months ago by Aart Bik <[email protected]>
4e5e34d215fa00912a8205a1d0406ee5719003a7 authored 12 months ago by John Wu <[email protected]>
The doc seems copy-and-paste from the linalg-on-tensors class
3e9bacdb514af36dea80f4e40d251f2a2cca4c4e authored 12 months ago by Aart Bik <[email protected]>fixes #2711
1778314620b796de7a7aba61f00396cecbd29a0b authored 12 months ago by Xida Ren (Cedar) <[email protected]>Set PyTorch and TorchVision version to nightly release 2024-01-02.
Signed-Off By: Vivek Khandel...
690827fe52768eff2be5b168581824de57de2e1b authored 12 months ago by Vivek Khandelwal <[email protected]>Need this for LayerNorm
80bd093d56c5f7b36c6852fdff05afac0d7c3a00 authored 12 months ago by Andreas Falkenberg <[email protected]>
Adds a lowering to Linalg for reflection_pad1d. Based on ideas/code from draft PR
https://githu...
Co-authored-by: Rob Suderman <[email protected]>
6660a26594dc82cd3dd6fc33c9269ff09ecd263a authored 12 months ago by Xida Ren (Cedar) <[email protected]>(instead of an input)
Addresses part of #2689. fixes #2702
9fc212ea9afe0f1e31b4e2ee03bc6db296e84190 authored 12 months ago by Xida Ren (Cedar) <[email protected]>https://github.com/llvm/torch-mlir/issues/2646
Decompose aten.exponential() into: -exp(1-x)/l...
8e389ff2ffac781648721696c716f141048c38c9 authored 12 months ago by Sungsoon Cho <[email protected]>d560698e3d610ecdc56667c713e2338c47bf4f44 authored 12 months ago by Xida Ren (Cedar) <[email protected]>
As noted in the plan when this work started, we need to produce an ORT
EP plugin for a downstre...
lower onnx min op to torch aten minimum op
2d796b750250b204fd0ad0d29f844b81db95578c authored 12 months ago by aldesilv <[email protected]>336cfb64b531a3d34cae74f007448749420d64ac authored 12 months ago by aldesilv <[email protected]>
Addresses two of the ops from
https://github.com/llvm/torch-mlir/issues/2689
https://github....
6847fc1fc69d71d1d9b9485881f80ea12218564f authored 12 months ago by Xida Ren (Cedar) <[email protected]>abc6b0a25a8d6d42b440a32514c508302767469e authored 12 months ago by aldesilv <[email protected]>
This commit adds the OnnxToTorch support for GlobalAveragePool op.
Signed-Off By: vivekkhande...
4f252c88b486c73f1d7bf776168c2ace09c2a169 authored 12 months ago by Vivek Khandelwal <[email protected]>This commit adds the OnnxToTorch support for Reshape op.
ee75e8d1ae72b0b4868c6dae383709b83eb7e842 authored 12 months ago by saienduri <[email protected]>Signed-Off By: Vivek Khandelwal <[email protected]>
0849fd0a0681598e1eaadf8bcc23699235819973 authored about 1 year ago by Vivek Khandelwal <[email protected]>This commit adds the OnnxToTorch support for BatchNormalization and Concat op.
Signed-Off By: v...
9a72c6584e72f009eae765956cfd8a9d55f49497 authored about 1 year ago by Vivek Khandelwal <[email protected]>
Some names for `onnx` identifiers are not legal in `mlir-ir`. Sanitize
so that the generated `i...
Changes made during upstreaming:
* Removed comments attributing some copied code back to torc...
ccd469ca0d626d29fea3ab35d5956cc2882a12be authored about 1 year ago by Stella Laurenzo <[email protected]>
The expression for HardSigmoid in Onnx
(https://onnx.ai/onnx/operators/onnx__HardSigmoid.html):...
- Going through the `#torch-mlir` channel on the `llvm` discord, I
realize that there are some ...
This commit adds the OnnxToTorch support for Conv and ConvTranspose op.
Signed-Off By: vivekkha...
3226241521f67c3b54a61f5cc6df265059da2c5f authored about 1 year ago by Vivek Khandelwal <[email protected]>d75cff6cd1ce691083708ff0226ebb1dd02ef5ee authored about 1 year ago by Stella Laurenzo <[email protected]>
This PR adds the `enable_ir_printing` option to `torch_mlir.compile`,
which can be used to prin...
Started work on the `tan` lowerings for ONNX to Torch. Uses `sin` and
`cos` to represent a `tan`.
Broadcasting for `torch.aten.matmul` is optional so a MxN with NxK
matmul should be legalized t...
Adding the `--progress` flag shows the same output as what `git clone`
would show. This is very...
20ab88284098e6ef4250d652609dc89542aa1d54 authored about 1 year ago by Sungsoon Cho <[email protected]>
https://github.com/llvm/torch-mlir/commit/be3e74b647375d1c72f075bebf77dc31e74477a2
breaks bazel...
be3e74b647375d1c72f075bebf77dc31e74477a2 authored about 1 year ago by Han-Chung Wang <[email protected]>
TorchOnnxToTorch
For Erf function
Modify PYTHONPATH to new related directory in docs.
89cfbe894df2592a296f48440005da244768b0fa authored about 1 year ago by Yinrun Lyu <[email protected]>This commit adds the OnnxToTorch support for AveragePool op.
Signed-Off By: vivekkhandelwal14...
8649b84e3f768daec7d43dc439f1d91cb44a9c6e authored about 1 year ago by Vivek Khandelwal <[email protected]>
This commit adds the OnnxToTorch support for ReduceSum, ReduceMean, and
ReduceMin ops.
This commit adds the OnnxToTorch support for Gelu op.
---------
Co-authored-by: Rob Suderm...
deacb8ef38757386e4303d780c7a74fb06b87e39 authored about 1 year ago by John Wu <[email protected]>791c66647927a35c610ecd2ca2d93401f761b422 authored about 1 year ago by Rob Suderman <[email protected]>
Adapts bazel build per https://github.com/llvm/torch-mlir/pull/2648.
https://github.com/sj...
9c655d0bfb166785dc17e51b0afa1f937c227cef authored about 1 year ago by Sambhav Jain <[email protected]>General lowering for `onnx.Gemm` to `torch`
ae1a6e4a5a058170dd7b63001322844d04d12aac authored about 1 year ago by Rob Suderman <[email protected]>
The three remaining compare operations
onnx.Greater
onnx.Less
onnx.GreaterOrEqual
Are al...
cee8563060c79766ae530e539167bd8c872561db authored about 1 year ago by Andreas Falkenberg <[email protected]>
Adds a lowering from `onnx.sinh` to `aten.sinh`. This includes adding
the `aten.sinh` operator.
b3e94208a891a85cffc5eec1b267ce4e7a761b74 authored about 1 year ago by Rob Suderman <[email protected]>
Lowerings for `transpose` from ONNX to `aten`. Implementation depends on
making multiple `aten....
This replaces the lowering of aten.cat with tensor.concat, allowing more
efficient handling of ...
Includes the lowering from the `aten` equivalent to `tensor` operations.
061af696ce94c932152bdf64ca7eba3b4034b367 authored about 1 year ago by Rob Suderman <[email protected]>55e9401c5ca13aaa4a327bf5ed91583a9e5a9f4d authored about 1 year ago by Sungsoon Cho <[email protected]>
This commit adds support for `LeakyRelu and GatherElements` op in the
onnx pipeline.
Signed-...
eb9249e601b0a3b01650f07b8c99b2b8a3a3a190 authored about 1 year ago by Gaurav Shukla <[email protected]>This bumps the llvm submodule to HEAD to pick up recent fixes.
d9f4a80b10ae849a0615674e87751b78d00be241 authored about 1 year ago by Quinn Dawkins <[email protected]>
This commit adds the OnnxToTorch support for Reciprocal, Round,
ScatterElements, Sigmoid, Sin, ...
Added the less or equal operation to OnnxToTorch.
onnx.LessOrEqual
---------
Co-authored...
4ec8b9fc02adfab64f363ee40e6949ea73b9a628 authored about 1 year ago by Andreas Falkenberg <[email protected]>65f517b3d0956bcebeeb362c0b841216e18d314b authored about 1 year ago by Sungsoon Cho <[email protected]>
Lowerings for `selu` lowerings for ONNX to the corresponding torch
implementations. Torch's `se...
Add `aten.selu` operation to `torch` dialect.
6ddeb1a6efe7f61e80be3791952dc7c730dc1c72 authored about 1 year ago by JianzheXiao <[email protected]>This commit adds the OnnxToTorch support for Matmul.
42392bc84524cff83f6e87e17b02e563aebf2122 authored about 1 year ago by John Wu <[email protected]>
Simple Python console script to import an ONNX protobuf to the torch
dialect for additional pro...
Co-authored-by: LiuYuanqiang <[email protected]>
7cf52ae73f59ae90abcdbe3e7f60bef95e1a59eb authored about 1 year ago by JianzheXiao <[email protected]>
This is part 1 of 2, which will also include upstreaming the FX
importer. I started with ONNX b...
For easier tracking of issues, sort the TOSA passing list. It is still
significantly smaller th...
099e1f4cf5cc070d411f404e08d1e25eaa648efe authored about 1 year ago by Frederik Harwath <[email protected]>
This depends on a change in the LLVM core repository which adds acos
support to the MLIR Math di...
`AtenStackOp` defines this folder for list operand containing single
element:
```
OpFoldResul...
This commit adds the OnnxToTorch support for BitwiseXor, BitwiseOr, Div, Equal, Cast,
Ceil, Floo...
As title, support torch.aten.einsum op
Right now only support Static Shape, because of the kn...
96fcde4d77d8f77ecb0fe58061a671f258870924 authored about 1 year ago by JianzheXiao <[email protected]>Signed-Off By: Vivek Khandelwal <[email protected]>
07c3e11f5648361320ba7018daee8b2d873ee956 authored about 1 year ago by Vivek Khandelwal <[email protected]>The linalg Op `linalg.conv_2d_ngchw_fgchw` had a bug where
1. Weights were accessed as G,F,C,...
fb21a858748d6c1945aa6a284d75f376458d9242 authored about 1 year ago by Felix Schneider <[email protected]>
llvm-project: bbd2b08b95fe76bea138c1b03c1cd42ed3ee04df
stablehlo: ab709fe48de88c67717abfbd7ef17...
MSVC-19 does not support constexprs of lambda captured constexpr values
like this: https://godb...
Despite aten.mm requiring the input and output types match, we still opt
to maintain signedness...
Adds a lowering for the torch.aten.argmin operator to linalg via decomposition into torch.aten.m...
c0115706a072173928d80199f2a8ebc5ffcb978f authored about 1 year ago by frafranz <[email protected]>Try to fix the error reported by @qingyunqu in #2609.
6244f301fb063be15dc5df27f77567fb8852e31f authored about 1 year ago by Frederik Harwath <[email protected]>6248216dca711100c0c6d770e6a7a3e9fc81bcb0 authored about 1 year ago by Frederik Harwath <[email protected]>
Fix #2608
d0b49a912ea3f066cee600f4385b5f08dacccd8e authored about 1 year ago by Frederik Harwath <[email protected]>Set PyTorch and TorchVision version to nightly release 2023-12-04.
Signed-Off By: Vivek Khandelw...
10b5432e7d29933fc049cbea7b4dfc2b83009176 authored about 1 year ago by Vivek Khandelwal <[email protected]>400752ca8d388a58ab6b9bc0ea6f8b6107786590 authored about 1 year ago by Quinn Dawkins <[email protected]>
Some of docs referred to old file paths that no longer exists. This
patch updates some of the i...
The function `getTypeForScalarType` currently takes an argument to
specify the signedness of in...
Bump LLVM to `5e5a22caf88ac1ccfa8dc5720295fdeba0ad9372` and StableHLO to
`83f095e7217c897f1ecca...
decompose like:
```
import torch
def my_triu(x, diag):
rows = torch.ops.aten.size(x, -...
Adapts to the TorchOnnxToTorch changes from
https://github.com/llvm/torch-mlir/pull/2585.
Also...
This commit adds the OnnxToTorch support for Atan, Bitshift, BitwiseAnd,
and BitwiseNot op.
This...
Prior to this, the concurrency rules for presubmits (which cancel eagerly) were being applied to...
53fc995639e26f40465516dded26548928bd2d1a authored about 1 year ago by Stella Laurenzo <[email protected]>2148c4cd0d95d16ce11d44be7a545bdf2bda9889 authored about 1 year ago by Stella Laurenzo <[email protected]>
This was unfortunately being initialized in a directory below its first use. This was causing th...
66b73edb286fb5c0f1ace2b0b4b147bf9edbc3e7 authored about 1 year ago by Stella Laurenzo <[email protected]>
The aten.reshape ops in the decomposition are replaced with prims.collapse
and prims.split_dim...
Adds a pipeline to convert custom ops and metadata represented as
`torch.operator` custom ops t...