-
Notifications
You must be signed in to change notification settings - Fork 25.7k
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
Please support numpy 2.0 #31802
Comments
cc @ydshieh |
Hi. Our internal check indeed shows that However, at this moment, we would prefer users to install We are, of course, happy to remove the pin of numpy version after a period of time of waiting. Related |
No it's just can not import
…---- Replied Message ----
| From | ***@***.***> |
| Date | 07/05/2024 17:51 |
| To | ***@***.***> |
| Cc | ***@***.***>***@***.***> |
| Subject | Re: [huggingface/transformers] Please support numpy 2.0 (Issue #31802) |
Hi.
Our internal check indeed shows that transformers works (quite) well with numpy==2.0.0 in a torch-only environment (with a few exception).
However, at this moment, we would prefer users to install numpy==2.0.0 manually and see how it goes with transformers in their daily usage.
We are, of course, happy to remove the pin of numpy version after a period of time of waiting.
Related
#31568
kyamagu/faiss-wheels#104
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I don't understand well. Could you describe the situation in a bit more detail? Ideally something that we can reproduce. |
I think I know the situation now. I will check 🤗 |
Same here. "ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. |
Feature request
As numpy 2.0 comes out, it brings impressive speed up, please consider add numpy 2.0 support.
Besides, numpy is so foundamental, I think all libs should force to align with it rather than force users with lower numpy version/
Currently support numpy 2.0 libs:
Thoese don't:
So, please just ignore tensorflow, nowadays we don't use it any longer,
Motivation
At least make us have an option.
Your contribution
don't force to lower version, just keep up to date.
The text was updated successfully, but these errors were encountered: