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
cb1b8796a2596bf341272d7405f7e8c0da2c3c6f authored over 2 years ago
* [MLIR] Add canonicalizer for aten.slice.t op
* Add mlir tests and strength the canonicalize...
c03aa633259017ea47d47879cd0a5b769d0ca210 authored over 2 years ago
Summary of changes:
- Renamed OptionalArrayRefParameter since the name conflicts with an
u...
* Fix as_strided symint
* Re-enable LTC tests
* Re-enable LTC
* Add hardtanh shape infe...
3e27aa2be3339d3976de287037f06c3738bfe19d authored over 2 years ago41d45400be3feca0a982e2902c1681d5b2246ada authored over 2 years ago
* Add torch-to-mhlo e2e support for aten.gather op
* Add more e2e tests for torch.aten.gathe...
ab7aa01b1eed74c13ef2f4af5e9590e72330bc58 authored over 2 years agoSigned-Off By: Vivek Khandelwal<[email protected]>
bc11e1aba67f0e8d0e631f0a0952645cf3e37273 authored over 2 years ago1dfe5efe9ee8f58deabf9382b58894a00b2d440c authored over 2 years ago
53bf09ceeff6876f67c4b7b99179326fe0d5b747 authored over 2 years ago
b0b2b3a1994348b0abbcd2d1fe9824fb9ac57f2e authored over 2 years ago
* Fix dynamic shapes type verifications
16dd7e2e5f2ff2a18f78e34c1de54b14b8d85812 authored over 2 years ago* Add relu6 and binary broadcasts
72e422b58919a5fcbb4d8ad4eb297744343ced50 authored over 2 years ago
This adds a very long and obnoxious option to disable crashing tests.
The right fix here is to u...
* Replace empty_like && empty_memory_format with full/full_like
* fix broadcast rank0 tensor
061a97c3f2492dcade81b9077866688b3c5c6c1d authored over 2 years ago8f2bf4ce102452b21dc6c6f1ce8c9fbbc8642766 authored over 2 years ago
https://github.com/llvm/torch-mlir/issues/1396
566234f97aac4d02e70d2d7a54550035ed4839d2 authored over 2 years agoSigned-Off By: Vivek Khandelwal <[email protected]>
Co-authored-by: Suraj Sudhir <16977902+s...
4ef6e69ed49f309aa70ea40f12bf7488cd8e3434 authored over 2 years agoSigned-Off By: Vivek Khandelwal<[email protected]>
Co-authored-by: Suraj Sudhir <16977902+sj...
5090ac9359da987349bd5f0e12bcb884ec1cccf8 authored over 2 years agoSigned-Off By: Vivek Khandelwal<[email protected]>
1ffd42bbde1040bf3fa2fe58285eb49d20a7e2a6 authored over 2 years agoCo-authored-by: Vremold <[email protected]>
0e2e94d5420c629d0193732a997b6488661db449 authored over 2 years ago* 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 by
1. registering aten.sub and aten.ceil.S...
This PR adds an `AllowedInModuleInitializer` trait to keep track of ops that are permitted in th...
bb47b36eac2cea8655753aeb05566430b3094c6b authored over 2 years ago
No changes are required to Torch-MLIR, other than updating the MHLO
submodule to point to the b...
Previously we `sudo rm -f` the non-universal zstd installed in the GHA. The CI has this fix but ...
45edef33915f235d52aeebd4419a7a54990baaeb authored over 2 years ago797feaf1297b2db11a7b93a5cabcc1395acfc804 authored over 2 years ago
This commit adds bool element type support for `aten.sum` and
`aten.sum.dim_IntList` op.
Signed...
04f3a4ffce81495a2319a706c5914b152dd1aae1 authored over 2 years ago
As @oroppas identified, literal strings that are over 16,380 characters
cause the MSVC compiler...
Signed-Off By: Vivek Khandelwal <[email protected]>
51e3c3f1ed486709a9d62ccf7b729dca0dc3b272 authored over 2 years agoAdd AtenClampOp conversion pattern to MHLO
b316918947f4c206fd6c3abcecb5abcb27efc73b authored over 2 years agoAddresses leftover comment from earlier PRs: #1254 , #1265 to remove `torch_dispatch` frontend. ...
e749831434387e5b7cd4645afc5e1d8c0b38e837 authored over 2 years ago9111b9ab213f390429f511458456a5cbe8f43287 authored over 2 years ago
TorchLoweringPipelineOptions only applies to the frontend lowering
pipeline.
Summary of changes:
- Updated emitAccessorPrefix since the default value has changed
(http...
It seems as though an upstream change in PyTorch has caused the module
dump to include not just...
1c8b389ead45d736eaff8b4b5e7bc71954624f6b authored over 2 years ago
48418b9c22ca48ee7968d988701f7f76a95b8463 authored over 2 years ago
7f63a17a46b8d700c39b135c2a6f6319dad45283 authored over 2 years ago
This commit adds lowering of `index.Tensor_hacked_twin` op.
Signed-Off By: Vivek Khandelwal <vi...
71b1f0dd7a5d728a60fbfe822274b1315aa80fba authored over 2 years agoa12b9c44928b744dfcfdbaba16188d65a18e33d9 authored over 2 years ago
Signed-Off By: Vivek Khandelwal <[email protected]>
326f21229e684c3adcdcde88f439dca5aeb6e6d7 authored over 2 years agoThis commit adds lowering of `aten.bitwise_not` op.
Signed-Off By: Vivek Khandelwal <vivek@nod-...
e35741fb1ded2e14cf3b72565e18f96fbe0ff1a4 authored over 2 years agoThis commit adds lowering of `aten.lift_fresh_copy` op.
Signed-Off By: Vivek Khandelwal <vivek@...
7dfadc2498f4e36d84fb71099c052ec520fef64c authored over 2 years agoThis commit adds lowering of `aten.pow.Tensor_Tensor` op.
Signed-Off By: Vivek Khandelwal <vive...
c19fccfca22c2c86fdcfd2e46d311053bf32bdad authored over 2 years ago
* Add aten.frobenius_norm.dim op and init its conversion pattern to linalg and MHLO,
* run sym...
The `-DTORCH_MLIR_ENABLE_MHLO` flag was recently introduced for `TorchMLIRTorchConversionPassesI...
068eec41cb959278d269cd1d307cd41c9a4b4c0c authored over 2 years ago
Summary of changes:
- Update the dataflow analysis in RefineTypes.cpp
- Add tosa-to-arith pa...
This commit adds decomposition of `aten.linear` op. Due to limited
support at tosa backend in ca...
Reverting commit a6a48ba2338aafdf31bc337f3fb28989b03a155c to revise unit tests and address dynam...
cc86cc0f0244e597f0b9a6f662b4c5bc7abecde9 authored over 2 years agoFocuses on statically sized cases such as [2, 3] -> [3, 2].
a6a48ba2338aafdf31bc337f3fb28989b03a155c authored over 2 years ago
The ConvertAtenNativeLayerNormOp is delete because we have decomposition already
see https://gi...
* Move CIs to use docker builds
Now that #1234 has landed and anyone can run CI / Release bui...
e6528f701a7cba8c0e10195bc4b838c143798fa0 authored over 2 years agoNo idea how this slipped by. Sorry about that.
Fixes #1334
7fa31817c55e1f19925703cb5b777ab9965b76ff authored over 2 years agoRecording was linking to specific time towards end of recording, changed to remove specific time.
51c868f4c0f79e8d4960b03cf8fbea2cbcc3408b authored over 2 years agoWe 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
* fix ci error
512f2d9c23c5d697974fb47c4bf03db47ad06424 authored over 2 years ago* [MHLO] add VerifyMhloBackendContract
* guard with macro
57d8ec151f8274da641c9d4dfda59e3e238c7205 authored over 2 years agoWe added both ipc=host and explicit ulimits. This _may_ be causing slow downs on GHA. Remove the...
729609831c2f8168edd9a8b4958bb59215b99bfc authored over 2 years agoShows low download count and we can add it back if people ask for it. Should save release artifa...
9dbe41a85c02a1ce3a303646dd4afb43ea5a56e9 authored over 2 years ago
The new logic has the following benefits:
1. It does not clobber the working tree state. We expe...
Related to https://github.com/llvm/torch-mlir/issues/1227
1. Reduce MHLO #ifdefs
2. Dismiss ...
This is to debug what is causing the exactly ccache look up failures etc.
7769eb88f8885faa9c83be89789ca82ea2f25c32 authored over 2 years agoThis should speed up source builds and ccache. May cause issues on macOS (https://github.com/pyt...
3704363892f0626d1b8d95529fa09e988a8425c1 authored over 2 years ago928c815ce23b54aa3b1f88f5a6ccfc95f2502519 authored over 2 years ago
- Update MHLO commit to build with LLVM commit hash 00d648bd
- Update TorchToMhlo code to wor...
Caught in the wild here:
https://github.com/llvm/torch-mlir/runs/8046660640?check_suite_focus=tr...
Gets both CI and Release builds integrated in one workflow.
Mount ccache and pip cache as requi...
0f40d98009ff56f7717f94f9d34d863760aedd1c authored over 2 years ago
In the sequential case we weren't sorting, which was confusing.
079bff33f1b5fd4422ec2a67298f95da739cc791 authored over 2 years ago
We use it for more than TorchScript testing now. This is a purely
mechanical change to adjust so...
f402eb270e4979c1df717d042733ef1c0a48ef36 authored over 2 years ago
15fca6eefe68e1ed3248015b35bed16dee2362ea authored over 2 years ago
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
We used to not have "value-semantic" tensors but rather "immutable"
tensors
* Disable LTC by default until upstream revert relands
Tracked with the WIP https://github.co...
c0630da678ea015ca8757340633c654d5539adac authored over 2 years agof245613b71b82eb2ad7ead22ef3499ebcd925a92 authored over 2 years ago
Change logic so that we never run the multiprocessing codepath with only
1 worker. That configur...
This commit adds a file explaining the structure of an E2E test, as
well as useful things to ke...
* Add LTC architecture diagram
* Use PNG for diagrams
* Update diagram
883c6b40ddeca8d86012a9464afa5169308ff5c3 authored over 2 years ago* Fix symint related functionalization ops
* Remove zeros xfail from LTC tests
8e880a2d009b67d45fb07434ab62ec2066a11185 authored over 2 years agoLowerToBackendContract now checks all this consistently.
0e3ddbac918facd2c32bb0606120893c98e0f947 authored over 2 years agob1fa7a2b9d32dda3631eb5552896ac882d6a1fa2 authored over 2 years ago
This commit adds a method to `TestUtils` that generates random integer
tensors with a similar i...
* Build LTC to _mlir_libs directory
* Update CMakeLists.txt
e869e6855958da2c66ed98d9db1187ac95f6d0ad authored over 2 years ago* Revert updating mlir_native_functions.cpp signature, due to https://github.com/pytorch/pytorch...
a1ace0657d1027a82b09a652a157a4c45e9d62d1 authored over 2 years ago
Now that we depend on MLIR-HLO, we have a slightly more involved process
for updating the LLVM ...
An earlier patch (bb47c166) incorrectly replaced the now-dropped
`OpaqueElementsAttr` with `Spa...
* Resolved Wunused-variable
* Fix Wunneeded-internal-declaration
* Address review comment
...
Also adds a decomposition for aten::conv_transposed2d.input
f012279fa28e7ef1c80a6e2fbaeccac32d44ad89 authored over 2 years ago
The use of numbers was arbitrary and was preventing the enum values from
being put in the natura...
* Add decomposition for aten.roll
* add e2e unittest
* refine type of torch.roll
* fix ...
3d0e18bbe7e79df4c715e5fc1b4a2c1282eaa3c7 authored over 2 years ago
Co-authored-by: Bairen Yi <[email protected]>
Co-authored-by: Jiawei Wu <xremold@gma...
2374098d71083bce0fd2b665e28ebb621de5779c authored over 2 years ago
Signed-Off By: Vivek Khandelwal<[email protected]>
8cad02f87e3cc6a80b9b058d86d4d66ec2cb9c25 authored over 2 years ago9176b5ed297fd72d46d8ccc365e8cb485926b666 authored over 2 years ago
We were already hitting many cases where backends different in terms of
the legal ops that they ...
Add MHLO path
Add custom accelarator dialects
Rename Torch Dialect back to original Torch-MLIR...
With llvm/llvm-project@91b6f76, the variable `MLIR_PDLL_TABLEGEN_EXE` is
set as a cache variabl...
Signed-Off By: Vivek Khandelwal<[email protected]>
3815cfa7a598aa3b6e867b3fe47ef38b2b6096d8 authored over 2 years ago* Add lowering for _convolution.deprecated
c38308f3ef0a93dd0909ac9db86facec5b66f313 authored over 2 years ago