Skip to content

Conversation

pytorchbot
Copy link
Collaborator

Our current nightly/release wheel package is done following https://github.com/pytorch/test-infra/wiki/Using-Nova-Reusable-Build-Workflows

As described by https://github.com/pytorch/test-infra/blob/5398e1a00c39939f43251f29031c37e6d0c84647/.github/workflows/build_wheels_linux.yml#L4, The docker image infra team used to release nightly/release package is from https://github.com/pypa/manylinux, and it's currently using https://github.com/pypa/manylinux?tab=readme-ov-file#manylinux_2_28-almalinux-8-based. It means the glibc version is 2.28 and GCC is 14.

The issue is that, QNN .so files are not compatible with 2.28. The minimum version is 2.34 (I tried 2.29 the first time when it failed and asked for 2.29, but it still fails).

In this PR, instead of checking glibc and failed directly when minimum version isn't matched, we will download the glibc 2.34 to /tmp. A different strategy compared with glibc++ is that, we don't load them, because the python process itself start with the system glibc 2.28. We need to re-execute the process with the new glibc

Our current nightly/release wheel package is done following
https://github.com/pytorch/test-infra/wiki/Using-Nova-Reusable-Build-Workflows

As described by
https://github.com/pytorch/test-infra/blob/5398e1a00c39939f43251f29031c37e6d0c84647/.github/workflows/build_wheels_linux.yml#L4,
The docker image infra team used to release nightly/release package is
from https://github.com/pypa/manylinux, and it's currently using
https://github.com/pypa/manylinux?tab=readme-ov-file#manylinux_2_28-almalinux-8-based.
It means the glibc version is 2.28 and GCC is 14.

The issue is that, QNN .so files are not compatible with 2.28. The
minimum version is 2.34 (I tried 2.29 the first time when it failed and
asked for 2.29, but it still fails).

In this PR, instead of checking glibc and failed directly when minimum
version isn't matched, we will download the glibc 2.34 to /tmp. A
different strategy compared with glibc++ is that, we don't load them,
because the python process itself start with the system glibc 2.28. We
need to re-execute the process with the new glibc

(cherry picked from commit 19be2a3)
Copy link

pytorch-bot bot commented Oct 1, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure, 2 Cancelled Jobs

As of commit a72fba4 with merge base e0dda90 (image):

NEW FAILURE - The following job has failed:

CANCELLED JOBS - The following jobs were cancelled. Please retry:

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

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/binaries CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants