Skip to content
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 (core dumped) #69926

Open
3 tasks done
vuthehuy1997 opened this issue Dec 2, 2024 · 2 comments
Open
3 tasks done

Illegal instruction (core dumped) #69926

vuthehuy1997 opened this issue Dec 2, 2024 · 2 comments
Assignees
Labels

Comments

@vuthehuy1997
Copy link

🔎 Search before asking

  • I have searched the PaddleOCR Docs and found no similar bug report.
  • I have searched the PaddleOCR Issues and found no similar bug report.
  • I have searched the PaddleOCR Discussions and found no similar bug report.

🐛 Bug (问题描述)

import paddle

when install paddlepaddle

if i using paddlepaddle-3.0.0b1-cp310-cp310-linux_x86_64.whl , code will work

Running verify PaddlePaddle program ... 
I1202 08:51:50.801177 32400 program_interpreter.cc:243] New Executor is Running.
I1202 08:51:50.819793 32400 interpreter_util.cc:648] Standalone Executor is Used.
PaddlePaddle works well on 1 CPU.
PaddlePaddle is installed successfully! Let's start deep learning with PaddlePaddle now.

but when i use paddlepaddle_gpu-3.0.0b2-cp310-cp310-linux_x86_64.whl or b1, b0
will error:

Illegal instruction (core dumped)

i use
NVIDIA-SMI 545.23.06 Driver Version: 545.23.06 CUDA Version: 12.3

if install paddlepaddle_gpu-2.5.2.post116-cp310-cp310-linux_x86_64.whl will working, but i need paddlepaddle-gpu on cuda12 because other library using cuda12.
Who know how to fix this bug?

🏃‍♂️ Environment (运行环境)

OS                 Ubuntu 22.04.4 LTS
Environment         Jupyter
Python              3.10

🌰 Minimal Reproducible Example (最小可复现问题的Demo)

import paddle
@GreatV
Copy link
Contributor

GreatV commented Dec 2, 2024

This is probably a bug and you can submit an issue to paddlepaddle/paddle.

@jzhang533 jzhang533 transferred this issue from PaddlePaddle/PaddleOCR Dec 4, 2024
@lvdongyi
Copy link

lvdongyi commented Dec 4, 2024

似乎是因为Paddle编译时默认启用了AVX512,这个问题已经存在很久了,解决方法就是自己本地重新打包一次。
这是我用paddlepaddle 3.0.0b2源码打包的没有启用AVX512的包⬇️可以安装这个试试
https://github.com/lvdongyi/Paddle_NO_AVX512/releases/tag/beta

@GreatV GreatV added the Bug label Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants