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
This commit lowers `aten.matmul` to `linalg.BatchMatmul` under the
following conditions:
1. The ...
We recently noticed that it is necessary to update the shape lib while
doing an LLVM bump: https...
* Add bazel build steps
* move to development.md
* reorder
3bb2d548a5171d9c32b134f63945834596c69691 authored over 2 years ago
This commit fixes the shape function for `index.Tensor`, adding
support for multiple index tens...
Prior to this patch, the torch dialect included `AtenTriuOp` for
computing the upper triangular...
* [MLIR][TORCH] Add folder for torch_c.from_i64 & torch_c.to_i64
* add unit tests for each in...
143a7bcb7632d1bdb7a3cc62332a5eb2f647be70 authored over 2 years ago189afa82c5d0284bbf7a45f8cec75a1cda9659c3 authored over 2 years ago
Adds my grouped conv2d op for #858
38650812fdfe47bdac6017bcdc1fbefbe1f36dac authored over 2 years ago5cff40c88a1468752a23a7c9971cfa6a5c045351 authored over 2 years ago
e143a34948dcc845cddd8d21f5f13862520b1e0e authored over 2 years ago
829717c96eb09e6393813950532c71c2789718cc authored over 2 years ago
This commit adds support for several size-1 dims in a row in an
expansion using `aten.view`.
a34dad2e077592deb497a9077fc3188b6e1154d5 authored over 2 years ago
This commit adds the decomposition of `aten.numpy_T` op into
`aten.t` or `aten.permute` op.
Sig...
77ab31641fde8cabd6403648080c69d315ffd67b authored over 2 years agoSigned-Off By: Vivek Khandelwal <[email protected]>
4605dc9c99bf56d00e335f1e8e703347c75bf541 authored over 2 years ago708a51ae2e70d3d4756b89200e26f42a6c753177 authored over 2 years ago
246c2df65a01998b2159fec79675a0631f1f0218 authored over 2 years ago
2a0c5de3633ec2df1c939eac15fbafcd64a3c968 authored over 2 years ago
Signed-Off By: Vivek Khandelwal <[email protected]>
aed5517fda2551a68e6e606dd1acf2dd3d507a8c authored over 2 years ago
The MacOS builders are having linking trouble with the extension library.
Until it's fixed, all...
8fd084377dbd9d4b17681256c75db019db81af51 authored over 2 years ago
Emergency fix to unblock the nightly Release builder
dfc6f7c547fcaa5c56a1e007648fcb7873f16885 authored over 2 years ago
The function `AffineMap::inferFromExprList` does not work if the first
vector of expressions is...
This commit adds the decomposition of `aten.floor_divide` op into
`aten.div.Tensor_mode` op.
Si...
33fa8e7761321bcedf4c96b65ebba655fb1d1555 authored over 2 years ago0d4445eaf9e270207b3670aa3eb4316e489c59d4 authored over 2 years ago
PyTorch allows new operators to be registered dynamically in modules.
Torch-mlir already makes ...
4bf34523d779f62276c8f0e4250e4f7ef18b6746 authored over 2 years ago
https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
is going to be deprecated via...
1adc0f166125aae7ae7fce93616df4e9e2f454e0 authored over 2 years agoAlso update the PyTorch nightly URL
02b917f769b3fc063abecb7523561149d7e7246e authored over 2 years agoLooks like they renamed it in location
4cdf4e7d47aed8fafacb764f4806c02305d39dbe authored over 2 years agomerging to unblock builders
e70d4f732d713567904bb6f27cb7ac3a9471bd69 authored over 2 years agoSeems to have moved in the latest nightly
6615add806eaafcfe61478049e3b3998290abbda authored over 2 years ago5c85ac3100338e32309fefda87b4366de2dc1a41 authored over 2 years ago
298d095acf6c6cd9e14d4af68522bbb35a89f581 authored over 2 years ago
* Generate underscore variant of functional ops
* Do not apply `IsTrailingUnderscoreInplaceVa...
c1da9edcf044a58cddbde3f982d216a4a8b95192 authored over 2 years ago
* Remove pybind deps from importer and annotator
* Rename files to class_annotator_pybind.cpp/.h
Now that upstream exposes them nicely, we can use them.
I noticed that we had added stuff into ...
e1b38e74dd0072f9d6d48f7c90e21912fe3e85cd authored over 2 years ago
The flag for printing the IR after each pass is now prefixed with
"mlir". This commit updates t...
This commit adds lowering of `aten.div.Tensor_mode` op.
This commit also fixes formatting for th...
This commit decomposes `aten.baddbmm` op into `aten.bmm`,
`aten.mul.Scalar`, and `aten.add.Tenso...
fe784fd90049b2b2f3d1c51a8d712a34d51b3b42 authored over 2 years ago
8a1839a17e1c52080da168bece005a4be3a1c3c1 authored over 2 years ago
This commit decomposes `aten.clamp_min` and `aten.clamp_max` op
into `aten.clamp` op.
Signed-Of...
2718b4d838c2f9aabebc3828c6341b949fd677ae authored over 2 years ago
use_tracing=True was behaving unexpectedly because the handling of
single arguments was happenin...
2f0b1d0b08f0fa296b58563af4a03a1ab8e122bc authored over 2 years ago
No need to be shipping two releases a day, our supported packages and binaries have grown.
b14c5d619daa5cff8d328985eb338dbd93826eb0 authored over 2 years agofc419b1e7d966b9589b021f1c6f02136482c5c3c authored over 2 years ago
abf5c94a1bf80cbdad4414d68f6aa59bd70d80e8 authored over 2 years ago
650f5a5008e3082edd05d7a01cb58a8671d7c4fc authored over 2 years ago
b7082a8d4ec1168f05271b6f16f592932e14c640 authored over 2 years ago
a635fd228775e676c8cc113ec9fad6412b77bfb9 authored over 2 years ago
bfe8ff4b426d22261c53f599ea7ccd1a28802525 authored over 2 years ago
a29903dfc8b55cc206b01790a850fb4bc7c5e9e8 authored over 2 years ago
0a913bc904c2752c4357dcc1670d315339bfae8b authored over 2 years ago
The patch bumped up the LLVM tag made manual fixes to the code in
`ShapeLibrary.cpp`. However,...
This commit adds the decomposition of `aten.adaptive_avg_pool2d` op into
`aten.avg_pool2d` op. T...
Signed-Off By: Vivek Khandelwal <[email protected]>
06750815d14371a7b8f0e964f2380517583e745f authored over 2 years ago
The op `aten.unsqueeze` has a mutating variant. This commit adds
support for that variant.
When compiling without assertions (i.e. in `NDEBUG` mode), a handful of
statements turn to NOPs...
cec5aeedb0b11fd5d49683286d0800c61ad5b795 authored over 2 years ago
24e04d5729d251c9f0cf0df85308de43a7b646a3 authored over 2 years ago
This commit adds lowering of `aten.Bool.float` and `aten.Bool.int` op.
Signed-Off By: Vivek Kha...
56e77d4213b6bca8c6e365bac6ecbc329d2c24d9 authored over 2 years agoThis commit adds lowering of `aten.any.bool` op.
Signed-Off By: Vivek Khandelwal <vivek@nod-lab...
014a6d16c7891d194e9031acba21b85e2a89453e authored over 2 years agoThis commit adds lowering of `aten.sqrt.int` op.
Signed-Off By: Vivek Khandelwal <vivek@nod-lab...
bc9b2156e33c194dd6e94547feda2c1cf7003927 authored over 2 years agoThere is more detail to be added here, but this is a start.
f791b2ecaeea759f4f17aa140ebb113078c061cd authored over 2 years ago30adb1e6750d3f814f91ef90deb76ec0ac30cbdf authored over 2 years ago
This patch adds support for the torch.linalg.vector_norm op to the torch
dialect, including the...
In cases where a refinement/derefinement was needed, we didn't fold.
Fixes https://github.com/l...
3fb54cba4cb1284b744dd55a2eb38d3a9f3b9975 authored over 2 years agoThis can help with development and reporting bugs.
2af53ce43437dd3cf00dc592f62e9654cd53ba9e authored over 2 years ago
1. With the help of `make_fx` we are able to get the full training graph
with weight updates....
We do this by inroducing a TensorPlaceholder class, which can be used to
specify dynamic sizes. ...
In addition to updating the llvm-project submodule, this patch also:
1. updates shape functio...
bb52a460cb101ed63d73357953fbbb544cd62c59 authored over 2 years agoGH runner times out when building 3.9 and 3.10 on macOS.
cfc1a6515c00badbf15bff8e3f2e796d3199b8e0 authored almost 3 years ago
Previously only system default versions were built. Now we build
binaries for both 3.9 and 3.10
The op `aten.rand_like` was missing a shape function, unit tests, and
the `dtype` argument was ...
Fix up wheels per python version on OSX
e7f306ec2fc532a43958e4381b3f6f8212a908ea authored almost 3 years ago
A user might want to avoid the extra layer of multiprocessing libary for
debugging purpose. In s...
This commit adds support for aten.max_pool2d, aten.max_pool2d_with_indices,
and aten.avg_pool2d ...
This commit adds lowering of `aten.ScalarImplicit` and `aten.Int.Scalar` op.
Signed-Off By: Viv...
c69a1e56881272cae312dc55e49f0f7ff94c4fe7 authored almost 3 years ago
`aten.detach` op is folded and returns the first operand since it's an
identity function(kind of...
The preserve memory specifies that `If any of the input tensors is in channels_last format,
oper...
5a6210b35bee3c9e2426c79dd8f2b38ef6d2875d authored almost 3 years ago
typo
2e6a9c084ef694311ab331018b06d44e2ff438ad authored almost 3 years ago
Fix the type promotion code for scalar only operation to return
TorchType which is the type trac...
Signed-Off By: Vivek Khandelwal [email protected]
b20679e1b80524d56b217e5feb79cd81f444f24e authored almost 3 years ago
This change makes the e2e testing parallel using the multiprocessing
python module.
This commit adds lowering of `aten.ge.float`, `aten.ge.float_int`,
`aten.ne.float_int`, `aten.gt...
e682b1d0f3a693f4e2214d4a07cfad79631710a5 authored almost 3 years ago
5243638e3366ed0eba196f6382c0056ca70d94c7 authored almost 3 years ago
The main changes are:
- Added `ValueKnowledge.scalarType` to track scalar type information.
- Ad...
Set default OSX SDK to 11.0 not 11:0
0fb7a03ac9cf13b83014cecc78e8cc61b0397a95 authored almost 3 years ago
- This commit adds support for `aten.mean.dim` op.
- It also adds a new test script `stats.py` f...
It would change the result type.
32159c4e545359d4ad9e3b492c07e07528f5b47e authored almost 3 years ago
This also has a fix for the adjustment of types of TupleConstruct
inputs, which I found when usi...
641b0b3be2d14f5b76bd87aa08b7c083d9b926e9 authored almost 3 years ago
This commit decomposes `aten.to.dtype_layout` op into `aten.to.dtype` op.
This commit also fixes...
c4dcdd1e34d5cf38aa884afd95ffbc2c6000efa5 authored almost 3 years ago
This commit adds lowering of `aten.masked_fill.Scalar` op.
This commit also fixes the formatting...
It belongs in the development docs.
07d92bcbb4439fa5eb524090f4a8a6bd121ac473 authored almost 3 years agoUseful when we are only building for one architecture.
fe1237b2a414d5b27a013872e7888921dbc57d71 authored almost 3 years ago