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

numpy版本导致的错误:numpy==2.0.0 #4403

Closed
1 task done
scutcyr opened this issue Jun 20, 2024 · 2 comments
Closed
1 task done

numpy版本导致的错误:numpy==2.0.0 #4403

scutcyr opened this issue Jun 20, 2024 · 2 comments
Labels
solved This problem has been already solved

Comments

@scutcyr
Copy link

scutcyr commented Jun 20, 2024

Reminder

  • I have read the README and searched the existing issues.

System Info

The bug from:

numpy                     2.0.0                    pypi_0    pypi

Reproduction

llamafactory-cli train -h

Error show as:

ImportError: cannot import name 'BUFSIZE' from 'numpy' (~/anaconda3/envs/llama_factory/lib/python3.10/site-packages/numpy/__init__.py)

Expected behavior

Method:

pip install numpy==1.26.4

Others

貌似不兼容numpy==2.0.0,我回退numpy==1.26.4即可正常运行llamafactory-cli train -h

@github-actions github-actions bot added the pending This problem is yet to be addressed label Jun 20, 2024
@exceedzhang
Copy link

Same question!

@injet-zhou
Copy link
Contributor

fixed by #4382

@hiyouga hiyouga added solved This problem has been already solved and removed pending This problem is yet to be addressed labels Jun 21, 2024
@hiyouga hiyouga closed this as completed Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solved This problem has been already solved
Projects
None yet
Development

No branches or pull requests

4 participants