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

avx #1040

Open
Niyci opened this issue Nov 20, 2023 · 5 comments
Open

avx #1040

Niyci opened this issue Nov 20, 2023 · 5 comments
Assignees

Comments

@Niyci
Copy link

Niyci commented Nov 20, 2023

image
之前提过这个问题,说是使用的cpu不支持avx指令集
哪pip install spu==0.3.3b0 ,可不可以避免这个问题
或者有什么新的解决方案

@anakinxc
Copy link
Contributor

Hi @Niyci

请问你用的什么 CPU 呀?

@Niyci
Copy link
Author

Niyci commented Nov 20, 2023

英特尔w5-3425 CPU(≥12核心,≥4.6GHz睿频)
我看过这个cpu,里面没有avx,但有avx2和其他的avx系列指令集

@anakinxc
Copy link
Contributor

看起来有点奇怪,你试一下

pip install py-cpu

然后在 python 里

import py_cpu

cpu_info = py_cpu.CPUInfo()
print(cpu_info.features)

@Niyci
Copy link
Author

Niyci commented Nov 20, 2023

设备目前没在身边,
ce27dd44cd9ad8f8cd3d2b31c41e9129
b9672fbfbcbed4ccdec0d8daaee3460f

@anakinxc
Copy link
Contributor

设备目前没在身边, ce27dd44cd9ad8f8cd3d2b31c41e9129 b9672fbfbcbed4ccdec0d8daaee3460f

有机会麻烦试一下,你这个 error message 是 jax 报出来的
有可能是 jax 的 avx 检查逻辑有点问题,avx2 理论上是 avx 的扩展。。所以支持 avx2 的应该算是支持 avx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants