Stella Laurenzo
0be88a2313
Remove spurious debug dump.
2023-09-12 13:05:51 -07:00
Eric Kunze
0035e7cca7
[TOSA] Restore improper convert to i32
2023-09-12 12:44:13 -07:00
Eric Kunze
4769e58471
[TOSA] handle change of axis to int32 type
2023-09-12 11:36:24 -07:00
TatWai Chong
c24d0f9111
[TOSA] Align with custom assembly format change.
...
Synchronize to the change in MLIR.
2023-09-12 10:22:52 -07:00
Stella Laurenzo
6f387892a8
Adapt invalid.mlir to properties syntax
2023-09-12 09:45:52 -07:00
Stella Laurenzo
9bdd3990fc
Adapt inferReturnTypes to get the value from properties.
2023-09-12 09:45:52 -07:00
Stella Laurenzo
c4670c2a17
Adapt to RegionBranchPoint changes: https://reviews.llvm.org/D159116
2023-09-12 09:45:52 -07:00
Stella Laurenzo
5db8180f05
Adapt to ByteCodeOpInterface changes.
2023-09-12 09:45:52 -07:00
Stella Laurenzo
7ee4fc2d32
Integrate llvm-project and mlir-hlo.
...
Corresponding commits:
* mlir-hlo: 16886a108eff5197f816ca0f1950cc5ff1b078d9
* stablehlo: 77a59815a82b34f7b08ed2d42a711d9920682d0e
* llvm-project: 4acc3ffbb0af5631bc7916aeff3570f448899647
2023-09-12 09:45:52 -07:00
Arham Khan
82456eefed
[MLIR][TORCH] add E2E support for aten.new_full ( #2425 )
...
* implement aten.new_full
* remove extraneous tests
2023-09-12 09:29:08 -05:00
Vivek Khandelwal
23b72244b1
[MLIR][TORCH] Add different dtype support for aten.bmm op
...
Signed-Off By: Vivek Khandelwal <vivek@nod-labs.com>
2023-09-12 12:38:46 +05:30
Vivek Khandelwal
c1f379f3bf
build: manually update PyTorch version
...
Set PyTorch and TorchVision version to nightly release 2023-09-11.
Signed-Off By: Vivek Khandelwal <vivek@nod-labs.com>
2023-09-12 12:38:37 +05:30
Yuanqiang Liu
5895b9f8ca
fix compile warning ( #2453 )
2023-09-12 09:31:47 +08:00
Yuanqiang Liu
1f20b7275d
[Torch Dialect] add canonicalize for aten.min.other ( #2452 )
2023-09-11 17:28:22 +08:00
Stella Laurenzo
cc4a5d9f4b
update PyTorch version to 2.2.0.dev20230909 ( #2450 )
...
- torch version: 2.2.0.dev20230909
- torch commit hash: 11d2c766f14dae98296056ee16827ffbd6a4d509
- torchvision version: 0.17.0.dev20230909
Co-authored-by: Roll PyTorch Action <torch-mlir@users.noreply.github.com>
2023-09-09 08:00:39 -07:00
Stella Laurenzo
4dac1a551a
update PyTorch version to 2.2.0.dev20230908 ( #2433 )
...
- torch version: 2.2.0.dev20230908
- torch commit hash: 806d1a871ddfd2d38e1791489892009feaec8425
- torchvision version: 0.17.0.dev20230908
Co-authored-by: Roll PyTorch Action <torch-mlir@users.noreply.github.com>
2023-09-08 08:23:28 -07:00
powderluv
cfd70dfb0d
Update merge-rollpytorch.yml with approved actors ( #2446 )
2023-09-08 05:00:09 -07:00
Bruce Kim
27b55b1d5f
implemented complex tensor aten mul ( #2444 )
2023-09-07 13:29:15 -07:00
Stella Laurenzo
a8fd275a00
Fix build issue on MSVC by not having a conditional on disjoint types.
2023-09-06 20:05:31 -07:00
Vivek Khandelwal
67ae97f368
build: manually update PyTorch version
...
Set PyTorch and TorchVision version to nightly release 2023-09-06.
Signed-Off By: Vivek Khandelwal <vivek@nod-labs.com>
2023-09-06 22:36:55 +05:30
Jiawei Wu
b411a40b3d
[Torch Dialect] emit aten.__or__Tensor Op ( #2437 )
...
* emit aten.__or__TensorOp
* bug fix
* remove convert to stablehlo
* code style refinement
2023-09-06 14:21:51 +08:00
Stella Laurenzo
fcb3b718a5
Properly guard clang-specific pragma.
...
Avoids unsupported pragma warning on GCC.
2023-09-06 00:43:50 -07:00
Stella Laurenzo
29fdc3833c
Fix GCC warning recommending parens.
...
Found with a more strict set of warning flags on GCC 9.
2023-09-06 00:23:23 -07:00
Jerin Philip
9cb5d38cd1
[MLIR][TORCH] Add E2E `torch.aten.prod_dim_int` ( #2423 )
...
Uses the existing reduction codepath, adding modifications or branches
required alongside for prod.
2023-09-05 13:38:51 -07:00
Jiawei Wu
c93c6970e8
[stablehlo] add dtype conversion when converting AtenScalarImplicitOp ( #2439 )
2023-09-06 01:57:15 +08:00
Vivek Khandelwal
3841fe3035
[MLIR][TORCH] Add StableHLO lowering for embedding_bag.padding_idx op
...
Signed-Off By: Vivek Khandelwal <vivek@nod-labs.com>
2023-09-05 21:32:23 +05:30
Jiawei Wu
d62045f64d
emit aten.max.other op ( #2436 )
2023-09-05 10:52:32 +08:00
Matthias Gehre
a3ac4513e4
build_tools/python_deploy/build_linux_packages.sh: Disable dynamo testing for stable pytorch ( #2426 )
2023-09-04 10:02:07 +02:00
Jiawei Wu
30510f8cf7
[stablehlo] add AtenScalarImplicitOp's reverter to stablehlo backend ( #2434 )
...
* add ScalarImplicitOp's reverter to stablehlo backend
* add new passed test case for stablehlo backend
2023-09-04 14:04:09 +08:00
Yuanqiang Liu
e9ab8ceb1c
[Torch Dialect] support aten.split_with_sizes ( #2431 )
...
* [Torch Dialect] support aten.split_with_sizes
* update
2023-09-04 09:59:26 +08:00
Bruce Kim
cd1c7df8be
[MLIR][TORCH] Add E2E support for view_as_real op ( #2419 )
...
* view_as_real test case, allow dtype in testutils.randn
* abstract python upstream func implemented
* fixed upstream dtype func, implemented view_as_real backend op
* formatted AtenViewAsRealOp, removed change in e2etest/framework
* removed test suit from reshape_like.py, because it's moved to basic.py
* implemented C-API wrapper for mlirComplexF128 type
* fixed torch.complex dtype width in MLIR and Torch MLIR, deleted float16 dtype dict
* Changed IR input of aten fft_fft unit test
* code refactored
* code refactored and fixed ci test
* refactored: removed white spaces, and rolled back to having both input/output affine expr
* refactored: deleted output affine expr to reduce redundancy
* xfail ltc backend
* removed ComplexImag and ComplexReal from torchdynamo xfail set
* copied and pasted from main branch as there's no change to be made in this file
* refactored abstract_interp_lib_gen.py
* refactored: torchtypes.td, formatted, removed commented out code
2023-09-01 21:12:01 -07:00
Quinn Dawkins
1fc4314b62
Add folder for aten.broadcast_to on unchanged static shapes ( #2421 )
2023-09-01 14:50:34 -04:00
Arham Khan
34a0897e1b
[MLIR][TORCH] add E2E support for aten.rand ( #2424 )
...
* impl decomposition for aten.rand
* remove stablehlo conversion for aten.rand
2023-09-01 13:13:58 -05:00
Vivek Khandelwal
729386c9d8
build: manually update PyTorch version
...
Set PyTorch and TorchVision version to nightly release 2023-09-01.
Signed-Off By: Vivek Khandelwal <vivek@nod-labs.com>
2023-09-01 22:07:51 +05:30
Roll PyTorch Action
f83ee83604
update PyTorch version to 2.1.0.dev20230831
...
- torch version: 2.1.0.dev20230831
- torch commit hash: b5b99fe13b890232bb61155a46239922661f4695
- torchvision version: 0.16.0.dev20230831
2023-09-01 10:55:49 +05:30
Vivek Khandelwal
5c43daa3bf
[MLIR][TORCH] Add e2e support for aten.pow.Scalar op
...
Signed-Off By: Vivek Khandelwal <vivek@nod-labs.com>
2023-08-31 21:43:24 +05:30
Vivek Khandelwal
aa15f0d4ca
build: manually update PyTorch version
...
Set PyTorch and TorchVision version to nightly release 2023-08-30.
Signed-Off By: Vivek Khandelwal <vivek@nod-labs.com>
2023-08-31 16:23:34 +05:30
Gleb Kazantaev
6b02e9a926
[LTC] Tensor[]? support operands type support using partial codegen ( #2410 )
...
* Tensor[]? support operands type support using partial codegen
* aten.index.Tensor support via partial codegen
* Add torch.index_put tracing support
* Added optional tensor list type support for LTC/TorchMLIR lowering
* Added comments
Co-authored-by: Gleb Kazantaev <gleb.kazantaev@cerebras.net>
2023-08-30 06:29:39 -04:00
JianzheXiao
17d02811d5
[Torch Dialect] add folder for aten.any.bool ( #2388 )
...
* update
* update
* update
* update
* update
* update
* update
2023-08-30 17:29:03 +08:00
jinchen62
1682b540bf
Prototype passes for lowering quantized group matmul ( #2402 )
...
* Support brevitas custom op (#2320 )
* f16 change for brevitas
* Adapt the change of brevitas quant custom op name
* Add unit tests
* Make brevitas conversions isolated
* Address the comments
---------
Co-authored-by: dan <danimal197@gmail.com>
2023-08-29 21:25:45 -07:00
Arham Khan
c42d2beb6e
[MLIR][TORCH] add E2E support for aten.min op ( #2422 )
...
* impl aten.min op
* remove extraneous test
2023-08-29 12:12:41 -05:00
Zhekun(Josh) Zhang
5282324c68
[Importer] fix has value semantic return type ( #2404 )
...
* fix value semantic return
* address comments
---------
Co-authored-by: zhekun.zhang <zhekun.zhang@bytedance.com>
2023-08-29 10:14:09 +08:00
David Gens
ca34b9c4fc
add max_pool3d ( #2386 )
2023-08-28 19:01:55 -04:00
Arham Khan
bc6bba9077
add nondefault test case, add to illegal ops in backend contract
2023-08-28 10:52:16 +05:30
Arham Khan
8855fa3ace
amend dtype function
2023-08-28 10:52:16 +05:30
Arham Khan
a80bc42521
dtype test case
2023-08-28 10:52:16 +05:30
Arham Khan
5138148f5c
update passing test sets
2023-08-28 10:52:16 +05:30
Arham Khan
610d836fd2
impl aten.elu as decomposition
2023-08-28 10:52:16 +05:30
Arham Khan
12eadccc07
add e2e support for aten.elu
2023-08-28 10:52:16 +05:30
Jiawei Wu
4339c00f1b
[Torch Dialect][stablehlo] emit aten.rand op and add converter to stablehlo ( #2413 )
...
* [Torch Dialect] emit aten.rand op and add converter to stablehlo
* add failed tests for torchdynamo backend
* add failed test for linalg backend
2023-08-27 21:56:36 +08:00