8000 Move aarch64 nightly wheel binaries to Manylinux 2.28 · Issue #142043 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

Move aarch64 nightly wheel binaries to Manylinux 2.28 #142043

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
atalman opened this issue Dec 4, 2024 · 1 comment
Closed

Move aarch64 nightly wheel binaries to Manylinux 2.28 #142043

atalman opened this issue Dec 4, 2024 · 1 comment
Milestone

Comments

@atalman
Copy link
Contributor
atalman commented Dec 4, 2024

🐛 Describe the bug

Test on CentOS 7:

pip install torch --index-url https://download.pytorch.org/whl/nightly/cpu/ --force-reinstall
Looking in indexes: https://download.pytorch.org/whl/nightly/cpu/
Collecting torch
  Using cached https://download.pytorch.org/whl/nightly/cpu/torch-2.6.0.dev20241114%2Bcpu-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (96.5 MB)
....

strings /opt/conda/lib/python3.12/site-packages/torch/lib/libtorch_cpu.so |grep GLIBC_2.|tail -n3
pthread_cond_broadcast@@GLIBC_2.17
localeconv@@GLIBC_2.17
GLIBC_2.17

Running Check Binary:

Checking that symbols in libtorch.so have the right gcc abi
lib: /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/libtorch_cpu.so
num_cxx11_symbols: 0
num_pre_cxx11_symbols: 1521
cxx11 symbols seem to be in order
All dependencies of /opt/conda/bin/../lib/python3.12/site-packages/torch/_C.cpython-312-aarch64-linux-gnu.so are        linux-vdso.so.1 =>  (0x0000ffffa9750000)
        libtorch_python.so => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/libtorch_python.so (0x0000ffffa85e3000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000ffffa85ae000)
        libc.so.6 => /lib64/libc.so.6 (0x0000ffffa8428000)
        libtorch.so => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/libtorch.so (0x0000ffffa83e1000)
        libshm.so => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/libshm.so (0x0000ffffa83b0000)
        libtorch_cpu.so => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/libtorch_cpu.so (0x0000ffff9e9fa000)
        libc10.so => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/libc10.so (0x0000ffff9e8e1000)
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x0000ffff9e7ba000)
        libm.so.6 => /lib64/libm.so.6 (0x0000ffff9e709000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000ffff9e6d8000)
        /lib/ld-linux-aarch64.so.1 (0x0000ffffa9722000)
        librt.so.1 => /lib64/librt.so.1 (0x0000ffff9e6b7000)
        libopenblasp-r0-2e4c6a40.3.25.so => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/../../torch.libs/libopenblasp-r0-2e4c6a40.3.25.so (0x0000ffff9cf7e000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000ffff9cf5d000)
        libgomp-d22c30c5.so.1.0.0 => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/../../torch.libs/libgomp-d22c30c5.so.1.0.0 (0x0000ffff9cf09000)
        libarm_compute-c7bdf310.so => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/../../torch.libs/libarm_compute-c7bdf310.so (0x0000ffff9c204000)
        libarm_compute_graph-8ec314a4.so => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/../../torch.libs/libarm_compute_graph-8ec314a4.so (0x0000ffff9c0d7000)
        libgfortran-daac5196.so.5.0.0 => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/../../torch.libs/libgfortran-daac5196.so.5.0.0 (0x0000ffff9bf5c000)
        libz.so.1 => /lib64/libz.so.1 (0x0000ffff9bf2b000) with runpath
All dependencies of /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/libshm.so are      linux-vdso.so.1 =>  (0x0000ffff80637000)
        libtorch_cpu.so => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/libtorch_cpu.so (0x0000ffff76c53000)
        librt.so.1 => /lib64/librt.so.1 (0x0000ffff76c32000)
        libc10.so => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/libc10.so (0x0000ffff76b19000)
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x0000ffff769f2000)
        libm.so.6 => /lib64/libm.so.6 (0x0000ffff76941000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000ffff76910000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000ffff768db000)
        libc.so.6 => /lib64/libc.so.6 (0x0000ffff76755000)

Test on Almalinux:

pip install torch --index-url https://download.pytorch.org/whl/nightly/cpu/
Looking in indexes: https://download.pytorch.org/whl/nightly/cpu/
Collecting torch
  Downloading https://download.pytorch.org/whl/nightly/cpu/torch-2.6.0.dev20241204%2Bcpu-cp312-cp312-manylinux_2_28_aarch64.whl (95.3 MB)

strings /opt/conda/lib/python3.12/site-packages/torch/lib/libtorch_cpu.so |grep GLIBC_2.|tail -n3
GLIBC_2.27
GLIBC_2.23
GLIBC_2.28

Running Check Binary:

Checking that symbols in libtorch.so have the right gcc abi
lib: /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/libtorch_cpu.so
num_cxx11_symbols: 1409
num_pre_cxx11_symbols: 0
cxx11 symbols seem to be in order
All dependencies of /opt/conda/bin/../lib/python3.12/site-packages/torch/_C.cpython-312-aarch64-linux-gnu.so are        linux-vdso.so.1 (0x0000ffff8c268000)
        libtorch_python.so => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/libtorch_python.so (0x0000ffff8b114000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000ffff8b0df000)
        libc.so.6 => /lib64/libc.so.6 (0x0000ffff8af69000)
        libtorch.so => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/libtorch.so (0x0000ffff8af38000)
        libshm.so => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/libshm.so (0x0000ffff8af06000)
        libtorch_cpu.so => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/libtorch_cpu.so (0x0000ffff8155d000)
        libc10.so => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/libc10.so (0x0000ffff81464000)
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x0000ffff812c0000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000ffff8128f000)
        /lib/ld-linux-aarch64.so.1 (0x0000ffff8c22a000)
        librt.so.1 => /lib64/librt.so.1 (0x0000ffff8126e000)
        libm.so.6 => /lib64/libm.so.6 (0x0000ffff811ad000)
        libopenblasp-r0-bbd0e64a.3.28.so => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/../../torch.libs/libopenblasp-r0-bbd0e64a.3.28.so (0x0000ffff7fca2000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000ffff7fc81000)
        libgomp-98df74fd.so.1.0.0 => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/../../torch.libs/libgomp-98df74fd.so.1.0.0 (0x0000ffff7fc1d000)
        libarm_compute-10e4f4df.so => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/../../torch.libs/libarm_compute-10e4f4df.so (0x0000ffff7ef4b000)
        libarm_compute_graph-d178c117.so => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/../../torch.libs/libarm_compute_graph-d178c117.so (0x0000ffff7ee0d000)
        libgfortran-4435c6db.so.5.0.0 => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/../../torch.libs/libgfortran-4435c6db.so.5.0.0 (0x0000ffff7ec92000)
        libz.so.1 => /lib64/libz.so.1 (0x0000ffff7ec61000) with runpath
All dependencies of /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/libshm.so are      linux-vdso.so.1 (0x0000ffffa97e3000)
        libtorch_cpu.so => /opt/conda/bin/../lib/python3.12/site-packages/torch/lib/libtorch_cpu.so (0x0000ffff9fdfc000)
        librt.so.1 => /lib64/librt.so.1 (0x0000ffff9fddb000)


.....

Versions

2.6.0

@atalman
Copy link
Contributor Author
atalman commented Jan 23, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0