Open GreatV opened 3 months ago
你好,感谢您的反馈,我们内部先分析下,有结论及时同步您。
python -m pip install nvidia-cudnn-cu12==8.9.2.26 -i https://www.paddlepaddle.org.cn/packages/nightly/cu120试下这个
@risemeup1
不好意思,我发错了,python -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu120/试试这个
还有一个可能原因是因为你的CPU不支持你安装的PaddlePaddle版本需要的指令集。
paddle有一些版本用了AVX指令集来提高性能,如果恰好你的CPU不支持AVX指令集,import paddle时出现这个错误。
你可以试试安装不使用AVX指令集的PaddlePaddle版本,或者在支持AVX指令集的机器上运行你的代码。
用这个下命令来检查你的CPU是否支持AVX指令集:
grep avx /proc/cpuinfo
如果输出中有"avx",那么你的CPU支持AVX指令集;如果没有,那么你的CPU不支持AVX指令集。
2.6版本是ok的
@risemeup1 , 我前面列出来了cpu arch,两个硬件的不同之处就是一个有avx512一个没有。
奇怪的是,我安装cpu版本都可以运行。
目前还是没有明确原因,后续会慢慢调查,现在只能推测 在paddle init过程中 会执行avx512系列指令,可以尝试在本地编译Paddle试试,应该可以避免avx512指令的影响。
bug描述 Describe the Bug
下面这种环境无法运行paddle develop
下面这种环境可以
其他补充信息 Additional Supplementary Information
No response