-
-
Save Abhishek-Varma/d53825ef851a7628115b9f094d97e624 to your computer and use it in GitHub Desktop.
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
LLVM ERROR: checking for an interface (``) that was promised by dialect 'func' but never implemented. This is generally an indication that the dialect extension implementing the interface was never registered. | |
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. | |
Stack dump: | |
0. Program arguments: ./build/bin/torch-mlir-opt -pass-pipeline=builtin.module(torchscript-module-to-torch-backend-pipeline) /home/abhishek/raw.mlir -mlir-print-ir-after-all | |
#0 0x000055b87b04320d llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/abhishek/my-torch-mlir/externals/llvm-project/llvm/lib/Support/Unix/Signals.inc:602:11 | |
#1 0x000055b87b0436ab PrintStackTraceSignalHandler(void*) /home/abhishek/my-torch-mlir/externals/llvm-project/llvm/lib/Support/Unix/Signals.inc:675:1 | |
#2 0x000055b87b041926 llvm::sys::RunSignalHandlers() /home/abhishek/my-torch-mlir/externals/llvm-project/llvm/lib/Support/Signals.cpp:104:5 | |
#3 0x000055b87b043ec5 SignalHandler(int) /home/abhishek/my-torch-mlir/externals/llvm-project/llvm/lib/Support/Unix/Signals.inc:413:1 | |
#4 0x00007fcc41a42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520) | |
#5 0x00007fcc41a96a7c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x96a7c) | |
#6 0x00007fcc41a42476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476) | |
#7 0x00007fcc41a287f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3) | |
#8 0x000055b87af5b264 llvm::report_fatal_error(llvm::Twine const&, bool) /home/abhishek/my-torch-mlir/externals/llvm-project/llvm/lib/Support/ErrorHandling.cpp:125:5 | |
#9 0x000055b873baed59 mlir::Dialect::handleUseOfUndefinedPromisedInterface(mlir::TypeID, llvm::StringRef) /home/abhishek/my-torch-mlir/externals/llvm-project/mlir/include/mlir/IR/Dialect.h:231:3 | |
#10 0x000055b873baef78 mlir::Dialect::getRegisteredInterface(mlir::TypeID) /home/abhishek/my-torch-mlir/externals/llvm-project/mlir/include/mlir/IR/Dialect.h:163:5 | |
#11 0x000055b87add1510 mlir::detail::DialectInterfaceCollectionBase::DialectInterfaceCollectionBase(mlir::MLIRContext*, mlir::TypeID) /home/abhishek/my-torch-mlir/externals/llvm-project/mlir/lib/IR/Dialect.cpp:127:15 | |
#12 0x000055b87aa2fe6e mlir::DialectInterfaceCollection<mlir::DialectInlinerInterface>::DialectInterfaceCollection(mlir::MLIRContext*) /home/abhishek/my-torch-mlir/externals/llvm-project/mlir/include/mlir/IR/DialectInterface.h:161:9 | |
#13 0x000055b87aa2fde1 mlir::InlinerInterface::InlinerInterface(mlir::MLIRContext*) /home/abhishek/my-torch-mlir/externals/llvm-project/mlir/include/mlir/Transforms/InliningUtils.h:186:15 | |
#14 0x000055b87aa21f19 (anonymous namespace)::Inliner::Inliner(mlir::MLIRContext*, mlir::CallGraph&, mlir::SymbolTableCollection&) /home/abhishek/my-torch-mlir/externals/llvm-project/mlir/lib/Transforms/Inliner.cpp:403:9 | |
#15 0x000055b87aa2164c (anonymous namespace)::InlinerPass::runOnOperation() /home/abhishek/my-torch-mlir/externals/llvm-project/mlir/lib/Transforms/Inliner.cpp:675:11 | |
#16 0x000055b87ab3182b mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int)::$_7::operator()() const /home/abhishek/my-torch-mlir/externals/llvm-project/mlir/lib/Pass/Pass.cpp:0:17 | |
#17 0x000055b87ab317c5 void llvm::function_ref<void ()>::callback_fn<mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int)::$_7>(long) /home/abhishek/my-torch-mlir/externals/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:5 | |
#18 0x000055b8777e90d9 llvm::function_ref<void ()>::operator()() const /home/abhishek/my-torch-mlir/externals/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:68:5 | |
#19 0x000055b87ab3484d void mlir::MLIRContext::executeAction<mlir::PassExecutionAction, mlir::Pass&>(llvm::function_ref<void ()>, llvm::ArrayRef<mlir::IRUnit>, mlir::Pass&) /home/abhishek/my-torch-mlir/externals/llvm-project/mlir/include/mlir/IR/MLIRContext.h:276:3 | |
#20 0x000055b87ab2cd26 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) /home/abhishek/my-torch-mlir/externals/llvm-project/mlir/lib/Pass/Pass.cpp:488:17 | |
#21 0x000055b87ab2d2e4 mlir::detail::OpToOpPassAdaptor::runPipeline(mlir::OpPassManager&, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) /home/abhishek/my-torch-mlir/externals/llvm-project/mlir/lib/Pass/Pass.cpp:548:16 | |
#22 0x000055b87ab2ed7c mlir::PassManager::runPasses(mlir::Operation*, mlir::AnalysisManager) /home/abhishek/my-torch-mlir/externals/llvm-project/mlir/lib/Pass/Pass.cpp:857:10 | |
#23 0x000055b87ab2ec92 mlir::PassManager::run(mlir::Operation*) /home/abhishek/my-torch-mlir/externals/llvm-project/mlir/lib/Pass/Pass.cpp:837:60 | |
#24 0x000055b872a542c2 performActions(llvm::raw_ostream&, std::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*, mlir::MlirOptMainConfig const&) /home/abhishek/my-torch-mlir/externals/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:376:17 | |
#25 0x000055b872a53ef9 processBuffer(llvm::raw_ostream&, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, mlir::MlirOptMainConfig const&, mlir::DialectRegistry&, llvm::ThreadPool*) /home/abhishek/my-torch-mlir/externals/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:431:12 | |
#26 0x000055b872a53ceb mlir::MlirOptMain(llvm::raw_ostream&, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, mlir::DialectRegistry&, mlir::MlirOptMainConfig const&)::$_2::operator()(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&) const /home/abhishek/my-torch-mlir/externals/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:472:12 | |
#27 0x000055b872a53c6d mlir::LogicalResult llvm::function_ref<mlir::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>::callback_fn<mlir::MlirOptMain(llvm::raw_ostream&, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, mlir::DialectRegistry&, mlir::MlirOptMainConfig const&)::$_2>(long, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&) /home/abhishek/my-torch-mlir/externals/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12 | |
#28 0x000055b87aeccf99 llvm::function_ref<mlir::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>::operator()(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&) const /home/abhishek/my-torch-mlir/externals/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:68:12 | |
#29 0x000055b87aecc575 mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<mlir::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, bool, bool) /home/abhishek/my-torch-mlir/externals/llvm-project/mlir/lib/Support/ToolUtilities.cpp:28:12 | |
#30 0x000055b872a50aa9 mlir::MlirOptMain(llvm::raw_ostream&, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, mlir::DialectRegistry&, mlir::MlirOptMainConfig const&) /home/abhishek/my-torch-mlir/externals/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:475:10 | |
#31 0x000055b872a50f7e mlir::MlirOptMain(int, char**, llvm::StringRef, mlir::DialectRegistry&) /home/abhishek/my-torch-mlir/externals/llvm-project/mlir/lib/Tools/mlir-opt/MlirOptMain.cpp:531:14 | |
#32 0x000055b8729f194f main /home/abhishek/my-torch-mlir/tools/torch-mlir-opt/torch-mlir-opt.cpp:40:33 | |
#33 0x00007fcc41a29d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90) | |
#34 0x00007fcc41a29e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40) | |
#35 0x000055b8729f17e5 _start (./build/bin/torch-mlir-opt+0x4a5b7e5) | |
Aborted (core dumped) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment