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

Revert PyTorch rolls to green version (#2053)

This reverts commit 0bf31ae614cd387cc3bd5b33f87e61e39aa62113.
This reverts commit f7a1a076fa58a...

0831424f521cf6eb283ad65b711fac2d3426d2d4 authored over 1 year ago by Ramiro Leal-Cavazos <[email protected]>
Add Nll_loss2d

- Add both forward and backward op
- Add end-to-end xfailed testcases

Signed-off-by: rahul shri...

b0f166bb9add00321ef344c33295d915316d7aa0 authored over 1 year ago by rahul shrivastava <[email protected]>
Add ODS for aten.scatter.src

Signed-off-by: rahul shrivastava <[email protected]>

85916dab331bd854e4c181b3aee1e8129daf8f6d authored over 1 year ago by rahul shrivastava <[email protected]>
[Bazel] Add `@llvm_zstd` to WORKSPACE (#2049)

This un-breaks Bazel CI since https://github.com/llvm/torch-mlir/commit/b31c5fa1fbe412b9b278a037...

a3a62a99512ea279924603afd7a3411f0dafa3ef authored over 1 year ago by Sambhav Jain <[email protected]>
update PyTorch version to 2.1.0.dev20230424

0bf31ae614cd387cc3bd5b33f87e61e39aa62113 authored over 1 year ago by Roll PyTorch Action <[email protected]>
update PyTorch version to 2.1.0.dev20230423

f7a1a076fa58af56fae0493b152e902a0971065f authored over 1 year ago by Roll PyTorch Action <[email protected]>
update PyTorch version to 2.1.0.dev20230422

9c6e706f8db7fbed15db6770575851dcdc2f3e03 authored over 1 year ago by Roll PyTorch Action <[email protected]>
update PyTorch version to 2.1.0.dev20230421

56182e434a9bb9586dd109b9d1536f98964e8477 authored over 1 year ago by Roll PyTorch Action <[email protected]>
Fix import of constant bool tensor parameters (#2047)

Bool tensors are represented in TorchScript as an array of
`int8_t`s. However, when importing t...

96d662647f46f2514dc602df1b255c4637fd7cb4 authored over 1 year ago by Ramiro Leal-Cavazos <[email protected]>
update PyTorch version to 2.1.0.dev20230420

97fbb6334b821bf9bafb648be5b45a5a99535d9a authored over 1 year ago by Roll PyTorch Action <[email protected]>
Fix creation of empty tensor in decomposition for randn ops (#2043)

The current decomposition for `aten.randn.generator` does not specify
the `dtype` argument of t...

f85f5799e45b1ea79ff46dd87c1c5428adae34e9 authored over 1 year ago by Ramiro Leal-Cavazos <[email protected]>
update PyTorch version to 2.1.0.dev20230419

dbbcc4aaff11d2c108b51846cafb2b938133edca authored over 1 year ago by Roll PyTorch Action <[email protected]>
[TOSA] Add torch.prim.NumToTensor.Scalar float support (#1802)

8d25dd454f8d66a8e60ec5c541e586cb43cfda9a authored over 1 year ago by Chi_Liu <[email protected]>
[Torch Dialect] fold aten.detach (#2021)

4d98f76d4f8df1c3050c99d677ad7b10d9b2ea5b authored over 1 year ago by Yuanqiang Liu <[email protected]>
build: update llvm tag to 3abae1c8

Summary of changes:
- Update tags
llvm: 3abae1c88416858cf2e9a7ed9417bc52033933b4
mhlo: 70ebc...

b0f857211190056be2ac79f2f384a91a8e951158 authored over 1 year ago by Vivek Khandelwal <[email protected]>
update PyTorch version to 2.1.0.dev20230418

c27182ef9c781e918d63aa93a4ac2b58a591114b authored over 1 year ago by Roll PyTorch Action <[email protected]>
[MLIR][TORCH] Add E2E support for cross entropy lowering

Signed-Off By: Vivek Khandelwal<[email protected]>

ed56e614b72b058b8acaec15d3cd0c17c75518ef authored over 1 year ago by Vivek Khandelwal <[email protected]>
update PyTorch version to 2.1.0.dev20230417

6973abbfaa8a8faa50b9b883e8bad85cce6f2ff9 authored over 1 year ago by Roll PyTorch Action <[email protected]>
update PyTorch version to 2.1.0.dev20230416

7e4d2bc51d468e096a6f4dffc1037a5966684af5 authored over 1 year ago by Roll PyTorch Action <[email protected]>
update PyTorch version to 2.1.0.dev20230415

273e75bb8a901d5aa8429eadc07b31e2ad7ffd0b authored over 1 year ago by Roll PyTorch Action <[email protected]>
build: update llvm tag to 225d255a

Summary of changes:
- Update tags
llvm: 225d255a583ea3d50bbba49d949ca76be6a880bf
mhlo: beb5d...

b31c5fa1fbe412b9b278a0374b07cbc3a6f34498 authored over 1 year ago by Vivek Khandelwal <[email protected]>
Set fetch-depth 0 for CI builds too (#2034)

0a3ab07c8f9beafe7b9a2343fc3b69094b405b00 authored over 1 year ago by powderluv <[email protected]>
update PyTorch version to 2.1.0.dev20230414

811f330283c0d30b3c0f558ba5fb05d79c5d9c10 authored over 1 year ago by Roll PyTorch Action <[email protected]>
[TOSA] Add aten.abs support (#2032)

f3d1eda09f46cd886e364c5c3f6bc385352a0b7e authored over 1 year ago by Chi_Liu <[email protected]>
[TOSA] Add aten.le.tensor support (#2033)

ad36e61040b571006f61b2b0dcf360f80e5b94c5 authored over 1 year ago by Chi_Liu <[email protected]>
[MLIR][TORCH] Patch up Ops and their lowerings to deal with +ve `dim`

-- In Python we have the concept of negative dimension indexing.
-- We would want to normalize s...

318fe134689e2aba7c93ba625cd43bc351cd167c authored over 1 year ago by Abhishek Varma <[email protected]>
[StableHlo] Fix transposed convolution conversion (#2026)

* fix conv bwd

* fix

* fix group case

* clean up

---------

Co-authored-by: zhekun...

1bd5747ca3861163a1c18449c47598adbd61cf7c authored over 1 year ago by Zhekun Zhang <[email protected]>
[MLIR][TORCH] Add e2e support for aten.sort op

-- This commit adds e2e support for atend.sort op.
-- 1. Adds aten.sort op in torch dialect.
-- ...

a13d301356fe8fe414a707ed3a3e011cd888e3bb authored over 1 year ago by Abhishek Varma <[email protected]>
Add Shape inference for CopyOp for lazy tensor core backend (#2006)

- Add Shape inference for CopyOp for LTC backend

c2c96c430ac68918ae10641f100e67896e89ca38 authored over 1 year ago by rahuls-cerebras <[email protected]>
Fix a few missing dependencies. (#2014)

`TorchToTMTensor` depends on `TorchMLIRTorchUtils` for
`mlir::torch::torch_upstream::get_reduct...

224ee27610d45926288bfa858d096566cd9a771a authored over 1 year ago by Alexandre Rames <[email protected]>
[Torch Dialect] support for aten.one_hot (#1852)

72c3326097140726f7b31a75e62f40d5e3df86d2 authored over 1 year ago by Yuanqiang Liu <[email protected]>
[Torch Dialect] fix isValidSubtype with dynamic dim (#2018)

3e83a86354983d8d041df21e3a30d55377e10249 authored over 1 year ago by Yuanqiang Liu <[email protected]>
[MLIR][TORCH] Add support for prims::view_of op

This op does nothing and just returns the input operand as the
result of the op.

Signed-Off By:...

98747d09a8fa5dcf5e4599dca629e306906adafa authored over 1 year ago by Vivek Khandelwal <[email protected]>
build: manually update PyTorch version

Set PyTorch and TorchVision version to nightly release 2023-04-09.

Signed-Off By: Vivek Khandel...

7ae354340d496a82486e7462ec678724e031f127 authored over 1 year ago by Vivek Khandelwal <[email protected]>
[TOSA] Add todtype f32 to i64 (#2012)

975815216f2afac6593f4b44d0a9fbe0854b9d7c authored over 1 year ago by Chi_Liu <[email protected]>
[MLIR] Fold aten select and fill_ pattern (#2000)

4df1d8ae2f37d72e4a06bd4f862dc9a5c36d7c23 authored over 1 year ago by Chi_Liu <[email protected]>
[TOSA] Add support for sliceOp end < 0 (#2011)

8dcd0b2e7657b4690816cc6347d99fca82060791 authored over 1 year ago by Chi_Liu <[email protected]>
Set fetch-depth 0 (#2009)

This is to potentially workaround the index.lock issue in git when we checkout new depth 1 submo...

6cab7406031128b9f6170bd7b583662f6da767b6 authored over 1 year ago by powderluv <[email protected]>
[MLIR][TORCH] Add e2e support for aten.randint

-- This commit adds e2e support for aten.randint by decomposing it into
an aten.randint.low b...

5337944ddb0ddf039a296dbf38bc3c609cd1c5c5 authored over 1 year ago by Abhishek Varma <[email protected]>
Revert "CI: drop deletion of workspace and limit submodule fetch concurrency (#1921)" (#2007)

This reverts commit 07f5f042c787a51716b1b6d18e3999c04720735e.

0497f0b08d9c713b3c39c14876bbe44203716a81 authored over 1 year ago by powderluv <[email protected]>
[TorchDynamo] Add aten.squeeze op to the decomposition list

Signed-Off By: Vivek Khandelwal <[email protected]>

2213ce0855990faf99487587e9f2195b4caf1935 authored over 1 year ago by Vivek Khandelwal <[email protected]>
[MLIR][TORCH] Extend implementation of aten._index_put_impl op.

This commits adds the support for cases for index_put_op:
1.) where index is a 2-d tensor.
2.) w...

e90ea3d7ab66c1b5e858818630261721b3c53d82 authored over 1 year ago by Vivek Khandelwal <[email protected]>
CI: drop deletion of workspace and limit submodule fetch concurrency (#1921)

Despite using sudo to delete the workspace directory, we still
occasionally run into checkout e...

07f5f042c787a51716b1b6d18e3999c04720735e authored over 1 year ago by Ashay Rane <[email protected]>
Minor fixes for `ConvertTorchConversionToMLProgram`. (#1991)

* Only create the global seed variable if it does not exist already.
* Make the pass a module p...

d24fa713683d6acb398f3483677247dedf8909b6 authored over 1 year ago by Alexandre Rames <[email protected]>
build: manually update PyTorch version (#1998)

Set PyTorch and TorchVision version to nightly release 2023-04-03.

Signed-Off By: Vivek Khand...

e7d4771403e676763af4bda323ee0cbbbf3e72f2 authored over 1 year ago by Vivek Khandelwal <[email protected]>
[MLIR][TORCH] Add support for non-unit stride for conv backward

This commit also adds the support for non-unit output padding in the
case of transposed convolut...

788efc31804b0507902f312fac7127bd08207b8f authored over 1 year ago by Vivek Khandelwal <[email protected]>
[MLIR][TORCH] Add e2e support aten.movedim.int op

Signed-Off By: Vivek Khandelwal<[email protected]>

5e9582b055ff3fda1529f0a376fca75b72da8ac5 authored over 1 year ago by Vivek Khandelwal <[email protected]>
Update RollPyTorch.yml to use Pytorch 3.11 (#1999)

f83c516b1587679ce76a65e4fcd9be4b9d411200 authored over 1 year ago by powderluv <[email protected]>
[test] rename TorchToMhlo to TorchToStablehlo (#1995)

c86f46bd703b83102a5c83299539510a335c3a21 authored over 1 year ago by Yuanqiang Liu <[email protected]>
build: manually update PyTorch version (#1994)

Set PyTorch and TorchVision version to nightly release 2023-04-02.

Signed-Off By: Vivek Khand...

0426942fa20f7b2a9c785ef245557897137963f3 authored over 1 year ago by Vivek Khandelwal <[email protected]>
[MLIR][TORCH] Add decomposition for prims::squeeze op

This commit adds the decomposition for the prims.squeeze op.

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

82fb9c7fb805b3d822058684b13c331b0a937e80 authored over 1 year ago by Vivek Khandelwal <[email protected]>
build: manually update PyTorch version

Set PyTorch and TorchVision version to nightly release 2023-04-01.

Signed-Off By: Vivek Khandel...

3451dd32a7217c9a1562939aacc3eb1806056621 authored over 1 year ago by Vivek Khandelwal <[email protected]>
build: manually update PyTorch version (#1988)

b2af43b17cb2276f0b795d6ebf6feb5ccd41c6cf authored over 1 year ago by Vivek Khandelwal <[email protected]>
Update llvm tag to 9c4611f9c7a7 (#1980)

* Update llvm tag to 9c4611f9c7a7

* add llvm-project patch

c47d4bd8523937a04459bf9c194c366d6ec3efd1 authored over 1 year ago by Tanyo Kwok <[email protected]>
Add `extra_library` kwarg to `torch_mlir.compile` (#1986)

This commit adds the ability to specify extra abstract interpretation
functions in `torch_mlir....

e0f301c8909caca4e11983445399421206e21b9b authored over 1 year ago by Ramiro Leal-Cavazos <[email protected]>
[TOSA] Add support for AtenZerosOp 0/strided layout (#1983)

6bb9965a411fd95c8e0e1d79eed8bfd795f4a821 authored over 1 year ago by Chi_Liu <[email protected]>
Remove convolution_overrideable, convolution_backward_overrideable (#1984)

The ops `aten.convolution_overrideable` and
`aten.convolution_backward_overrideable` are curren...

42d780dde0c994fbc327cc1cd11cc9e7ffba766f authored over 1 year ago by Ramiro Leal-Cavazos <[email protected]>
Add `RecomposeComplexOps` declaration + fix typos in pass name (#1950)

The `RecomposeComplexOps` pass currently does not have a TableGen
declaration and it is using t...

0103c55e550b34b31453e7290c29f948e7e82996 authored over 1 year ago by Ramiro Leal-Cavazos <[email protected]>
Cast `number` to `float` when shape function takes Scalar arg (#1978)

To keep things simple in shape functions, `Scalar` inputs are
considered `float`s. This means t...

d803ab4eeb05cec2326b9267026f47ae06374eee authored over 1 year ago by Ramiro Leal-Cavazos <[email protected]>
[STABLEHLO] Move utils.h to include/ (#1974)

72bb902640e71676e6620f04defbfa7ae2f87377 authored over 1 year ago by Ziheng Jiang <[email protected]>
Update long_term_roadmap.md

4e82b30c8896c5681afdd067f586a34f61b4da84 authored over 1 year ago by Sean Silva <[email protected]>
[README] fix line break (#1969)

aa43261cffb7041926facc67f8939c6d4d64aa0c authored over 1 year ago by wkwkes <[email protected]>
handles 2,3,4 from https://github.com/llvm/torch-mlir/issues/1963 (#1964)

953ea39cb5fa12d116b3b52c243b9da7e1fc4d8c authored over 1 year ago by Maksim Levental <[email protected]>
Use upstream shape functions when available (#1952)

There are several ops that have their shape function upstream and had
not been updated in Torch...

a7449785ec5fa7f0093cf2eb719f6aa8f9fe3507 authored over 1 year ago by Ramiro Leal-Cavazos <[email protected]>
update PyTorch version to 2.1.0.dev20230324

158be370d1c4a7ec78dbdb208270c3acc130d9e0 authored over 1 year ago by Roll PyTorch Action <[email protected]>
Add support for aten_remainder in TorchToTosa (#1966)

2389729fb97cfa571f9b6f233ff7b4d75798976f authored over 1 year ago by Michael Feliz <[email protected]>
Change dtype functions interface to take ints tuple for each tensor (#1965)

The original design for the dtype functions outlined in
https://github.com/llvm/torch-mlir/issu...

eae3ff7f1c667ed3504e08b441480e29c4a19c59 authored over 1 year ago by Ramiro Leal-Cavazos <[email protected]>
update PyTorch version to 2.1.0.dev20230323

f2a05f2dc0dade5cf03f23b317835b36391e0c2d authored over 1 year ago by Roll PyTorch Action <[email protected]>
[StableHLO] Support for slice_scatter (#1960)

Co-authored-by: zhekun.zhang <[email protected]>

5758a0bfbbbb34aa7dd2f9e9cc029c4c962e05ed authored over 1 year ago by Zhekun Zhang <[email protected]>
update PyTorch version to 2.1.0.dev20230322

544b5f232bc38b4510ab0f2994078d8e4170ca2b authored over 1 year ago by Roll PyTorch Action <[email protected]>
Max pool2d ceil mode to tosa (#1957)

* implemented ceil_mode== true support for lowering aten.max_pool2d to tosa
* add e2e test for ...

d632afce31d776c549396ae102337e6d9af55fc0 authored over 1 year ago by lisaliu1 <[email protected]>
update PyTorch version to 2.1.0.dev20230321

c1b7de109eded71eb166752b4672778cbc969f76 authored over 1 year ago by Roll PyTorch Action <[email protected]>
Update to LLVM 029313cc979ae71877b65794b1063d4e51184cc8

- mergeBlockBefore -> inlineBlockBefore
- move tosa-to-tensor pass ordering

https://github.com/...

c319a208282837e8c1c4a63fb03d02385b509c30 authored over 1 year ago by Sean Silva <[email protected]>
[MHLO] add conversion for aten.linalg_vector_norm (#1850)

3698a95586ef100e412df182dda7b5dae074cb55 authored over 1 year ago by Yuanqiang Liu <[email protected]>
[docs] Add changes to e2e testing to long-term roadmap

a412c85fd75c14d7f16d92938a4d2c686571b924 authored over 1 year ago by Sean Silva <[email protected]>
LowerToBackendContract: Explicitly error out on unimplemented operator (#1947)

* LowerToBackendContract: Explicitly error out on unimplemented operator

But only reject torc...

aa5bcb3cf232babe58dfce3a98c86191ad970900 authored over 1 year ago by Matthias Gehre <[email protected]>
update PyTorch version to 2.1.0.dev20230320

6eeed460602d4549a46d37afcc8e45526a24c075 authored over 1 year ago by Roll PyTorch Action <[email protected]>
update PyTorch version to 2.1.0.dev20230319

be9c0de957919d403ea9ca0ce786f34f47ec390b authored over 1 year ago by Roll PyTorch Action <[email protected]>
update PyTorch version to 2.1.0.dev20230318

679fa96bb36fec7a88248ccf023274f0f70d6c03 authored over 1 year ago by Roll PyTorch Action <[email protected]>
update PyTorch version to 2.1.0.dev20230317

3f3833d7700cd976bcf929e2a175f2af10490baf authored over 1 year ago by Roll PyTorch Action <[email protected]>
RefineTypes aten.sum: check dtype exists before accessing methods (#1944)

This commit adds a check that `defaultDtype` exists in the RefineTypes
handling of `AtenSumOp` ...

18035021f067379e000f1b7fad18ad02be6d116c authored over 1 year ago by Ramiro Leal-Cavazos <[email protected]>
update PyTorch version to 2.1.0.dev20230316

91cd37256cef86f0b9849f1ad97f3087ed344b3f authored over 1 year ago by Roll PyTorch Action <[email protected]>
Constant pad nd to tosa (#1933)

* implemented lowering torch.aten.constant_pad_nd to tosa
* add constant_pad_nd e2e tests to TO...

7d711b9f9f2a4532a56787b6612ea90ba5d9637a authored over 1 year ago by lisaliu1 <[email protected]>
update PyTorch version to 2.1.0.dev20230315

2468347376bfbde46a77656f8f7ce98b64644649 authored over 1 year ago by Roll PyTorch Action <[email protected]>
[Bazel] Add StableHLO registration dependency (#1937)

Fixes a broken bazel build from https://github.com/llvm/torch-mlir/pull/1887 causing the followi...

91e0f38b578395931887127c6f9fc31d05b763ca authored over 1 year ago by Sambhav Jain <[email protected]>
[e2e] fix stack e2e test typo (#1931)

b9674699066001115252e078942f8239c44a2458 authored over 1 year ago by Yuanqiang Liu <[email protected]>
Support aten.stack op and decompose it into unsqueeze & cat (#1747)

4912c3937dfdd5b42431112797e41805bafe95d3 authored over 1 year ago by Jiahao Li <[email protected]>
Expand definition of tensor subtype to include shape/dtype info (#1929)

Currently, the op `torch.tensor_static_info_cast` will not get
canonicalized away if the result...

d310bb12bd37fec0b189734f045fdd10805f6a93 authored over 1 year ago by Ramiro Leal-Cavazos <[email protected]>
Add a new RecomposeComplexOps pass, fold slice+copy_ into indeX_put_ (#1901)

66b1045a80142cdc971984e83a92df773c2d968b authored over 1 year ago by gpetters94 <[email protected]>
Fix deprecation warnings for `isOneValue` and `getAllOnesValue` (#1928)

The functions `isOneValue` and `getAllOnesValues` are
deprecated. `isOne` and `getAllOnes` shou...

2be48c3a67d9d8f4af03de37a1ad1eca8081b8f4 authored over 1 year ago by Ramiro Leal-Cavazos <[email protected]>
update PyTorch version to 2.1.0.dev20230310

327deb90cdad3c3d966abda5760db69ba1b8101a authored over 1 year ago by Roll PyTorch Action <[email protected]>
[TORCH] Improve type refinement for aten.cat. (#1908)

* [TORCH] Fix type refinement for aten.cat.

* Add test.

* Address comments.

* Update.
...

dca2b8a40a49cee07ab72ff42e8c1c13b4da91c0 authored over 1 year ago by Ziheng Jiang <[email protected]>
update PyTorch version to 2.1.0.dev20230309

1e6608f90c1546b2ca6fce5f1c9e3738fa90e959 authored over 1 year ago by Roll PyTorch Action <[email protected]>
update PyTorch version to 2.1.0.dev20230308

40c25cecc433dbd2b9adc608aa188fe7c0d73f2f authored over 1 year ago by Roll PyTorch Action <[email protected]>
Fix the error of type casting in dynamo example (#1860)

86b792520bb1331f106f7eae2f38fb18db70c397 authored over 1 year ago by Kan Chen <[email protected]>
Adding stablehlo dialects support for torch-mlir-opt tool (#1887)

* Adding stablehlo dialects support for torch-mlir-opt tool.

* Update torch-mlir-opt.cpp

F...

13533307ca5e992500167600703b4be0c6c2907c authored over 1 year ago by Kan Chen <[email protected]>
update PyTorch version to 2.1.0.dev20230307

6c06b9560dbefbc99dd8b62600458659fa77fd76 authored over 1 year ago by Roll PyTorch Action <[email protected]>
Update LLVM tag to 21f4b84c (#1918)

Update PassManager C interface to use mlirPassManagerRunOnOp
Update python calls to PassManager...

4c7e7ec116c0fba3de9bcdd74031a3984d2f6b6f authored over 1 year ago by Eric Kunze <[email protected]>
- rename no-jit -> core (#1920)

- add windows release

c718f87c5de4865c831864c4624925fca18ba1a6 authored over 1 year ago by Maksim Levental <[email protected]>
[Torch Dialect] add RSub, ScalarImplicit canonicalize (#1899)

* add rsub, scalarimplit canonicalizer

* reformat

* address comments

* fix bug

* fix...

1d3a7419c5adb082951c16bdbce7da079e1be1d9 authored over 1 year ago by Zhekun Zhang <[email protected]>