-
Notifications
You must be signed in to change notification settings - Fork 435
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
Upgrade numpy version requirement to 2.0 #7599
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/7599
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 3 PendingAs of commit b058bf1 with merge base b412ddc ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
a4a3564
to
b96f76e
Compare
numpy==1.21.3; python_version == '3.10' | ||
numpy==1.23.2; python_version == '3.11' | ||
numpy; python_version >= '3.12' | ||
numpy==2.0.0; python_version >= '3.10' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just for the context, last time we had to tweak these was to satisfy coremltools, and in their latest release 8.1 they're using numpy 2.0 for python > 3.9 https://github.com/apple/coremltools/blob/release/8.1/reqs/build.pip#L3
85d4387
to
0ec8d85
Compare
On-demand benchmark jobs to cover llama3 on HF w/ SpinQuant, QLora, Core ML ANE: https://github.com/pytorch/executorch/actions/runs/12718060694 |
0ec8d85
to
d2ac415
Compare
d2ac415
to
9278974
Compare
@shewu-quic @winskuo-quic any chance you know the CI error message? It seems like the graph is invalid |
Looks like I need to upgrade pybind11 to 2.12 (or higher) based on this issue pybind/pybind11#5009 Let me update to 2.13.6 and run the CI again |
Summary: 1.21 is too old now. For 3.10 or above, we should be able to use 2.0.0 We are already on CoreMLTools 8.1, which is https://github.com/apple/coremltools/blob/8.1/reqs/build.pip We had to upgrade to the latest transformers as well
9278974
to
b058bf1
Compare
@pytorchbot cherry-pick --onto release/0.5 -c release |
Upgrade numpy version requirement to Summary: 1.21 is too old now. For 3.10 or above, we should be able to use 2.0.0 We are already on CoreMLTools 8.1, which is https://github.com/apple/coremltools/blob/8.1/reqs/build.pip We had to upgrade to the latest transformers as well (cherry picked from commit a7b5297)
Cherry picking #7599The cherry pick PR is at #7659 The following tracker issues are updated: Details for Dev Infra teamRaised by workflow job |
Upgrade numpy version requirement to Summary: 1.21 is too old now. For 3.10 or above, we should be able to use 2.0.0 We are already on CoreMLTools 8.1, which is https://github.com/apple/coremltools/blob/8.1/reqs/build.pip We had to upgrade to the latest transformers as well (cherry picked from commit a7b5297)
Upgrade numpy version requirement to Summary: 1.21 is too old now. For 3.10 or above, we should be able to use 2.0.0 We are already on CoreMLTools 8.1, which is https://github.com/apple/coremltools/blob/8.1/reqs/build.pip We had to upgrade to the latest transformers as well (cherry picked from commit a7b5297)
Upgrade numpy version requirement to Summary: 1.21 is too old now. For 3.10 or above, we should be able to use 2.0.0 We are already on CoreMLTools 8.1, which is https://github.com/apple/coremltools/blob/8.1/reqs/build.pip We had to upgrade to the latest transformers as well (cherry picked from commit a7b5297)
* Install torchao by default (#7470) Summary: Now that torchao is not experimental anymore, we can rely on torchao directly via git submodule. Part of #7460 (cherry picked from commit a861294) * Upgrade numpy version requirement to 2.0 (#7599) Upgrade numpy version requirement to Summary: 1.21 is too old now. For 3.10 or above, we should be able to use 2.0.0 We are already on CoreMLTools 8.1, which is https://github.com/apple/coremltools/blob/8.1/reqs/build.pip We had to upgrade to the latest transformers as well (cherry picked from commit a7b5297) * Update torchtune pin (#7670) (cherry picked from commit a18f6e8) * [Arm] TOSA reference model update * Install release version of torchtune --------- Co-authored-by: Sicheng Stephen Jia <[email protected]>
Upgrade numpy version requirement to Summary: 1.21 is too old now. For 3.10 or above, we should be able to use 2.0.0 We are already on CoreMLTools 8.1, which is https://github.com/apple/coremltools/blob/8.1/reqs/build.pip We had to upgrade to the latest transformers as well
Upgrade numpy version requirement to 2.0.0
Summary:
1.21 is too old now. For 3.10 or above, we should be able to use 2.0.0
We are already on CoreMLTools 8.1, which is https://github.com/apple/coremltools/blob/8.1/reqs/build.pip
We had to upgrade to the latest transformers as well
Fixes:
#6639
Test Plan (pending)