Created
January 31, 2024 03:54
-
-
Save renxida/4d2c76a6efac7028d0ed1f1a1b51769a to your computer and use it in GitHub Desktop.
Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed. triggered by run.py --upto inference
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/azureuser/iree-build/tools/iree-compile: /home/azureuser/miniconda/lib/libtinfo.so.6: no version information available (required by /home/azureuser/iree-build/lib/libIREECompiler.so) | |
iree-compile: iree/third_party/llvm-project/llvm/include/llvm/Support/Casting.h:566: decltype(auto) llvm::cast(const From &) [To = mlir::DenseElementsAttr, From = mlir::Attribute]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed. | |
Please report issues to https://github.com/openxla/iree/issues and include the crash backtrace. | |
Stack dump: | |
0. Program arguments: /home/azureuser/iree-build/tools/iree-compile --iree-hal-target-backends=llvm-cpu opt-125M.fp32.onnx.torch.mlir | |
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): | |
0 libIREECompiler.so 0x00007fed01436997 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 39 | |
1 libIREECompiler.so 0x00007fed01434bc0 llvm::sys::RunSignalHandlers() + 80 | |
2 libIREECompiler.so 0x00007fed0143704a | |
3 libc.so.6 0x00007fecfac3c460 | |
4 libc.so.6 0x00007fecfac9152b pthread_kill + 283 | |
5 libc.so.6 0x00007fecfac3c3b6 gsignal + 22 | |
6 libc.so.6 0x00007fecfac2287c abort + 215 | |
7 libc.so.6 0x00007fecfac2279b | |
8 libc.so.6 0x00007fecfac33b66 | |
9 libIREECompiler.so 0x00007fed02149cee | |
10 libIREECompiler.so 0x00007fed021369bb | |
11 libIREECompiler.so 0x00007fed02136319 | |
12 libIREECompiler.so 0x00007fed0482d8a7 | |
13 libIREECompiler.so 0x00007fed0482a85e mlir::PatternApplicator::matchAndRewrite(mlir::Operation*, mlir::PatternRewriter&, llvm::function_ref<bool (mlir::Pattern const&)>, llvm::function_ref<void (mlir::Pattern const&)>, llvm::function_ref<mlir::LogicalResult (mlir::Pattern const&)>) + 942 | |
14 libIREECompiler.so 0x00007fed04816379 | |
15 libIREECompiler.so 0x00007fed04812ac8 mlir::applyPatternsAndFoldGreedily(mlir::Region&, mlir::FrozenRewritePatternSet const&, mlir::GreedyRewriteConfig, bool*) + 1512 | |
16 libIREECompiler.so 0x00007fed047dc9bb | |
17 libIREECompiler.so 0x00007fed015cc89f mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) + 623 | |
18 libIREECompiler.so 0x00007fed015cd018 mlir::detail::OpToOpPassAdaptor::runPipeline(mlir::OpPassManager&, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) + 328 | |
19 libIREECompiler.so 0x00007fed015d242e | |
20 libIREECompiler.so 0x00007fed015ce51b mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool) + 2283 | |
21 libIREECompiler.so 0x00007fed015cca3a mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) + 1034 | |
22 libIREECompiler.so 0x00007fed015cd018 mlir::detail::OpToOpPassAdaptor::runPipeline(mlir::OpPassManager&, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) + 328 | |
23 libIREECompiler.so 0x00007fed015d1731 | |
24 libIREECompiler.so 0x00007fed025da9a4 | |
25 libIREECompiler.so 0x00007fed015cc89f mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) + 623 | |
26 libIREECompiler.so 0x00007fed015cd018 mlir::detail::OpToOpPassAdaptor::runPipeline(mlir::OpPassManager&, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) + 328 | |
27 libIREECompiler.so 0x00007fed015cf389 mlir::PassManager::run(mlir::Operation*) + 985 | |
28 libIREECompiler.so 0x00007fed01391b62 ireeCompilerInvocationPipeline + 3714 | |
29 libIREECompiler.so 0x00007fed015966c5 | |
30 libIREECompiler.so 0x00007fed01595f5a | |
31 libc.so.6 0x00007fecfac23a90 | |
32 libc.so.6 0x00007fecfac23b49 __libc_start_main + 137 | |
33 iree-compile 0x0000562578ff06f5 | |
Aborted (core dumped) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment