8000 [binary builds] Linux aarch64 CUDA builds. Make sure tag is set correctly by atalman · Pull Request #154045 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

[binary builds] Linux aarch64 CUDA builds. Make sure tag is set correctly #154045

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

Closed
wants to merge 4 commits into from

Conversation

atalman
Copy link
Contributor
@atalman atalman commented May 21, 2025
  1. This should set the Manylinux 2.28 tag correctly for CUDA Aarch builds.
    I believe we used to have something similar in the old script:
    https://github.com/pytorch/pytorch/blob/main/.ci/aarch64_linux/build_aarch64_wheel.py#L811

Tag: cp311-cp311-linux_aarch64 -> Tag: cp311-cp311-manylinux_2_28_aarch64

  1. Remove section for CUDA 12.6, since we no longer building CUDA 12.6 aarch64 builds

@atalman atalman requested a review from a team as a code owner May 21, 2025 18:15
Copy link
pytorch-bot bot commented May 21, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure, 1 Pending, 1 Unrelated Failure

As of commit d9b6aee with merge base 72a3c8d (image):

NEW FAILURE - The following job has failed:

FLAKY - The following job failed but was likely due to flakiness present on trunk:

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

@atalman atalman added the topic: not user facing topic category label May 21, 2025
@atalman atalman changed the title Linux aarch64 CUDA builds. Make sure tag is set correctly [binary builds] Linux aarch64 CUDA builds. Make sure tag is set correctly May 21, 2025
"/usr/local/cuda/lib64/libcufile_rdma.so.1",
]
elif "128" in desired_cuda:
if "128" in desired_cuda:
Copy link
Contributor

Choose a reason for hiding this comment

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

Those magic strings make me sad...

@atalman atalman added the ciflow/binaries Trigger all binary build and upload jobs on the PR label May 21, 2025
@@ -55,9 +55,22 @@ def build_ArmComputeLibrary() -> None:
shutil.copytree(f"{acl_checkout_dir}/{d}", f"{acl_install_dir}/{d}")


def update_wheel(wheel_path, desired_cuda) -> None:
def replace_tag(filename) -> None:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there not a better way to set the tag directly?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes with auditwheel, however there are some issues with it. Will be looking next on converting everything to auditwheel repair.

@atalman
Copy link
Contributor Author
atalman commented May 22, 2025

@pytorchmergebot merge -f "all required workflows are green"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@atalman
Copy link
Contributor Author
atalman commented May 22, 2025

@pytorchbot cherry-pick --onto release/2.7 -c critical

pytorchbot pushed a commit that referenced this pull request May 22, 2025
…ctly (#154045)

1. This should set the Manylinux 2.28 tag correctly for CUDA Aarch builds.
I believe we used to have something similar in the old script:
https://github.com/pytorch/pytorch/blob/main/.ci/aarch64_linux/build_aarch64_wheel.py#L811

``Tag: cp311-cp311-linux_aarch64 ``-> ``Tag: cp311-cp311-manylinux_2_28_aarch64``

2. Remove section for CUDA 12.6, since we no longer building CUDA 12.6 aarch64 builds

Pull Request resolved: #154045
Approved by: https://github.com/Camyll, https://github.com/malfet

(cherry picked from commit 4277907)
@pytorchbot
Copy link
Collaborator

Cherry picking #154045

The cherry pick PR is at #154136 and it is recommended to link a critical cherry pick PR with an issue. The following tracker issues are updated:

Details for Dev Infra team Raised by workflow job

atalman added a commit that referenced this pull request May 22, 2025
…ctly (#154136)

[binary builds] Linux aarch64 CUDA builds. Make sure tag is set correctly (#154045)

1. This should set the Manylinux 2.28 tag correctly for CUDA Aarch builds.
I believe we used to have something similar in the old script:
https://github.com/pytorch/pytorch/blob/main/.ci/aarch64_linux/build_aarch64_wheel.py#L811

``Tag: cp311-cp311-linux_aarch64 ``-> ``Tag: cp311-cp311-manylinux_2_28_aarch64``

2. Remove section for CUDA 12.6, since we no longer building CUDA 12.6 aarch64 builds

Pull Request resolved: #154045
Approved by: https://github.com/Camyll, https://github.com/malfet

(cherry picked from commit 4277907)

Co-authored-by: atalman <atalman@fb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/binaries Trigger all binary build and upload jobs on the PR Merged topic: not user facing topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants
0