Comments (5)
Can you try using the latest IREE? The first error is a known error that was fixed recently. Not sure about the second.
from torch-mlir.
I just ran into the hal.constant_pool.load issue myself. It was pointing at an opaque constant dumped by the reproducer. Do you have large_elements_limit on your get_asm call? If you do, then removing it should fix the issue.
I will try to make IREE give a better diagnostic for this.
from torch-mlir.
Hello Sean, Thanks for the answer!
I upgraded to the latest iree-runtime-snapshot and iree-compiler-snapshot from https://github.com/google/iree/releases/tag/snapshot-20210816.466 and the first error is gone. Could you point me to the patch which fixed this problem so that I can merge it into my custom iree project?
As for the second error, I also changed to the lastest iree snapshot and I dropped the large_elements_limit
option in my get_asm
call:
but the error still exists with a slightly different error message:
from torch-mlir.
The first error was fixed by iree-org/iree#6629
For debugging the second, can you file an IREE bug with appropriate starting IR and iree-translate command to reproduce? I don't think this is npcomp-specific. (feel free to add me on that bug, I work actively with IREE as well)
btw, I'll be on vacation for the next week, but I'll respond right as I get back
from torch-mlir.
Sure, Thanks!
from torch-mlir.
Related Issues (20)
- convert-torch-onnx-to-torch generates invalid IR for onnx.Resize where scaling is in the first two dimensions
- aten.pad with mode = reflect is lowered wrong (numeric mismatch)
- [ONNX] Expand more ONNX operators as functions when importing HOT 1
- tm_tensor.scatter op mismatch in shape of indices and update value HOT 3
- Failed to lower "torch.operator "onnx.Pad"" with axes parameter
- Compile torch.nn.functional.scaled_dot_product_attention failed HOT 3
- [TorchONNXToTorch] Bug in PadOp pad tensor rearrangement HOT 2
- Remove optional tensor logic from linalg lowering for `IndexPutHackedTwinOp`
- Failed to lower 'torch.aten.scatter_reduce.two' to stablehlo
- support torch.aten.diag HOT 4
- MLIR Python pass manager API will assert if the pass issues errors but does not signal failure
- Bump onnx to 1.16.1 HOT 2
- Need E2E ONNX op tests in CI HOT 7
- [ONNX] Bernoulli operator implementation might be wrong (value mismatch in e2e testing when using function expansion)
- Can't lower onnx.Pad with "wrap" mode HOT 1
- Error compiling MobilenetV2
- AtenReplicationPad2d lowering to linalg sometimes crashes HOT 1
- Support specialized lowering to depthwise_conv_2d_nchw_chw_q HOT 3
- One or more Stablehlo test(s) crashing after llvm bump to 266a5a9cb9daa96c1eeaebc18e10f5a37d638734 HOT 4
- Dtype checks failing with 'Subtraction, the `-` operator, with two bool tensors is not supported. Use the `^` or `logical_xor()` operator instead.'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torch-mlir.