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

Pin numpy version to 1.26.4 #218

Merged
merged 2 commits into from
Jul 3, 2024
Merged

Pin numpy version to 1.26.4 #218

merged 2 commits into from
Jul 3, 2024

Conversation

tanujjain
Copy link
Collaborator

@tanujjain tanujjain commented Jul 3, 2024

WHAT
Pin numpy version to 1.26.4

WHY
numpy 2.0.0 (latest as of now) seems to have issues with pytorch which leads to the exception-
RuntimeError: Numpy is not available whenever torch.from_numpy is called.

HOW
Pin numpy to the specified version in setup.py

IMPLICATIONS
The build fails on python<3.10. Several other packages, including numpy, scipy and matplotlib have dropped support for python<3.10. This PR is supported for python 3.10. In the next release, support for python 3.11 will also be added.

@tanujjain tanujjain merged commit 4bbdfc0 into dev Jul 3, 2024
0 of 18 checks passed
@tanujjain tanujjain deleted the fix_dependencies branch July 3, 2024 13:06
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

Successfully merging this pull request may close these issues.

1 participant