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

Opencompass评测本地模型 #2558

Open
shuijiaole opened this issue Nov 13, 2024 · 2 comments
Open

Opencompass评测本地模型 #2558

shuijiaole opened this issue Nov 13, 2024 · 2 comments

Comments

@shuijiaole
Copy link

conda install pytorch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 pytorch-cuda=12.1 -c pytorch -c nvidia -y
更新完提示报错:ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
numpy 版本是1.26.4

@vansin
Copy link
Collaborator

vansin commented Nov 23, 2024

please

pip uninstall torch

pip install torch==2.1.2

@Mictorinox
Copy link
Contributor

另外,可以尝试看一下numpy-base版本:

$ conda list numpy
# packages in environment at /root/.conda/envs/opencompass-cuda12:
# Name                    Version                   Build  Channel
numpy                     1.26.4          py310h5f9d8c6_0    defaults
numpy-base                1.26.4          py310hb5e798b_0    defaults

和numpy版本应该匹配,如果不匹配,可以 conda install numpy-base=1.26.4 安装指定版本:

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

3 participants