-
Notifications
You must be signed in to change notification settings - Fork 66
[ML] Upgrade to PyTorch 2.7.1 #2863
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
base: main
Are you sure you want to change the base?
Conversation
PyTorch 2.7.1 is the latest stable release of PyTorch and contains several bug and security fixes.
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) ✅ license/snyk check is complete. No issues have been found. (View Details) |
|
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.
LGTM
|
||
PyTorch requires that certain Python modules are installed. To install them: | ||
|
||
``` | ||
sudo /Library/Frameworks/Python.framework/Versions/3.10/bin/pip3.10 install numpy ninja pyyaml setuptools cffi typing_extensions future six requests dataclasses | ||
sudo /Library/Frameworks/Python.framework/Versions/3.12/bin/pip3.12 install numpy ninja pyyaml setuptools cffi typing_extensions future six requests dataclasses |
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.
Woohoo Python 3.12
@@ -22,7 +22,7 @@ | |||
HOST=docker.elastic.co | |||
ACCOUNT=ml-dev | |||
REPOSITORY=ml-linux-aarch64-cross-build | |||
VERSION=14 | |||
VERSION=17 |
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.
What happened to 15 and 16?
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.
Looks like the version numbers in the Docker files had been bumped for the last couple of versions, but not in the build scripts, so they were lagging behind. Initially I just bumped the version in this build script and ended up clobbering an existing Docker image.
PyTorch 2.7.1 is the latest stable release of PyTorch and contains several bug and security fixes.