Issue |
144260
|
Summary |
Illegal scale INF
|
Labels |
new issue
|
Assignees |
|
Reporter |
Naveen7217
|
Stack dump:
0. Program arguments: /home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/MLIR-Backend/bin/xnnc-translate --import-onnx --mlir-print-debuginfo --xtensa-core-params-file=/home/naveen/xtensa/XtDevTools/install/tools/RI-2021.7-linux/XtensaTools/config/XRC_Vision_Q7-params --config-file=temp/text_encoder.cfg --o=/home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/Example/text_encoder/temp/text_encoder/text_encoder.notclean.xth.mlir /home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/Example/text_encoder/temp/cut_model.relay2mixed.onnx.glow.onnx @/home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/Example/text_encoder/temp/text_encoder_customop_opt.txt
#0 0x000064a01eea0f58 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/MLIR-Backend/bin/xnnc-translate+0x14eaf58)
#1 0x000064a01ee9ef4e llvm::sys::RunSignalHandlers() (/home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/MLIR-Backend/bin/xnnc-translate+0x14e8f4e)
#2 0x000064a01eea18cd SignalHandler(int) Signals.cpp:0:0
#3 0x0000782a63845330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#4 0x000064a020fc6ce3 mlir::Type::getContext() const (/home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/MLIR-Backend/bin/xnnc-translate+0x3610ce3)
#5 0x000064a020f78589 mlir::RankedTensorType::get(llvm::ArrayRef<long>, mlir::Type, mlir::Attribute) (/home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/MLIR-Backend/bin/xnnc-translate+0x35c2589)
#6 0x000064a01f5e9c99 (anonymous namespace)::generateFunction(onnx::GraphProto&, llvm::StringMap<llvm::StringRef, llvm::MallocAllocator> const&, mlir::OpBuilder&, llvm::StringMap<onnx::TensorProto const*, llvm::MallocAllocator>&) TranslateFromONNX.cpp:0:0
#7 0x000064a01f5e5b17 xtensa::translateOnnxToModule(onnx::ModelProto&, mlir::MLIRContext*) (/home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/MLIR-Backend/bin/xnnc-translate+0x1c2fb17)
#8 0x000064a01f1ca4e8 std::__1::__function::__func<xtensa::translate::registerFromONNXTranslation()::$_1, std::__1::allocator<xtensa::translate::registerFromONNXTranslation()::$_1>, mlir::OwningOpRef<mlir::Operation*> (llvm::SourceMgr&, mlir::MLIRContext*)>::operator()(llvm::SourceMgr&, mlir::MLIRContext*&&) TranslateToMlirRegistration.cpp:0:0
#9 0x000064a020ecd787 std::__1::__function::__func<mlir::TranslateToMLIRRegistration::TranslateToMLIRRegistration(llvm::StringRef, llvm::StringRef, std::__1::function<mlir::OwningOpRef<mlir::Operation*> (llvm::SourceMgr&, mlir::MLIRContext*)> const&, std::__1::function<void (mlir::DialectRegistry&)> const&, std::__1::optional<llvm::Align>)::$_0, std::__1::allocator<mlir::TranslateToMLIRRegistration::TranslateToMLIRRegistration(llvm::StringRef, llvm::StringRef, std::__1::function<mlir::OwningOpRef<mlir::Operation*> (llvm::SourceMgr&, mlir::MLIRContext*)> const&, std::__1::function<void (mlir::DialectRegistry&)> const&, std::__1::optional<llvm::Align>)::$_0>, mlir::OwningOpRef<mlir::Operation*> (std::__1::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*)>::operator()(std::__1::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*&&) Translation.cpp:0:0
#10 0x000064a020ecd2ac std::__1::__function::__func<registerTranslateToMLIRFunction(llvm::StringRef, llvm::StringRef, std::__1::function<void (mlir::DialectRegistry&)> const&, std::__1::optional<llvm::Align>, std::__1::function<mlir::OwningOpRef<mlir::Operation*> (std::__1::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*)> const&)::$_0, std::__1::allocator<registerTranslateToMLIRFunction(llvm::StringRef, llvm::StringRef, std::__1::function<void (mlir::DialectRegistry&)> const&, std::__1::optional<llvm::Align>, std::__1::function<mlir::OwningOpRef<mlir::Operation*> (std::__1::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*)> const&)::$_0>, mlir::LogicalResult (std::__1::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*)>::operator()(std::__1::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*&&) Translation.cpp:0:0
#11 0x000064a020ecbdf4 mlir::LogicalResult llvm::function_ref<mlir::LogicalResult (std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>::callback_fn<mlir::mlirTranslateMain(int, char**, llvm::StringRef)::$_0>(long, std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&) MlirTranslateMain.cpp:0:0
#12 0x000064a021015d52 mlir::splitAndProcessBuffer(std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<mlir::LogicalResult (std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, bool, bool) (/home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/MLIR-Backend/bin/xnnc-translate+0x365fd52)
#13 0x000064a020eca7dd mlir::mlirTranslateMain(int, char**, llvm::StringRef) (/home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/MLIR-Backend/bin/xnnc-translate+0x35147dd)
#14 0x000064a01ee6ff2e main (/home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/MLIR-Backend/bin/xnnc-translate+0x14b9f2e)
#15 0x0000782a6382a1ca __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:74:3
#16 0x0000782a6382a28b call_init ./csu/../csu/libc-start.c:128:20
#17 0x0000782a6382a28b __libc_start_main ./csu/../csu/libc-start.c:347:5
#18 0x000064a01ee6fe29 _start (/home/naveen/Desktop/naveen/XNNC_3.2.0_Linux/XNNC/MLIR-Backend/bin/xnnc-translate+0x14b9e29)
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs