Since CentOS 7 reached EOL. We will be switching our Linux Wheel Builds to Manylinux 2.28 (AlmaLinux 8 based) starting Nov 12, 2024.
With Migration to manylinux_2_28 (AlmaLinux 8 based) we would not be able to support OS distros with glibc2_26, these include popular Amazon Linux 2 and CentOS 7.
The pip nightly wheels will no longer work on Glibc 2.26 OS’s:
pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu121
Additionally if your project is onboarded to Nova workflows on test-infra, you maybe affected:
- Build Linux Wheels job: test-infra/.github/workflows/build_wheels_linux.yml at main · pytorch/test-infra · GitHub
- Linux Job: test-infra/.github/workflows/linux_job.yml at main · pytorch/test-infra · GitHub
Please contact us if you have any issues related to these jobs. Comment on: [RFC] PyTorch next wheel build platform: manylinux-2.28 · Issue #123649 · pytorch/pytorch · GitHub
How does error looks like when try to execute new Manylinux 2.28 wheels on OS that is not supported:
ImportError: /lib64/libc.so.6: version GLIBC_2.28 not found (required by /__w/_temp/conda_environment_11702742309/lib/python3.9/site-packages/torch/lib/libtorch_python.so)
Related issue: [RFC] PyTorch next wheel build platform: manylinux-2.28 · Issue #123649 · pytorch/pytorch · GitHub
Pytorch/Pytorch PR: Use Manylinux2_28 for wheel builds by atalman · Pull Request #138732 · pytorch/pytorch · GitHub