Use Manylinux2_28 for wheel builds#138732
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/138732
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 10 New Failures, 1 Unrelated FailureAs of commit 20e5128 with merge base c1bf714 ( NEW FAILURES - The following jobs have 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. |
Enabling Manywheel builds here: #138732 During the build I observe the failure with cuda jobs: ``` -- Compiler does not support SVE extension. Will not build perfkernels. -- Found CUDA: /usr/local/cuda (found version "11.8") -- The CUDA compiler identification is unknown CMake Error at cmake/public/cuda.cmake:47 (enable_language): No CMAKE_CUDA_COMPILER could be found. Tell CMake where to find the compiler by setting either the environment variable "CUDACXX" or the CMake cache entry CMAKE_CUDA_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. Call Stack (most recent call first): cmake/Dependencies.cmake:44 (include) CMakeLists.txt:851 (include) ``` While correct sequence suppose to be: ``` -- Found CUDA: /usr/local/cuda (found version "11.8") -- The CUDA compiler identification is NVIDIA 11.8.89 -- Detecting CUDA compiler ABI info -- Detecting CUDA compiler ABI info - done -- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc - skipped -- Detecting CUDA compile features -- Detecting CUDA compile features - done -- Found CUDAToolkit: /usr/local/cuda/include (found version "11.8.89") ``` Issue found to be missing PATH setting in 2_28 Docker file. This section exist in CentOS Docker file here: https://github.com/pytorch/pytorch/blob/main/.ci/docker/manywheel/Dockerfile#L174-L175 (Please Note these Docker images are not used yet. The #138732 should enable using these images) Pull Request resolved: #139631 Approved by: https://github.com/malfet, https://github.com/huydhn
… builds (#139636) Install setuptools and wheel dependencies for cp312, cp313, cp313t on Manylinux 2_28 images. This should resolve ``` ModuleNotFoundError: No module named 'setuptools' ``` On PR: #138732 This issue was addressed on XPU images already. We should apply the same fix for the rest of the images instead of keeping it XPU specific. Pull Request resolved: #139636 Approved by: https://github.com/huydhn, https://github.com/chuanqi129
9ed8215 to
91efbbf
Compare
|
@pytorchbot merge -f "Binary builds looks fine" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
@pytorchmergebot revert -c nosignal -m "Reverting for now will be relanding" |
|
@pytorchbot successfully started a revert job. Check the current status here. |
This reverts commit 5860c8e. Reverted #138732 on behalf of https://github.com/atalman due to Reverting for now will be relanding ([comment](#138732 (comment)))
|
@atalman your PR has been successfully reverted. |
|
I think #137696 is necessary when building for AArch64 using Manylinux2_28 |
e74c907 to
20e5128
Compare
|
@pytorchmergebot merge -f "lint is green" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Accompanying PR from Pytorch: pytorch/pytorch#138732
Use https://hub.docker.com/r/pytorch/manylinux2_28_aarch64-builder/tags Similar to #138732 Pull Request resolved: #140743 Approved by: https://github.com/malfet
Accompanying PR from Pytorch: pytorch/pytorch#138732
Fixes pytorch#123649 Use Manylinux 2_28 Docker builds for PyTorch Nightly builds This moves the wheels to a Docker image that uses : ``quay.io/pypa/manylinux_2_28_x86_64`` as a base rather then ``centos:7`` which is EOL on June 30, 2024. Information: https://github.com/pypa/manylinux#manylinux_2_28-almalinux-8-based manylinux_2_28 (AlmaLinux 8 based) Toolchain: GCC 13 Built wheels are also expected to be compatible with other distros using glibc 2.28 or later, including: Debian 10+ Ubuntu 18.10+ Fedora 29+ CentOS/RHEL 8+ This migration should enable us to migrate to latest CUDNN version, and land this PR: pytorch#137978 Pull Request resolved: pytorch#138732 Approved by: https://github.com/Skylion007, https://github.com/malfet
This reverts commit 5860c8e. Reverted pytorch#138732 on behalf of https://github.com/atalman due to Reverting for now will be relanding ([comment](pytorch#138732 (comment)))
Fixes pytorch#123649 Use Manylinux 2_28 Docker builds for PyTorch Nightly builds This moves the wheels to a Docker image that uses : ``quay.io/pypa/manylinux_2_28_x86_64`` as a base rather then ``centos:7`` which is EOL on June 30, 2024. Information: https://github.com/pypa/manylinux#manylinux_2_28-almalinux-8-based manylinux_2_28 (AlmaLinux 8 based) Toolchain: GCC 13 Built wheels are also expected to be compatible with other distros using glibc 2.28 or later, including: Debian 10+ Ubuntu 18.10+ Fedora 29+ CentOS/RHEL 8+ This migration should enable us to migrate to latest CUDNN version, and land this PR: pytorch#137978 Pull Request resolved: pytorch#138732 Approved by: https://github.com/Skylion007, https://github.com/malfet, https://github.com/huydhn
Use https://hub.docker.com/r/pytorch/manylinux2_28_aarch64-builder/tags Similar to pytorch#138732 Pull Request resolved: pytorch#140743 Approved by: https://github.com/malfet
Fixes #123649
Use Manylinux 2_28 Docker builds for PyTorch Nightly builds
This moves the wheels to a Docker image that uses :
quay.io/pypa/manylinux_2_28_x86_64as a base rather thencentos:7which is EOL on June 30, 2024.Information:
https://github.com/pypa/manylinux#manylinux_2_28-almalinux-8-based
manylinux_2_28 (AlmaLinux 8 based)
Toolchain: GCC 13
Built wheels are also expected to be compatible with other distros using glibc 2.28 or later, including:
Debian 10+
Ubuntu 18.10+
Fedora 29+
CentOS/RHEL 8+
This migration should enable us to migrate to latest CUDNN version, and land this PR: #137978