8000 Add option to define OpenBLAS version for manylinux Dockerfile_2_28_aarch64 by davsva01 · Pull Request #150106 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

Add option to define OpenBLAS version for manylinux Dockerfile_2_28_aarch64 #150106

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

davsva01
Copy link
@davsva01 davsva01 commented Mar 27, 2025

Adds optional variable OPENBLAS_VERSION to .ci/docker/common/install_openblas.sh used to define which version of OpenBLAS to install. Adds argument to Dockerfile_2_28_aarch64 image.

cc @malfet @snadampal @milpuz01 @aditew01 @nikhil-arm @fadara01

…arch64

Adds optional variable OPENBLAS_VERSION to .ci/docker/common/install_openblas.sh
used to define which version of OpenBLAS to install. Adds argument to Dockerfile_2_28_aarch64 image.
@davsva01 davsva01 requested a review from jeffdaily as a code owner March 27, 2025 11:25
@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label Mar 27, 2025
Copy link
pytorch-bot bot commented Mar 27, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/150106

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 37a0d91 with merge base 0c139fa (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@mikaylagawarecki mikaylagawarecki added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Mar 31, 2025
@nikhil-arm
Copy link
Collaborator

@pytorchbot label "ciflow/linux-aarch64"
@pytorchbot label "module: arm"

@pytorch-bot pytorch-bot bot added the ciflow/linux-aarch64 linux aarch64 CI workflow label May 12, 2025
Copy link
pytorch-bot bot commented May 12, 2025

To add the ciflow label ciflow/linux-aarch64 please first approve the workflows that are awaiting approval (scroll to the bottom of this page).

This helps ensure we don't trigger CI on this PR until it is actually authorized to do so. Please ping one of the reviewers if you do not have access to approve and run workflows.

@pytorch-bot pytorch-bot bot removed the ciflow/linux-aarch64 linux aarch64 CI workflow label May 12, 2025
@nikhil-arm
Copy link
Collaborator

@pytorchbot label "module: arm"

@pytorch-bot pytorch-bot bot added the module: arm Related to ARM architectures builds of PyTorch. Includes Apple M1 label May 12, 2025
Copy link
Collaborator
@fadara01 fadara01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The downside of this PR is that when we need to update the OpenBLAS version, we now have to (remember to) change the version in 2 scripts (.ci/docker/common/install_openblas.sh and .ci/docker/manywheel/build.sh) instead of just 1.

Is it possible to make sure that the version is only set/hardcoded in one place?

We currently have this problem of having to update multiple scripts on a version change in ACL. The price we paid for that was having ACL version in manylinux ahead of that in CI, leading to green CI, but having test failures with manylinux builds

@@ -4,8 +4,11 @@
set -ex

cd /
git clone https://github.com/OpenMathLib/OpenBLAS.git -b v0.3.29 --depth 1 --shallow-submodules

if [ -n "$OPENBLAS_VERSION" ]; then
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: why not do:

git clone https://github.com/OpenMathLib/OpenBLAS.git \
    -b "${OPENBLAS_VERSION:-v0.3.29}" \
    --depth 1 \
    --shallow-submodules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: arm Related to ARM architectures builds of PyTorch. Includes Apple M1 open source topic: not user facing topic category triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants
0