Skip to content

Support Numpy 2.0 #6639

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

Closed
YifanShenSZ opened this issue Nov 4, 2024 · 1 comment
Closed

Support Numpy 2.0 #6639

YifanShenSZ opened this issue Nov 4, 2024 · 1 comment
Assignees
Labels
actionable Items in the backlog waiting for an appropriate impl/fix enhancement Not as big of a feature, but technically not a bug. Should be easy to fix module: build/install Issues related to the cmake and buck2 builds, and to installing ExecuTorch triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Comments

@YifanShenSZ
Copy link
Collaborator

YifanShenSZ commented Nov 4, 2024

🚀 The feature, motivation and pitch

Numpy has released 2.0 in June 2024, and has many break changes from 1.x as expected. For future developments, staying up to date with dependencies would be ideal

However, executorch 0.4 requires numpy 1.21.3

The conflict is caused by:
    The user requested numpy==2.0.0
    executorch 0.4.0 depends on numpy==1.21.3; python_version == "3.10"

which is a bit outdated (released in October 2021) and could start to be concerning

@mergennachin mergennachin added triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module actionable Items in the backlog waiting for an appropriate impl/fix enhancement Not as big of a feature, but technically not a bug. Should be easy to fix module: build/install Issues related to the cmake and buck2 builds, and to installing ExecuTorch labels Jan 10, 2025
@mergennachin mergennachin self-assigned this Jan 15, 2025
@mergennachin
Copy link
Contributor

@YifanShenSZ we just released our 0.5 and updated the numpy restrictions to be 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
actionable Items in the backlog waiting for an appropriate impl/fix enhancement Not as big of a feature, but technically not a bug. Should be easy to fix module: build/install Issues related to the cmake and buck2 builds, and to installing ExecuTorch triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

No branches or pull requests

2 participants