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

Convert torch si literals into signless for TOSA (#1421)

cb1b8796a2596bf341272d7405f7e8c0da2c3c6f authored over 2 years ago
[MLIR] Add canonicalizer for aten.slice.t op (#1413)

* [MLIR] Add canonicalizer for aten.slice.t op

* Add mlir tests and strength the canonicalize...

c03aa633259017ea47d47879cd0a5b769d0ca210 authored over 2 years ago
build: update llvm tag to bebc9695 (#1415)

Summary of changes:
- Renamed OptionalArrayRefParameter since the name conflicts with an
u...

a60acf272d618160d210015ff7c19fa773b1f345 authored over 2 years ago
Fix as_strided/slice symint (#1401)

* Fix as_strided symint

* Re-enable LTC tests

* Re-enable LTC

* Add hardtanh shape infe...

3e27aa2be3339d3976de287037f06c3738bfe19d authored over 2 years ago
Change out-of-tree build flag name (#1416)

41d45400be3feca0a982e2902c1681d5b2246ada authored over 2 years ago
[MHLO] Add torch-to-mhlo e2e support for aten.gather op (#1410)

* Add torch-to-mhlo e2e support for aten.gather op

* Add more e2e tests for torch.aten.gathe...

ab7aa01b1eed74c13ef2f4af5e9590e72330bc58 authored over 2 years ago
[tosa] Add "-tosa-to-tensor" pass in the lowering pipeline

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

bc11e1aba67f0e8d0e631f0a0952645cf3e37273 authored over 2 years ago
Create github action for creating pip-compatible releases index

1dfe5efe9ee8f58deabf9382b58894a00b2d440c authored over 2 years ago
Fix iterator types for embedding bag sum mode (#1371)

53bf09ceeff6876f67c4b7b99179326fe0d5b747 authored over 2 years ago
build: add missing dependency on MLIRTorchTypesIncGen (#1405)

b0b2b3a1994348b0abbcd2d1fe9824fb9ac57f2e authored over 2 years ago
Fix dynamic shapes type verifications (#1409)

* Fix dynamic shapes type verifications

16dd7e2e5f2ff2a18f78e34c1de54b14b8d85812 authored over 2 years ago
Add relu6 and binary broadcasts (#1408)

* Add relu6 and binary broadcasts

72e422b58919a5fcbb4d8ad4eb297744343ced50 authored over 2 years ago
Add a way to turn off crashing tests

This adds a very long and obnoxious option to disable crashing tests.
The right fix here is to u...

7a77f9fe3db1f4734a7a68e2c2e3fc51a7fcd88b authored over 2 years ago
Replace empty_like && empty_memory_format with full/full_like (#1398)

* Replace empty_like && empty_memory_format with full/full_like

* fix broadcast rank0 tensor

061a97c3f2492dcade81b9077866688b3c5c6c1d authored over 2 years ago
Add build flag for out-of-tree builds (#1403)

8f2bf4ce102452b21dc6c6f1ce8c9fbbc8642766 authored over 2 years ago
Disable LTC again (#1400)

https://github.com/llvm/torch-mlir/issues/1396

566234f97aac4d02e70d2d7a54550035ed4839d2 authored over 2 years ago
[MLIR][TORCH] Add TorchToTosa lowering for aten.clone op (#1388)

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

Co-authored-by: Suraj Sudhir <16977902+s...

4ef6e69ed49f309aa70ea40f12bf7488cd8e3434 authored over 2 years ago
[MLIR][TORCH] Add a test for sum.dim_IntList op working for tosa (#1387)

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

Co-authored-by: Suraj Sudhir <16977902+sj...

5090ac9359da987349bd5f0e12bcb884ec1cccf8 authored over 2 years ago
[MLIR][TORCH] Add TorchToTosa lowering for aten.broadcast_to op (#1386)

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

1ffd42bbde1040bf3fa2fe58285eb49d20a7e2a6 authored over 2 years ago
Add torch-to-mhlo e2e support for AtenArangeStartStepOp (#1385)

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

0e2e94d5420c629d0193732a997b6488661db449 authored over 2 years ago
Fix symint ops and blacklist `lift_fresh_copy` (#1373)

* Add symint to native functions yaml

* Re-enable LTC

* Fix new_empty_strided and narrow_copy

896746398027d3f22151920c9fb8ae863319c657 authored over 2 years ago
Strength the shape inference for aten.arange-like op (#1367)

Strength the shape inference for aten.arange-like op by
1. registering aten.sub and aten.ceil.S...

4f3cd236dd443ba714b24ea10d7151f0e0fb7625 authored over 2 years ago
Add a `AllowedInModuleInitializer` trait to denote ops that are permitted in the module initializer (#1379)

This PR adds an `AllowedInModuleInitializer` trait to keep track of ops that are permitted in th...

bb47b36eac2cea8655753aeb05566430b3094c6b authored over 2 years ago
build: update llvm tag to 458598cc (#1382)

No changes are required to Torch-MLIR, other than updating the MHLO
submodule to point to the b...

e17fcea94ec384209df5412bb2bac71ff004942c authored over 2 years ago
Disable libzstd detection to fix M1 builds (#1380)

Previously we `sudo rm -f` the non-universal zstd installed in the GHA. The CI has this fix but ...

45edef33915f235d52aeebd4419a7a54990baaeb authored over 2 years ago
[torch-mlir][Tosa] fix during torch.max.dim lower to tosa the reshape's new shape attr mismatch reshape's result type (#1378)

797feaf1297b2db11a7b93a5cabcc1395acfc804 authored over 2 years ago
[MLIR][TORCH] Add support for bool element type for aten.sum[.dim_IntList] op

This commit adds bool element type support for `aten.sum` and
`aten.sum.dim_IntList` op.

Signed...

04f3a4ffce81495a2319a706c5914b152dd1aae1 authored over 2 years ago
shape-lib: generate string as multiple lines to work with MSVC (#1370)

As @oroppas identified, literal strings that are over 16,380 characters
cause the MSVC compiler...

1895b581c4f66763a2a47519da1ed85c43be4060 authored over 2 years ago
[MLIR][TORCH] Add failing test to xfail_sets.py

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

51e3c3f1ed486709a9d62ccf7b729dca0dc3b272 authored over 2 years ago
Add AtenClampOp conversion pattern to MHLO (#1356)

Add AtenClampOp conversion pattern to MHLO

b316918947f4c206fd6c3abcecb5abcb27efc73b authored over 2 years ago
[Arch] Remove torch_dispatch frontend and move figure to docs/ dir (#1372)

Addresses leftover comment from earlier PRs: #1254 , #1265 to remove `torch_dispatch` frontend. ...

e749831434387e5b7cd4645afc5e1d8c0b38e837 authored over 2 years ago
Update Torch-MLIR architecture diagram (#1265)

9111b9ab213f390429f511458456a5cbe8f43287 authored over 2 years ago
Remove TorchLoweringPipelineOptions from TorchConversion pipelines

TorchLoweringPipelineOptions only applies to the frontend lowering
pipeline.

851ce0c940df563e82b1bdf0e911b1816d6fbc54 authored over 2 years ago
build: update llvm tag to 4d4ca6c9 (#1359)

Summary of changes:
- Updated emitAccessorPrefix since the default value has changed
(http...

2bb5f4d8fe1f91715716f46b9b8b895aec078021 authored over 2 years ago
python: add `CHECK-LABEL` statements to localize checks (#1363)

It seems as though an upstream change in PyTorch has caused the module
dump to include not just...

a9e1014fc70ae85e90205f1d9ed25defb65dc466 authored over 2 years ago
Add more info about unit tests.

1c8b389ead45d736eaff8b4b5e7bc71954624f6b authored over 2 years ago
Fold away type_as (#1358)

48418b9c22ca48ee7968d988701f7f76a95b8463 authored over 2 years ago
[MHLO] add new options to pipeline (#1331)

7f63a17a46b8d700c39b135c2a6f6319dad45283 authored over 2 years ago
[MLIR][TORCH] Add E2E support for aten.index.Tensor_hacked_twin op

This commit adds lowering of `index.Tensor_hacked_twin` op.

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

71b1f0dd7a5d728a60fbfe822274b1315aa80fba authored over 2 years ago
Add lowering for aten::cumsum

a12b9c44928b744dfcfdbaba16188d65a18e33d9 authored over 2 years ago
[MLIR][TORCH] Fix shape calculation for aten::pow.Tensor_Tensor op

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

326f21229e684c3adcdcde88f439dca5aeb6e6d7 authored over 2 years ago
[MLIR][TORCH] Add E2E support for aten.bitwise_not op

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

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

e35741fb1ded2e14cf3b72565e18f96fbe0ff1a4 authored over 2 years ago
[MLIR][TORCH] Add E2E support for aten.lift_fresh_copy op

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

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

7dfadc2498f4e36d84fb71099c052ec520fef64c authored over 2 years ago
[MLIR][TORCH] Add E2E support for aten.pow.Tensor_Tensor op

This commit adds lowering of `aten.pow.Tensor_Tensor` op.

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

c19fccfca22c2c86fdcfd2e46d311053bf32bdad authored over 2 years ago
[MLIR][MHLO] Add AtenFrobeniusNormDimOp and add its conversion pattern to MHLO and linalg (#1306)

* Add aten.frobenius_norm.dim op and init its conversion pattern to linalg and MHLO,
* run sym...

6a1893a5178655e51f5df0676c03b1c318e2537b authored over 2 years ago
[Bazel] Remove MHLO enable flag (#1350)

The `-DTORCH_MLIR_ENABLE_MHLO` flag was recently introduced for `TorchMLIRTorchConversionPassesI...

068eec41cb959278d269cd1d307cd41c9a4b4c0c authored over 2 years ago
build: update llvm tag to d2613d5b (#1343)

Summary of changes:
- Update the dataflow analysis in RefineTypes.cpp
- Add tosa-to-arith pa...

93f7c0ceb566587f67a8ff8b0eaacf85cbbb7376 authored over 2 years ago
[TORCH] Add decomposition of `aten.linear` op

This commit adds decomposition of `aten.linear` op. Due to limited
support at tosa backend in ca...

99093d0623c3d3e6fb961ad0c8fda5ee9fc264fe authored over 2 years ago
Revert "Implement Non-Expand/Collapse Functionality for Aten.View (#1309)" (#1347)

Reverting commit a6a48ba2338aafdf31bc337f3fb28989b03a155c to revise unit tests and address dynam...

cc86cc0f0244e597f0b9a6f662b4c5bc7abecde9 authored over 2 years ago
Implement Non-Expand/Collapse Functionality for Aten.View (#1309)

Focuses on statically sized cases such as [2, 3] -> [3, 2].

a6a48ba2338aafdf31bc337f3fb28989b03a155c authored over 2 years ago
Delete ConvertAtenNativeLayerNormOp from TorchToLinalg (#1336)

The ConvertAtenNativeLayerNormOp is delete because we have decomposition already
see https://gi...

37f57a98283c7aa77e04765616f62049d00efa05 authored over 2 years ago
Move CIs to use docker builds (#1316)

* Move CIs to use docker builds

Now that #1234 has landed and anyone can run CI / Release bui...

e6528f701a7cba8c0e10195bc4b838c143798fa0 authored over 2 years ago
Fix generated file checks (#1338)

No idea how this slipped by. Sorry about that.

Fixes #1334

7fa31817c55e1f19925703cb5b777ab9965b76ff authored over 2 years ago
Avoid linking to specific time

Recording was linking to specific time towards end of recording, changed to remove specific time.

51c868f4c0f79e8d4960b03cf8fbea2cbcc3408b authored over 2 years ago
Fix release builds to only build release (#1333)

We were defaulting to building Release and running tests. Tests are spawned separately.

234b2f2bd4f657da300163dbd01757fcbc5d04d7 authored over 2 years ago
Add decomposition to aten.native_layer_norm (#1332)

* Add decomposition to aten.native_layer_norm

* fix ci error

512f2d9c23c5d697974fb47c4bf03db47ad06424 authored over 2 years ago
[MHLO] add VerifyMhloBackendContract (#1321)

* [MHLO] add VerifyMhloBackendContract

* guard with macro

57d8ec151f8274da641c9d4dfda59e3e238c7205 authored over 2 years ago
Remove setting ulimit for docker runs (#1325)

We added both ipc=host and explicit ulimits. This _may_ be causing slow downs on GHA. Remove the...

729609831c2f8168edd9a8b4958bb59215b99bfc authored over 2 years ago
Drop Python3.8 binary releases. Still builds from source. (#1329)

Shows low download count and we can add it back if people ask for it. Should save release artifa...

9dbe41a85c02a1ce3a303646dd4afb43ea5a56e9 authored over 2 years ago
Slightly tweak generated file checks

The new logic has the following benefits:
1. It does not clobber the working tree state. We expe...

a924de3e1a73c1cb8aaf703fd537c1b9d8017d17 authored over 2 years ago
[MHLO] refactor pass configurations (#1315)

Related to https://github.com/llvm/torch-mlir/issues/1227

1. Reduce MHLO #ifdefs
2. Dismiss ...

29cafdbb6123de7c951673fab1e4d6722e6a46f5 authored over 2 years ago
Set ccache logging to verbose temporarily (#1326)

This is to debug what is causing the exactly ccache look up failures etc.

7769eb88f8885faa9c83be89789ca82ea2f25c32 authored over 2 years ago
Use pre-compiled headers for PyTorch Source builds (#1327)

This should speed up source builds and ccache. May cause issues on macOS (https://github.com/pyt...

3704363892f0626d1b8d95529fa09e988a8425c1 authored over 2 years ago
Add shapelib and Torch ODS gen tests (#1318)

928c815ce23b54aa3b1f88f5a6ccfc95f2502519 authored over 2 years ago
build: update llvm tag to 00d648bd (#1307)

- Update MHLO commit to build with LLVM commit hash 00d648bd
- Update TorchToMhlo code to wor...

e52e8868456ce3c99091f501c1c520989785342c authored over 2 years ago
Add some missing dependencies.

Caught in the wild here:
https://github.com/llvm/torch-mlir/runs/8046660640?check_suite_focus=tr...

51ef1b141cf211324a87d907d61c01cfc8cf37d0 authored over 2 years ago
Dockerize CI + Release builds (#1234)

Gets both CI and Release builds integrated in one workflow.
Mount ccache and pip cache as requi...

9f061ea97d5927b884474d6a08115f40b7d11707 authored over 2 years ago
Ensure that tests have unique names

0f40d98009ff56f7717f94f9d34d863760aedd1c authored over 2 years ago
Sort tests before anything else.

In the sequential case we weren't sorting, which was confusing.

079bff33f1b5fd4422ec2a67298f95da739cc791 authored over 2 years ago
Remove "torchscript" association from the e2e framework.

We use it for more than TorchScript testing now. This is a purely
mechanical change to adjust so...

e16b43e20b770ebbdfb536ff539bec8847537b59 authored over 2 years ago
Move development.md to docs/ for consistency

f402eb270e4979c1df717d042733ef1c0a48ef36 authored over 2 years ago
Update MHLO xfails.

15fca6eefe68e1ed3248015b35bed16dee2362ea authored over 2 years ago
Add CI for generated files.

This ensures that they are always up to date.

This also updates the shape lib to make the new C...

bcccf41d967c2c04caae1fb8e765d3f87d46d6d5 authored over 2 years ago
Rename an outdated class name

We used to not have "value-semantic" tensors but rather "immutable"
tensors

26231853ab6cce4b98949df059850003107e0fc1 authored over 2 years ago
Disable LTC by default until upstream revert relands (#1303)

* Disable LTC by default until upstream revert relands

Tracked with the WIP https://github.co...

c0630da678ea015ca8757340633c654d5539adac authored over 2 years ago
Add reference to slides and presentation.

f245613b71b82eb2ad7ead22ef3499ebcd925a92 authored over 2 years ago
Avoid cascading failures when compiler crashes

Change logic so that we never run the multiprocessing codepath with only
1 worker. That configur...

a507ae498a92e1508b3a4ad9d8eaf579afb6a547 authored over 2 years ago
Add documentation for adding E2E tests (#1269)

This commit adds a file explaining the structure of an E2E test, as
well as useful things to ke...

493f45f9397cc08d64410b23d2683ac915226f51 authored over 2 years ago
Add LTC architecture diagram (#1291)

* Add LTC architecture diagram

* Use PNG for diagrams

* Update diagram

883c6b40ddeca8d86012a9464afa5169308ff5c3 authored over 2 years ago
Fix symint related functionalization ops (#1289)

* Fix symint related functionalization ops

* Remove zeros xfail from LTC tests

8e880a2d009b67d45fb07434ab62ec2066a11185 authored over 2 years ago
Remove VerifyInvariantsBeforeBackendLowering

LowerToBackendContract now checks all this consistently.

0e3ddbac918facd2c32bb0606120893c98e0f947 authored over 2 years ago
Fix a few build warnings

b1fa7a2b9d32dda3631eb5552896ac882d6a1fa2 authored over 2 years ago
Add TestUtils.randint + replace torch.randint with tu.randint (#1276)

This commit adds a method to `TestUtils` that generates random integer
tensors with a similar i...

e153694c940c9358ee4ce8abb003c1623c134df4 authored over 2 years ago
Fix LTC lib_torch_mlir_ltc.so import error (#1283)

* Build LTC to _mlir_libs directory

* Update CMakeLists.txt

e869e6855958da2c66ed98d9db1187ac95f6d0ad authored over 2 years ago
Revert updating mlir_native_functions.cpp signature (#1281)

* Revert updating mlir_native_functions.cpp signature, due to https://github.com/pytorch/pytorch...

a1ace0657d1027a82b09a652a157a4c45e9d62d1 authored over 2 years ago
doc: fix instructions for LLVM and MHLO updates (#1273)

Now that we depend on MLIR-HLO, we have a slightly more involved process
for updating the LLVM ...

233fd1246bad83324d7407cb17df64f1c649e863 authored over 2 years ago
mlir: fix replacement of `OpaqueElementsAttr` (#1274)

An earlier patch (bb47c166) incorrectly replaced the now-dropped
`OpaqueElementsAttr` with `Spa...

1d9d925f6ec5bfff3b3946fa454c7c6be679f85a authored over 2 years ago
Fix LTC build warnings (#1272)

* Resolved Wunused-variable

* Fix Wunneeded-internal-declaration

* Address review comment
...

e2f862cb8538846d205ac0a837faddb50d65174f authored over 2 years ago
Add transposed case for at::convolution (#917)

Also adds a decomposition for aten::conv_transposed2d.input

f012279fa28e7ef1c80a6e2fbaeccac32d44ad89 authored over 2 years ago
[cleanup] Change OutputType enum values to strings

The use of numbers was arbitrary and was preventing the enum values from
being put in the natura...

d7d67979b20fb2a6ca9abc68693eea8dd787679b authored over 2 years ago
Add decomposition for aten.roll (#1170)

* Add decomposition for aten.roll

* add e2e unittest

* refine type of torch.roll

* fix ...

3d0e18bbe7e79df4c715e5fc1b4a2c1282eaa3c7 authored over 2 years ago
[MHLO] bert-tiny and resnet18 example from torchscript to mhlo (#1266)

Co-authored-by: Bairen Yi <[email protected]>
Co-authored-by: Jiawei Wu <xremold@gma...

1106b9aeae867f1ed44fd8f90abf140fc8f9534c authored over 2 years ago
[MHLO] Init end to end unit tests (#1223)

2374098d71083bce0fd2b665e28ebb621de5779c authored over 2 years ago
[MLIR][TORCH] Add torch.Device type to backend contract scalar types

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

8cad02f87e3cc6a80b9b058d86d4d66ec2cb9c25 authored over 2 years ago
Add decomposition for aten.flatten.using_ints (#1161)

9176b5ed297fd72d46d8ccc365e8cb485926b666 authored over 2 years ago
Add a way for backends to control which ops are legal for them.

We were already hitting many cases where backends different in terms of
the legal ops that they ...

01290d134ac4c614a578bad8af11fa85fc9a72e2 authored over 2 years ago
Update Torch-MLIR Architecture Diagram (#1254)

Add MHLO path
Add custom accelarator dialects
Rename Torch Dialect back to original Torch-MLIR...

ef89dadf52d33135feaf12aacaafc2b923338c25 authored over 2 years ago
Don't explicitly set MLIR_PDLL_TABLEGEN_EXE (#1262)

With llvm/llvm-project@91b6f76, the variable `MLIR_PDLL_TABLEGEN_EXE` is
set as a cache variabl...

1f1abda179a78652a6dcc0c28f4468d80ccb63ef authored over 2 years ago
[MLIR][TORCH] Fix CI failure due to failing tests

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

3815cfa7a598aa3b6e867b3fe47ef38b2b6096d8 authored over 2 years ago
Add lowering for _convolution.deprecated (#1259)

* Add lowering for _convolution.deprecated

c38308f3ef0a93dd0909ac9db86facec5b66f313 authored over 2 years ago