-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
报错Illegal instruction
is detected by the operating system
#12072
Comments
我这里发现同样的错误,换用paddleocr 2.6后报出如下错误: |
可能是缺少cpu avx指令集,从源码编译下dlib试一下 |
这个问题是numpy版本问题,NumPy 1.20后将不使用np.int |
related: #11597 |
请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem
运行报错非法执行,部署是使用的conda方式,我同事的机器可以,但是我这台电脑报错非法执行,将他的虚拟机拷贝过来也是一样的报错,,我查询:cat /proc/cpuinfo |grep avx 是存在这个的.
PaddlePaddle 2.6.1, compiled with
with_avx: ON
with_gpu: OFF
with_mkl: ON
with_mkldnn: ON
with_python: ON
PaddleOCR:2.7.2版本
运行指令/Command Code:
paddleocr --image_dir /home/paddle/ppocr_img/imgs/11.jpg --use_angle_cls true --use_gpu false
完整报错/Complete Error Message:
C++ Traceback (most recent call last):
0 paddle_infer::Predictor::Predictor(paddle::AnalysisConfig const&)
1 std::unique_ptr<paddle::PaddlePredictor, std::default_deletepaddle::PaddlePredictor > paddle::CreatePaddlePredictor<paddle::AnalysisConfig, (paddle::PaddleEngineKind)2>(paddle::AnalysisConfig const&)
2 paddle::AnalysisPredictor::Init(std::shared_ptrpaddle::framework::Scope const&, std::shared_ptrpaddle::framework::ProgramDesc const&)
3 paddle::AnalysisPredictor::PrepareProgram(std::shared_ptrpaddle::framework::ProgramDesc const&)
4 paddle::AnalysisPredictor::OptimizeInferenceProgram()
5 paddle::inference::analysis::Analyzer::RunAnalysis(paddle::inference::analysis::Argument*)
6 paddle::inference::analysis::IrAnalysisPass::RunImpl(paddle::inference::analysis::Argument*)
7 paddle::inference::analysis::IRPassManager::Apply(std::unique_ptr<paddle::framework::ir::Graph, std::default_deletepaddle::framework::ir::Graph >)
8 paddle::framework::ir::Pass::Apply(paddle::framework::ir::Graph*) const
9 paddle::framework::ir::SelfAttentionFusePass::ApplyImpl(paddle::framework::ir::Graph*) const
10 paddle::framework::ir::GraphPatternDetector::operator()(paddle::framework::ir::Graph*, std::function<void (std::map<paddle::framework::ir::PDNode*, paddle::framework::ir::Node*, paddle::framework::ir::GraphPatternDetector::PDNodeCompare, std::allocator<std::pair<paddle::framework::ir::PDNode* const, paddle::framework::ir::Node*> > > const&, paddle::framework::ir::Graph*)>)
Error Message Summary:
FatalError:
Illegal instruction
is detected by the operating system.[TimeInfo: *** Aborted at 1715162027 (unix time) try "date -d @1715162027" if you are using GNU date ***]
[SignalInfo: *** SIGILL (@0x7f2da36b101a) received by PID 24392 (TID 0x7f2db12e3740) from PID 18446744072156287002 ***]
非法指令
The text was updated successfully, but these errors were encountered: