Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--nnpa-placement-heuristic fails on mobilenetv2-12 with Assertion `aM == bM && "expected M dims to be identical" #2800

Open
cjvolzka opened this issue Apr 15, 2024 · 0 comments

Comments

@cjvolzka
Copy link
Collaborator

Attempting to compile mobilenetv2-12.onnx with --nnpa-placement-heuristic using any value other than QualifyingOps fails to compile model.

Failure example:

podman run --rm -it --workdir=/workdir -v ./:/workdir:z -u $UID:$UID --userns=keep-id onnxmlir/onnx-mlir:latest --O3 --EmitLib --mtriple=s390x-ibm-loz --mcpu=z16 --maccel=NNPA ./mobilenetv2-12.onnx --onnx-op-stats TXT --nnpa-placement-heuristic=FasterOps
onnx-mlir: /workdir/onnx-mlir/src/Accelerators/NNPA/Conversion/ONNXToZHigh/PerfModel.cpp:142: void (anonymous namespace)::estimateTimeForMatMulOp(Operation *, Value, Value, bool, bool, const DimAnalysis *, double &, double &): Assertion `aM == bM && "expected M dims to be identical"' failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant