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

[torchdynamo] Add "lockstep" numerical accuracy debugger.

Thanks to TorchDynamo's great layering and design, this is only about
100 lines of code for a ba...

485c18bb2fd0b62f9d381bb300b4fb809d465c60 authored about 2 years ago
build: manually update PyTorch version

Set PyTorch and TorchVision version to nightly release 2022-12-05.

Signed-Off By: Vivek Khandel...

ef39b9ebb424cc822dc6be26f2d217791754b1ba authored about 2 years ago
update PyTorch version to 1.14.0.dev20221204

6c5360e281f31059f9c565e9ccc0f6edaa2c9a69 authored about 2 years ago
update PyTorch version to 1.14.0.dev20221203

8baa9e42e72738ddac936dfa235ae7850c8d74ba authored about 2 years ago
update PyTorch version to 1.14.0.dev20221202

fcc670d7858ae3d205b12e3fff93fb021e74ce11 authored about 2 years ago
[MLIR][TORCH] Add TorchConversionToMLProgram and MLProgramBufferize pass

This commit changes the `InsertRngGlobalsPass` to `TorchConversionToMLProgram`
pass. This commit...

f41695360019bde71d52ca7548944d5488779e12 authored about 2 years ago
Update LLVM Tag to 2c1fa734 (#1670)

Summary of changes:
- Change ShapedType::kDynamicSize -> ShapedType::kDynamic
- llvm::NoneTy...

3fc27cf6cab4e25db15071a45812aefbaec97de3 authored about 2 years ago
[torchdynamo] Use decompositions to support a few ops

88db99946bff381bac3dadad1a5815f0b8a542a9 authored about 2 years ago
Replace LCG algorithm with squares64 algorithm in AtenUniformOp (#1633)

This commit replaces the LCG algorithm that was being used by the
`TorchToLinalg` lowering of `...

b4b92c990e0d5b3437b7873faa29887879d0c0de authored about 2 years ago
update PyTorch version to 1.14.0.dev20221201

e66bf7b8cbcca8298dc1b91354df2d0c28e2bda5 authored about 2 years ago
build: update llvm tag to 147fe9de

Summary of changes:
- Replace call to `MemoryEffectOpInterface::hasNoEffect`
with `isMemoryEff...

e7edcc62fde300d026674af64fbb24f3f76caf2a authored about 2 years ago
[RefineTypes] Add Float16Type dtype knowledge support for trivial ops

-- This commit adds Float16Type dtype knowledge support for trivial ops.

Signed-off-by: Abhishe...

47f67853ac0022389154911c64c3319a394b2969 authored about 2 years ago
Fix modulus calculation in LCG algorithm of refbackend (#1658)

The current implementation sets the `nextSeed` value to `temp & 127`,
which is wrong. The last ...

0983a7f93a1fca871b97079c002d72068242d4a3 authored about 2 years ago
update PyTorch version to 1.14.0.dev20221130

44b185a46b9ed021f22871448eaebe2a17354a49 authored about 2 years ago
[MLIR][TORCH] Add e2e support for `aten.amax` op

-- This commit adds e2e support for `atend.amax` op.

Signed-off-by: Abhishek Varma <abhishek@no...

c27c1791f1a28fd9b6d9b8280f536a030f48486e authored about 2 years ago
[TORCH][DECOMPOSE] Fix bug in computeReductionType API

-- This commit fixes a bug in computeReductionType API.
-- The bug pertains to removal of `dim` ...

2c643adcb9136b6a9830f02efe77347b98f619c4 authored about 2 years ago
Revert "Decompose torch.slice_scatter (#1622)" (#1659)

This reverts commit f3f2f10030f97df54995cba833f6acc599c99c4d.

bbcdb38d99eca40f9bbf14ef32c0c8d339544eba authored about 2 years ago
Automatically strip overloads for FX-based models.

e2de20575f92264f1131039a4d1393833a893f4c authored about 2 years ago
Reduce memory usage of e2e tests by reducing input sizes (#1653)

There are a few e2e tests that take several very large tensors as
input, which leads to the e2e...

a8cbfff95bf0407b598181a23083428d21dacf6b authored about 2 years ago
build: manually update PyTorch version

Set PyTorch and TorchVision version to nightly release 2022-11-22.
Add failing tests to the xfai...

4d49c44967a5db4607631f9c87ca0195da8c97b6 authored about 2 years ago
[torchdynamo] Annotate the XFAIL's with more info

883b986eda846d7d37e651b6c9e0492546d8ae91 authored about 2 years ago
Fix eager mode XFAIL's

f4d4743f08ec26ca5ab98eff0071d7dfe89abf74 authored about 2 years ago
[torchdynamo] Fix output size computation for upsample_nearest2d

ecb09c2fc3c0a812bd1e9445425b017424802755 authored about 2 years ago
Remove deprecated np.bool

`np.bool is bool` and will never be returned as a dtype of an
`np.ndarray`, so we don't need to ...

5a488ff0851b0504206d91fbc578c3993376d4f4 authored about 2 years ago
[MLIR][TORCH] Add lowering for `aten._softmax` when `half_to_float=True`

-- This commit adds decompose logic for `aten._softmax` when
`half_to_float` is `True`.
-- An...

bb259f918a2215791bd0c9853deab6398fd4ab87 authored about 2 years ago
Fix multiprocessing for `--config=torchdynamo`

For reasons that I haven't yet fully tracked down, the TorchDynamo
TestConfig seems to result in...

5a27f826b8ba6188e3f156431a418830f5369eec authored about 2 years ago
[torchdynamo] Update XFAIL sets with upstream bug numbers.

a24c7039f73b5a740fd43aa2f3899e57c132c6d6 authored about 2 years ago
Fix RuntimeError while running examples/eager_mode.py (#1647)

853fd5c96503b240a0f0ff86bdb229029fcc181a authored about 2 years ago
Add link to e2e testing docs

9fb63ce9d9bf0f90d60e187264c0c321dbc7491f authored about 2 years ago
Revert "build: update llvm tag to 147fe9de"

This reverts commit e45ad313d4395195ad8764623067aa2a645223d7.

d9cbf01d1ef42b0a0fa8692f3dcca6146b655dff authored about 2 years ago
Update xfail_sets.py

b3f68dfef35b5301b6eab0816e3f085efc878393 authored about 2 years ago
Revert "[MLIR][TORCH] Fix indentation and spacing for E2E tests"

This reverts commit 3790a4270e0aed518b3c5c10e1c18b21b76ff498.

9cac480a18f05188a6f289477174ecf3186a7603 authored about 2 years ago
[cleanup] Remove docs/roadmaps.

This directory didn't have much and was generally out of date.
The [long-term
roadmap](https://g...

27a2a180d5bb344b1960fda953aa63e81543f6bd authored about 2 years ago
[torchdynamo] Initial TorchDynamo support

This adds a basic e2e Config for TorchDynamo using
Linalg-on-Tensors/RefBackend.
But TorchDynamo...

28957adaac2c8c79f1802207e86d4cf79d09a569 authored about 2 years ago
build: update llvm tag to 147fe9de

Summary of changes:
- Update call to `hasNoEffect` utility
- `KDynamicSize` value changed to
`...

e45ad313d4395195ad8764623067aa2a645223d7 authored about 2 years ago
[MLIR][TORCH] Fix indentation and spacing for E2E tests

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

3790a4270e0aed518b3c5c10e1c18b21b76ff498 authored about 2 years ago
Add more mhlo basic converters (#1628)

* Add more mhlo basic converters

* remove unused pinnedMemory constraints

* refine naming

14f1260ac4a9dd1f601810b8769cbd9a224a1bb5 authored about 2 years ago
build: manually update PyTorch version (#1631)

Sets PyTorch and TorchVision version to nightly release 2022-11-22.

e206db276114be785dbedc392bfd26291c5986fa authored about 2 years ago
[MLIR][TORCH] Refix differentiable view (#1639)

* `BatchMlpLayerModule_basic` passes

* Fix https://github.com/llvm/torch-mlir/issues/1618 by ...

bfcfd60d55fa867f2a6791e71216639d72f3d8b2 authored about 2 years ago
build: fetch PyTorch version using downloaded WHL file (#1632)

Until recently, the metadata file in the torchvision package included
the nightly version of th...

b43965d8d3b5a876b0a6fc3813c1a8cd85f3ca69 authored about 2 years ago
ci: delay RollPyTorch action by 1 hour to use latest torchvision package (#1603)

The upload timestamp of the nightly torchvision package has drifted
beyond the scheduled time o...

4eead74232b56ff31ce2de2de91eeb3f52b7fe82 authored about 2 years ago
Decompose torch.slice_scatter (#1622)

* Decompose torch.slice_scatter

* fix compilation error

* update file check

* fix ci

...

f3f2f10030f97df54995cba833f6acc599c99c4d authored about 2 years ago
[MLIR][TORCH] Fix refine types crash

This commit fixes https://github.com/llvm/torch-mlir/issues/1599.

Signed-Off By: Vivek Khandelw...

da8fdc9f960e935169d4109f06e8825474d612c2 authored about 2 years ago
fix #1626 return type mismatch (#1634)

4aad5ccf39d7d1e7ddcb8584acac50202e52e91e authored about 2 years ago
[MLIR][TORCH] Add E2E support for prims.convert_element_type op

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

68f568b7041dd216a0d34901fcee7375e57840c6 authored about 2 years ago
[MLIR][TORCH] Fix mean and mean.dim op for large-sized inputs

This commit fixes the aten.mean and aten.mean.dim op decomposition
for supporting large-sized in...

55c7e66aa7e3df407652d796280d02144b8ea899 authored about 2 years ago
Fix https://github.com/llvm/torch-mlir/issues/1618 by stripping `requires_grad` from results of view ops. (#1624)

ed901094c1a8d0ef07ef6a34abdd4df07501268a authored about 2 years ago
Clean up some parts of the test suite

The purpose of the test suite is to accelerate the development of the
compiler. However, we had ...

22307a1427e897bac844f9a9c8dd554c0fbf1665 authored about 2 years ago
fix mhlo e2e ci crashes (#1620)

* fix mhlo e2e ci crashes

* add passed tests

* calc dynamic positive dim

a9fb0c5459cb045cd8ddfd894b2e93fab827ff65 authored about 2 years ago
[MLIR][TORCH] Fix numel tests for Roll PyTorch action

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

25ab8fcc1f5307258b7f3dbc2a91424e56a0f735 authored about 2 years ago
[MLIR][TORCH] Add aten.sort.int op

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

4cbd3927d7c3bd9a88edc41d2e1e3716578f7df6 authored about 2 years ago
[TOSA] Add aten.clamp op tosa support (#1609)

Co-authored-by: AmosLewis <[email protected]>

29c8f477231e7e8c621db8b29ab3417596ec58c6 authored about 2 years ago
[MLIR][TORCH] Fix aten.upsample_nearest2d op

-- aten.upsample_nearest2d.vec op is not present
owing to https://github.com/pytorch/pytorch/...

1d949f3ac27e89232ec376fe2d3b2ea6b5c33674 authored about 2 years ago
fix typos

638a884e8ce40d851f6284efe76b18b6f74d7245 authored about 2 years ago
[cleanup] Make diagnostics better

Also remove some unused imports.

39de4d62656b1d07844ab433a80376f7d9f93997 authored about 2 years ago
[MLIR][TORCH] Add decomposition for aten.var_mean.correction op

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

5f7177da3516f1342aff4b5f49963a434c1c6b17 authored about 2 years ago
llvm: update tag to e864ac6945 (#1600)

Summary of changes:
1. Replace `string` iterator types by `IteratorType` enum.
(https://github...

0d209998d1c27ff016a3c79d7f91c904e786e741 authored about 2 years ago
`m_TorchConstant{Int/Bool}List` -> `m_TorchListOfConstant{Int/Bool}s` (#1601)

This commit renames the patterns used to match on lists of constant
values to `m_TorchListOfCon...

09ca07bca00622064ee374f32fba2f17e42e4272 authored about 2 years ago
Enable bazel LIT tests in CI (#1596)

Bazel LIT test support was added in https://github.com/llvm/torch-mlir/pull/1585. This PR enable...

ba5b90ee27792e40f2478aa198639b5fa808d824 authored about 2 years ago
[torch_mlir.compile] Handle the case of already-scripted models better

Closes #1582

3695ca83e6c8e06163c24800a3791f43b8cf8fc6 authored about 2 years ago
[MLIR][TORCH] Add E2E support for aten.randint.low op

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

a1d3afdba9f3baaa502654c2ab52fb86f358e6ec authored about 2 years ago
[TOSA] Add more tosa::cast type support

22a50672423b2ee53c459b4b983da0faa26c2745 authored about 2 years ago
Fix cache bug with Bazel builds in CI (#1593)

Some time ago, bazel builds in CI were being sped up fine with caching. However, over time the c...

4aa1e90b34f5c0819fbc7fc47f9928837bd6b4d5 authored about 2 years ago
Enable torch-mlir LIT tests in Bazel (#1585)

Adds support to run `.mlir` LIT tests in bazel.

```
bazel test @torch-mlir//test/...
```
...

fc4c8d4ed946885c614078970fbe8e8c516d0a0b authored about 2 years ago
Add Bazel buildifier to torch-mlir (#1586)

Formats bazel BUILD and .bzl files with a standard convention.

Invoke using
```
bazel run ...

4032eeca6424f29f9b6b3fdbde0751aab7bf545e authored about 2 years ago
Fix bazel CI (#1591)

I accidentally broke bazel CI by forgetting to update the GHA workflow in my [previous PR](https...

99ec6039f6abf9790747b258b8812b029547fa42 authored about 2 years ago
Simplify Bazel build workflow (#1587)

Remove `run_bazel_build.sh`, simplify docker's entrypoint to start container at `utils/bazel` di...

b320f7fb7785ac99235567b4c8560241010fb1bb authored about 2 years ago
[MLIR][TORCH] Add E2E support aten.convolution_backward op

This commit adds the decomposition for the `aten.convolution_backward`
and `aten.convolution_bac...

92f385bd9fec4c8e9c0f0094ea2bb0037bdb12c6 authored about 2 years ago
update PyTorch version to 1.14.0.dev20221114

f40cbd6a71acaf83b94df4897f85af00c2a89d16 authored about 2 years ago
build: pin torchvision to latest nightly (#1584)

We currently pin the `torch` package to the latest nightly version, but
since `torchvision` dep...

f1ef5681cc370b8a50775115975f7febfb16647a authored about 2 years ago
[MLIR][TORCH] Fix aten.unsqueeze op (#1578)

The range of the unsqueeze dim is: [-input.dim() - 1, input.dim() + 1), the bug forgets to add 1.

dfe7513a4589b2087de7d04b4754a8cfb9843ddb authored about 2 years ago
Update TorchMlirBackendImpl Methods (#1580)

* Fix LTC build

* Remove passing test from xfail set

6909eaf7fcfe1be0cc7da7f97c9c41097dc59293 authored about 2 years ago
ci: make pip skip cached packages while installing dependencies (#1570)

We want each build to be reproducible regardless of prior builds and
prior package installation...

eec9a7e022a12d6bece074bc4d2821558d2c7e3f authored about 2 years ago
[MLIR][TORCH] Fix aten.upsample_nearest2d_backward op

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

a558034c1af332fff50419098c6c92919829b28d authored about 2 years ago
[torch_mlir.compile] Fixes issue with the https://github.com/llvm/torch-mlir/issues/1557

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

d571d050fd1c012ce4733018fd55fab6c3a55a71 authored about 2 years ago
[Bazel] Update to Ubuntu-22.04 and clang-16 for Bazel build docker (#1523)

* Update Ubuntu and clang in the docker container
* Specifically build just `@torch-mlir//:torc...

dcff5a71505044aaf7c4618fa7fb4ec60d3b03c4 authored about 2 years ago
build: revert PyTorch update (#1571)

The PyTorch update broke the build. I'm about to add more tests so that
it doesn't happen in t...

6c31b06922efd5f0e1063aebbd63b6a322c64da9 authored about 2 years ago
update PyTorch version to 1.14.0.dev20221110

9df748d7efd52e42773125a879197a172d3a45b4 authored about 2 years ago
[cleanup] Be consistent about apostrophe

cc468d2d161a818ac030429b6da0a1c03da2c7fe authored about 2 years ago
Move single-tensor-tuple-return test to mlir unit test.

Also, add multiple return test.

a7ac0def45a200aba3842f73271efe31dfe91cf0 authored about 2 years ago
update llvm tag to a2620e00. (#1567)

- also update MHLO to 57ba12a2(branch greencommit/2022-11-07-a2620e00)
- change -pass-pipeline ...

4f173c6e0f1ea35ccee07970f514f9da90e7db8b authored about 2 years ago
[torch_mlir.compile] Add support for multiple exported methods

For AoT deployments models often have multiple exported methods.
This patch enables something li...

64914603fa9376468f0f303029b5b3a067c27b83 authored about 2 years ago
fix TorchToMhlo Conversion cmake dependency (#1549)

2793a2bd417a58e1d5e060406aa094db055b659c authored about 2 years ago
Add Suraj to TorchToTOSA owners (#1566)

ec4e01c321f8206a5489bd5a1ba4e662bda688ce authored about 2 years ago
Remove MakeView from IR Builder (#1552)

* Remove MakeView from IR Builder

* Update PyTorch requirements

2ec4b06bbb8061b5a09342be7602d0e25b849a30 authored about 2 years ago
build: un-pin the ninja pip package version (#1562)

Now that the ninja pip package issue has been resolved, this patch
removes the pinned version f...

9a73b9e6c7dbb0d4227cfb287f864bae70c35d0e authored about 2 years ago
ci: re-add powershell script for windows release builds (#1561)

This file was removed as part of the PR that added build caching for
Windows.

e16ccce373b9630415246528bb0bae6608fdda3f authored about 2 years ago
update PyTorch version to 1.14.0.dev20221105

e78e9cd782daf5b2b5d2f6d961fb621eac44bec0 authored about 2 years ago
build: pin ninja pip version temporarily to resolve build failure (#1558)

Going from ninja v1.10.2 to v1.11.1, there is a change that breaks the
CI builds with the follo...

27d8d47022eb1d69e29b98dabcb6f59ffd729832 authored about 2 years ago
update PyTorch version to 1.14.0.dev20221104

5ee20e70a1c507685803cfd1a4c01bd70f5dcebb authored about 2 years ago
importer: fix usage after PyTorch update (#1555)

Unless requested otherwise, PyTorch no longer installs most of the
header files under the caffe...

d99b2ddb1baa2413a4cd629d71f08438675949f9 authored about 2 years ago
[MLIR][TORCH] Add E2E support for aten.upsample_nearest2d_backward.vec op

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

fedf8c064079261d26c1132072e1a4b0f844cccb authored about 2 years ago
build: enable update scripts to work with out-of-tree builds (#1553)

Before this patch, the update_shape_lib.sh and update_torch_ods.sh
scripts only worked on in-tr...

db5a496eb410fda9b04d3d276f87d541aec8ac3b authored about 2 years ago
[docs] Centralize all images in docs/images/

de4bcbfe9b21746dcd085b14b8e471634ae31255 authored about 2 years ago
ci: enable ccache on Windows (#1548)

This patch makes a few small, but key, changes to enable ccache on
Windows. First, it replaces...

2846776897f2531cb5dcd4d9ecda4f1fbfd008e1 authored about 2 years ago
CI script improvements (#1547)

* ci: update versions of external actions

Node.js 12 actions are deprecated and will eventual...

f84764249574ade6a69d16f36e8faa1c152b0764 authored about 2 years ago
[docs] Add long-term roadmap

Add a roadmap covering expected project evolution over the next 1-2
years.

2162253401090cb96e59a6363f9a4de48ea9ad09 authored about 2 years ago
ci: introduce read-only and read-write PyTorch build caches (#1546)

Until recently, we had to either risk feature branches creating PyTorch
build caches (which wer...

031d127940bd817a79c8750d0f7ec8d77083c68b authored about 2 years ago
Revert "ci: build PyTorch before building Torch-MLIR (#1542)" (#1545)

This reverts commit 805d728194f25f886d39bf6d290f773d69b2f6f4.

79871040c949599768b8b816b2ff6eaa93df0041 authored about 2 years ago
ci: build PyTorch before building Torch-MLIR (#1542)

This patch updates the build_linux_packages.sh script so that when
PyTorch needs to be built fr...

805d728194f25f886d39bf6d290f773d69b2f6f4 authored about 2 years ago