-
Notifications
You must be signed in to change notification settings - Fork 227
Target manylinux_2_24 for wheels #670
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
Comments
Copying selected comments from pypa/manylinux#1012, which discusses the fact that
Bottom line: in order to use the |
To add to this:
@mattip you said 2.5 -> 2.17 was much less interesting than 2.17 -> 2.24. Can you explain why that is? Newer is better, but getting rid of |
CentOS7, which is the base distro for For a nice summary of glibc versions vs. distros, along with EOL dates, there is https://github.com/mayeut/pep600_compliance |
CentOS 7 is old but is not EOL. It will be supported till June 30th, 2024. It's just it will not have new features and will not add support for new hardware. But it is not a problem for build pipelines. Usually we run it in docker so it doesn't matter if its kernel can support the latest CPU. And for release managers, we should always target the oldest distro as possible as we can. But if PyTorch team is willing to add a new set of packages for manylinux_2_24, it is absolutely great. |
@malfet's feedback was: let's upgrade to |
I have one additional comment: if pytorch decided to build manylinux2014, then you need to replace the GCC from 9.x to 8.x , as long as you still need to support CUDA 10.2. |
@malfet: is that "stop creating linux86_64 and create only manylinux2014 instead" or "add manylinux2014 wheels in addition to the linux86_64 wheels" |
From looking at build_all_docker.sh, one would think that |
Yes, that does look like a typo. Are the wheels being built? xref #979 |
Honestly, I'm having trouble building the wheels inside either container 'the right way' because I'm not sure which scripts meta uses to build them inside the container. The documentation only points to how to build the docker container image. Running Running said script with the 2014 docker image results in an openssl so file not being found. Inside the container, used the following command in the folder where pytorch builder is checked out where |
This was definitely "drop |
The new manylinux_2_24 standard, based on debian9 and glibc2.24, could enable #520 and solve pytorch/pytorch#51039. It would require a new Dockerfile, changing all the
yum
installation calls toapt
, and changing the PATCHELF parts of the build.The text was updated successfully, but these errors were encountered: