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

Add numpy 2.0.0rc1 support to conda and wheels #1768

Merged
merged 5 commits into from
Apr 3, 2024

Conversation

atalman
Copy link
Contributor

@atalman atalman commented Apr 3, 2024

This PR:

  1. Updates pip wheels to use rc1 rather then b1 numpy 2.0.0 release
  2. Use numpy 2.0.0rc1 for conda build since Numpy conda packages where build from wheel and uploaded to: https://anaconda.org/pytorch/numpy/ and https://anaconda.org/pytorch-nightly/numpy/ and https://anaconda.org/atalman/numpy/

However they work only from atalman/numpy now. Error when trying to use pytorch channel:
https://github.com/pytorch/pytorch/actions/runs/8475025641/job/23410631415?pr=121979#step:15:746

Test PR: pytorch/pytorch#121979

Workflows:
https://github.com/pytorch/pytorch/actions/runs/8475025628
https://github.com/pytorch/pytorch/actions/runs/8475025641

@atalman atalman merged commit dc2d6bf into pytorch:main Apr 3, 2024
2 checks passed
@atalman atalman deleted the add_numpy_200_support branch April 3, 2024 20:16
@atalman atalman mentioned this pull request Apr 3, 2024
3 tasks
atalman added a commit to atalman/builder that referenced this pull request Apr 4, 2024
* Add numpy 2.0.0rc1 support to conda and wheels

* conda

* conda

* test

* fix
atalman added a commit that referenced this pull request Apr 4, 2024
* [BE] Remove macos x86 build statements, remove python <3.8 (#1745)

* [BE] Remove macos x86 build statements, remove python <3.8

* fix

* deprecate

* Update nightly wheel build numpy to 2.0 (#1747)

* Update wheel build numpy to 2.0 (#1746)

* Update wheel build numpy to 2.0

* aarch64

* Update build_wheel.sh

* Simplify

* Install llvm-openmp for M1 PyTorch builds

Otherwise the binary will be super slow

Also drop `nomkl` as there were never mkl on Apple silicon

* Add numpy 2.0.0rc1 support to conda and wheels (#1768)

* Add numpy 2.0.0rc1 support to conda and wheels

* conda

* conda

* test

* fix

* Add numpy 2.0.0rc1 support to conda and wheels (#1769)

---------

Co-authored-by: Nikita Shulga <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants