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

paddle的最新gpu版本3.0.0b2,报错:Illegal instruction (core dumped) #70223

Open
zgy520 opened this issue Dec 14, 2024 · 4 comments
Open
Assignees
Labels

Comments

@zgy520
Copy link

zgy520 commented Dec 14, 2024

请提出你的问题 Please ask your question

我的环境:
ubuntu 22.04
nvidia-smi为:
image
安装的cuda的版本为12.3.0
通过执行cat /proc/cpuinfo | grep -i avx
image
说明机器支持avx
执行nvcc --version的显示如下:
image

基于以下命令安装gpu版paddle:
python -m pip install paddlepaddle-gpu==3.0.0b2 -i https://www.paddlepaddle.org.cn/packages/stable/cu123/
安装后的python包如下:
image

执行完以上命令后,在执行python语句import paddle时报错
image
显示报错Illegal instruction (core dumped)
一直没找到原因,请帮忙解答下!

当我把paddlepaddle的版本由3.0.0b2改为2.6时,执行import paddle,没有任何问题,在2.6的版本下执行paddle.utils.run_check()的输出如下:
image

现在xiang想使用最新版本的paddle,3.0.0b2,请大家帮忙加大下,在线等,万分感谢!!!

@tarikbeijing
Copy link

tarikbeijing commented Dec 16, 2024

这里也有同样的问题 :paddle的最新gpu版本3.0.0b1, 3.0.0b2

Python 3.10.12 (main, Nov  6 2024, 20:22:13) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import paddle
Illegal instruction (core dumped)
tarik@tata-linux1:~/AI-WS/TATA-WICHTIG/RAG_baidu$ uname -m && cat /etc/*release
	x86_64
	DISTRIB_ID=Ubuntu
	DISTRIB_RELEASE=22.04
	DISTRIB_CODENAME=jammy
	DISTRIB_DESCRIPTION="Ubuntu 22.04.5 LTS"
	PRETTY_NAME="Ubuntu 22.04.5 LTS"
	NAME="Ubuntu"
	VERSION_ID="22.04"
	VERSION="22.04.5 LTS (Jammy Jellyfish)"
	VERSION_CODENAME=jammy
	ID=ubuntu
	ID_LIKE=debian
	HOME_URL="https://www.ubuntu.com/"
	SUPPORT_URL="https://help.ubuntu.com/"
	BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
	PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
	UBUNTU_CODENAME=jammy
tarik@tata-linux1:~/AI-WS/TATA-WICHTIG/RAG_baidu$ which python3
	/usr/bin/python3
tarik@tata-linux1:~/AI-WS/TATA-WICHTIG/RAG_baidu$ python3 --version
	Python 3.10.12
tarik@tata-linux1:~/AI-WS/TATA-WICHTIG/RAG_baidu$ python3 -m pip --version
	pip 24.3.1 from /usr/local/lib/python3.10/dist-packages/pip (python 3.10)
tarik@tata-linux1:~/AI-WS/TATA-WICHTIG/RAG_baidu$ python3 -c "import platform;print(platform.architecture()[0]);print(platform.machine())"
	64bit
	x86_64

@risemeup1
Copy link
Contributor

你用的是wsl吗?wsl+cuda11.8没问题好像,你也试下?

@risemeup1
Copy link
Contributor

我们这里用wsl下4080是import paddle可以成功啊,你能提供下你更多环境信息吗?

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