-
Notifications
You must be signed in to change notification settings - Fork 8
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
Bug: FastText Incompatibility with NumPy >= 2.0.0 #3
Comments
location: 17b159a#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 "numpy>=1.26.4,<2.0.0" |
Issue Report: Bug - FastText Incompatibility with NumPy >= 2.0.0Issue SummaryAn issue was identified in the
The detected incompatibility caused the unit test Root CauseThe error occurred because FastText used ResolutionTo resolve the incompatibility, the project's requirements were updated to restrict the version of NumPy to less than 2.0.0. Specifically, the following change was made to the
This adjustment ensures that the project remains compatible with NumPy versions that do not introduce the breaking change. Final OutcomeThe issue was successfully resolved by the contributor @sudoskys. The project's requirements now specify an appropriate range for the NumPy version, avoiding the incompatibility with NumPy 2.0.0 and ensuring stable functionality for AppreciationsWe extend our gratitude to @sudoskys for promptly addressing this issue and providing a solution. The community's swift action ensures the continued reliability and performance of the Report Prepared By: |
找到 FastText.py 文件的 predict 方法的实现部分,找到这段代码: |
Removed dependency on numpy |
https://github.com/facebookresearch/fastText has been archived, I just add "numpy<2.0.0" in my requirements.txt.
The text was updated successfully, but these errors were encountered: