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

使用paddlepaddle-xpu2.5.0训练官方demo报错 #68306

Open
Newcomer-CL opened this issue Sep 19, 2024 · 1 comment
Open

使用paddlepaddle-xpu2.5.0训练官方demo报错 #68306

Newcomer-CL opened this issue Sep 19, 2024 · 1 comment
Assignees
Labels

Comments

@Newcomer-CL
Copy link

请提出你的问题 Please ask your question

uname -a:Linux test-pc 5.4.18-85-generic #74-KYLINOS SMP Fri Mar 24 11:20:19 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux,驱动什么的是正常的,xpu_smi有信息。
image

paddlepaddle包使用是2.5.0 xpu版
使用demo是https://www.paddlepaddle.org.cn/documentation/docs/zh/2.5/guides/hardware_support/xpu_docs/train_example_xpu2_cn.html,官方的一个paddlecls resnet50模型,
报错:
image

@will-jl944
Copy link
Contributor

可以尝试升级Paddle到最新版本:python -m pip install paddlepaddle-xpu==3.0.0b1 -i https://www.paddlepaddle.org.cn/packages/stable/xpu/

如果仍然报错,可以尝试执行如下代码看是否可以复现报错

import paddle
paddle._C_ops.gaussian([1], 0.0, 1.0, 1234, paddle.base.core.VarDesc.VarType.FP32, paddle.device.XPUPlace(0))

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

3 participants