muwys518

Results 6 issues of muwys518

### What happened? Traceback (most recent call last): File "", line 1, in File "/home/roger.luo/workspace/test/iree/code/iree-build-base/runtime/bindings/python/iree/runtime/__init__.py", line 13, in from . import _binding File "/home/roger.luo/workspace/test/iree/code/iree-build-base/runtime/bindings/python/iree/runtime/_binding.py", line 19, in from .._runtime.libs import...

bug 🐞

### What happened? `iree-import-onnx model.onnx -o model.mlir error version is "iree-compiler-20240226.813" it is ok in version "iree-compiler-20240218.805"` ### Steps to reproduce your issue 1. python -m pip install \ --find-links...

bug 🐞

error: failed to legalize operation 'torch.operator' that was explicitly marked illegal %714 = torch.operator "onnx.Gather"(%232, %233) {torch.onnx.axis = 0 : si64} : (!torch.vtensor, !torch.vtensor) -> !torch.vtensor

I'm following [README](https://github.com/llvm/torch-mlir#torchscript-resnet18). After installing the dependencies and `$ pip install --pre torch-mlir torchvision -f https://llvm.github.io/torch-mlir/package-index/ --extra-index-url https://download.pytorch.org/whl/nightly/cpu` the script crashes with the following stacktrace: ``` torch-mlir-import-onnx Traceback (most recent...

c1.mlir:112:12: error: failed to legalize operation 'torch.operator' that was explicitly marked illegal %109 = torch.operator "onnx.Clip"(%106, %107, %108) : (!torch.vtensor, !torch.vtensor, !torch.vtensor) -> !torch.vtensor ^ c1.mlir:112:12: note: see current operation:...

First step I got model.onnx and use 1.`torch-mlir-import-onnx model.onnx -o model_onnx_torch.mlir` convert success Then I use 2.`torch-mlir-opt model_onnx_torch.mlir --convert-torch-onnx-to-torch -o model_torch.mlir` convert success Then I use 3. `torch-mlir-opt model_torch.mlir --convert-torch-to-tosa...