PaddlePaddle/Paddle

X86cpu安装paddle出现错误,请看看怎么解决。

Opened this issue · 2 comments

bug描述 Describe the Bug

X86架构的cpu版本安装2.6以上版本运行报错:


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 1714659124 (unix time) try "date -d @1714659124" if you are using GNU date ***]
[SignalInfo: *** SIGILL (@0x7f140e85a13a) received by PID 1254446 (TID 0x7f141636d000) from PID 243638586 ***]

其他补充信息 Additional Supplementary Information

No response

您好,麻烦详细补充一下硬件环境和安装方式呢?

(base) root@DESKTOP-OPA06P7:/home/fx/temporarymodel/OCR/code# sudo lshw
desktop-opa06p7
description: Computer
width: 64 bits
capabilities: smp
*-core
description: Motherboard
physical id: 0
*-memory
description: System memory
physical id: 0
size: 31GiB
*-cpu
product: 12th Gen Intel(R) Core(TM) i9-12900H
vendor: Intel Corp.
physical id: 1
bus info: cpu@0
capacity: 2500MHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp x86-64 pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave osxsave avx f16c rdrand lahf_lm abm 3dnowprefetch fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni umip pku gfni vaes vpclmulqdq rdpid pconfig ibrs ibpb stibp ssbd cpufreq
*-network
description: Ethernet interface
physical id: 1
logical name: eth0
serial: 00:e0:4c:c2:03:8c
capabilities: ethernet physical
configuration: broadcast=yes ip=192.168.10.79 multicast=yes