Skip to content
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

SetupTools update breaks Vision Nightly aarch64 builds are failing for CPU and GPU #8591

Open
atalman opened this issue Aug 14, 2024 · 3 comments · Fixed by #8592
Open

SetupTools update breaks Vision Nightly aarch64 builds are failing for CPU and GPU #8591

atalman opened this issue Aug 14, 2024 · 3 comments · Fixed by #8592

Comments

@atalman
Copy link
Contributor

atalman commented Aug 14, 2024

🐛 Describe the bug

All Aarch64 vision builds failed on Aug 14, 2024:
https://github.com/pytorch/vision/actions/runs/10386791010/job/28759157208

Audio seems fine:
https://hud2.pytorch.org/hud/pytorch/audio/nightly/1?per_page=50

Versions

0.20.0 nightly

cc @NicolasHug @malfet

@malfet
Copy link
Contributor

malfet commented Aug 14, 2024

Relevant part of the log:

Traceback (most recent call last):
  File "/__w/vision/vision/pytorch/vision/packaging/wheel/relocate.py", line 378, in <module>
    patch_linux()
  File "/__w/vision/vision/pytorch/vision/packaging/wheel/relocate.py", line 335, in patch_linux
    relocate_elf_library(patchelf, output_dir, output_library, binary)
  File "/__w/vision/vision/pytorch/vision/packaging/wheel/relocate.py", line 216, in relocate_elf_library
    library_dependencies = binary_dependencies[binary]
KeyError: 'image.so'

@atalman
Copy link
Contributor Author

atalman commented Aug 14, 2024

Looks like the issue maybe related to
https://pypi.org/project/setuptools/#files - Released: Aug 13, 2024
setuptools 72.2.0

I do see something like this in the log:

2024-08-14T17:47:49.2817611Z Collecting setuptools
2024-08-14T17:47:49.2818481Z   Downloading setuptools-72.2.0-py3-none-any.whl.metadata (6.6 kB)
2024-08-14T17:47:49.2819699Z Downloading setuptools-72.2.0-py3-none-any.whl (2.3 MB)
2024-08-14T17:47:49.2820771Z    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 97.6 MB/s eta 0:00:00
2024-08-14T17:47:49.2821626Z Installing collected packages: setuptools
2024-08-14T17:47:49.2822330Z   Attempting uninstall: setuptools
2024-08-14T17:47:49.2823044Z     Found existing installation: setuptools 72.1.0
2024-08-14T17:47:49.2823855Z     Uninstalling setuptools-72.1.0:
2024-08-14T17:47:49.2824629Z       Successfully uninstalled setuptools-72.1.0
2024-08-14T17:47:49.2825454Z Successfully installed setuptools-72.2.0
2024-08-14T17:47:49.2825935Z 

@atalman atalman reopened this Aug 14, 2024
@atalman atalman changed the title Vision Nightly aarch64 builds are failing for CPU and GPU SetupTools update breaks Vision Nightly aarch64 builds are failing for CPU and GPU Aug 14, 2024
@atalman
Copy link
Contributor Author

atalman commented Aug 14, 2024

Reopened to followup why setuptools breaks our builds

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

Successfully merging a pull request may close this issue.

2 participants