-
Notifications
You must be signed in to change notification settings - Fork 1.2k
chore: Update numpy #5427
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
chore: Update numpy #5427
Conversation
70fec5e
to
dfe82c9
Compare
Signed-off-by: ntkathole <[email protected]>
Signed-off-by: ntkathole <[email protected]>
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.
One nit
FEAST_IS_LOCAL_TEST=True \ | ||
FEAST_LOCAL_ONLINE_CONTAINER=True \ | ||
python -m pytest --tb=short -v -n 8 --color=yes --integration --durations=10 --timeout=1200 --timeout_method=thread --dist loadgroup \ | ||
python -m pytest --tb=short -v -n 4 --color=yes --integration --durations=10 --timeout=1200 --timeout_method=thread --dist loadgroup \ |
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.
Why 4?
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.
Currently with 8, runner is intermittently throwing Error: The operation was canceled.
(not related to this PR, happening on all PRs) due to high memory load on node. For stability, reduced to 4.
* chore: update numpy Signed-off-by: ntkathole <[email protected]> * chore: Reduce concurrency to save memory on runners Signed-off-by: ntkathole <[email protected]> --------- Signed-off-by: ntkathole <[email protected]> Signed-off-by: Jacob Weinhold <[email protected]>
* chore: update numpy Signed-off-by: ntkathole <[email protected]> * chore: Reduce concurrency to save memory on runners Signed-off-by: ntkathole <[email protected]> --------- Signed-off-by: ntkathole <[email protected]>
What this PR does / why we need it:
This PR adds support for numpy>2.
Key points:
Which issue(s) this PR fixes:
#5074
Misc
If you're using an Intel-based Mac (not Apple Silicon) or running Python with Rosetta-translated x86_64 architecture:
You cannot install PyTorch versions 2.3.0+ via pip, as no compatible wheels are published. The last supported version is: torch==2.2.2.
To upgrade to newer versions like torch==2.7.0, you must use macOS 14+ on Apple Silicon (arm64) and run a matching arm64 Python environment.
To check your architecture:
python3 -c "import platform; print(platform.machine())"
If the output is x86_64, you’ll be limited to PyTorch ≤ 2.2.2.
If it’s arm64, you can install the latest PyTorch.