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

[onnx] LLVM ERROR: unhandled type for getScalarTypeForType #562

Closed
jinchen62 opened this issue Mar 28, 2024 · 1 comment
Closed

[onnx] LLVM ERROR: unhandled type for getScalarTypeForType #562

jinchen62 opened this issue Mar 28, 2024 · 1 comment

Comments

@jinchen62
Copy link
Contributor

The following tests have same kind of error. They crash during convert-torch-onnx-to-torch pass.

  • test_castlike_FLOAT_to_FLOAT8E4M3FN
  • test_castlike_FLOAT_to_FLOAT8E4M3FNUZ
  • test_castlike_FLOAT_to_FLOAT8E5M2
  • test_castlike_FLOAT_to_FLOAT8E5M2FNUZ
  • test_castlike_FLOAT_to_STRING

To reproduce issue:
build venv following https://github.com/nod-ai/SHARK-TestSuite/tree/main/iree_tests#common-venv-setup-with-deps
run iree-compile iree_tests/onnx/node/generated/TEST_NAME/model.mlir -o test.vmfb --iree-hal-target-backends=llvm-cpu --mlir-print-ir-after-all

@jinchen62
Copy link
Contributor Author

included in #563

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