pytorch / pytorch/vision

[build] Linux aarch64 wheels are build with manylinux_2_34_aarch64 tag according to auditwheel check

Open
#8,883 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
17.9k
Forks
7.3k
Avg merge
1d 15h
Merged PRs (30d)
13

Description

🐛 Describe the bug

Test:
curl -O https://download.pytorch.org/whl/test/cpu/torchvision-0.21.0-cp310-cp310-linux_aarch64.whl

torchvision-0.21.0-cp310-cp310-linux_aarch64.whl is consistent with
the following platform tag: "linux_aarch64".

The wheel references external versioned symbols in these
system-provided shared libraries: libgcc_s.so.1 with versions
{'GCC_3.0'}, libc.so.6 with versions {'GLIBC_2.17'}, libstdc++.so.6
with versions {'CXXABI_1.3.2', 'GLIBCXX_3.4.29', 'GLIBCXX_3.4.22',
'GLIBCXX_3.4.14', 'GLIBCXX_3.4.9', 'CXXABI_1.3.9', 'CXXABI_1.3.5',
'GLIBCXX_3.4.15', 'GLIBCXX_3.4.19', 'CXXABI_1.3.11', 'CXXABI_1.3',
'GLIBCXX_3.4.18', 'GLIBCXX_3.4.21', 'GLIBCXX_3.4', 'CXXABI_1.3.3',
'GLIBCXX_3.4.11', 'GLIBCXX_3.4.20', 'CXXABI_1.3.8'}, libpthread.so.0
with versions {'GLIBC_2.17'}, libjpeg.4b00edfa.so.8 with versions
{'LIBJPEG_8.0'}, libpng16.303743ff.so.16 with versions {'PNG16_0'},
libswscale.50a41ba9.so.5 with versions {'LIBSWSCALE_5'},
libswresample.9aea3bfb.so.3 with versions {'LIBSWRESAMPLE_3'},
libavutil.11cb4cb7.so.56 with versions {'LIBAVUTIL_56'},
libavcodec.55ff7123.so.58 with versions {'LIBAVCODEC_58'},
libavformat.bc3b37c9.so.58 with versions {'LIBAVFORMAT_58'}, libm.so.6
with versions {'GLIBC_2.17'}, libz.a46a3c60.so.1 with versions
{'ZLIB_1.2.3.4', 'ZLIB_1.2.0', 'ZLIB_1.2.0.2'},
libgnutls.66cd1b24.so.30 with versions {'GNUTLS_3_4'}, libdl.so.2 with
versions {'GLIBC_2.17'}, libhogweed.d90c9fca.so.6 with versions
{'HOGWEED_6', 'HOGWEED_INTERNAL_6_0'}, libnettle.b698a10d.so.8 with
versions {'NETTLE_8', 'NETTLE_INTERNAL_8_0'}

This constrains the platform tag to "manylinux_2_34_aarch64". In order
to achieve a more compatible tag, you would need to recompile a new
wheel from source on a system with earlier versions of these
libraries, such as a recent manylinux image.
Versions

0.21.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the auditwheel check against the linked torchvision 0.21.0 Linux aarch64 wheel. Trace the Linux aarch64 wheel build configuration and compare it with a recent manylinux image; done means the rebuilt wheel receives a more compatible platform tag than manylinux_2_34_aarch64.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.