Skip to content

MacOS 11_0 ARM wheel is missing image.so #5137

@borchero

Description

@borchero

🐛 Describe the bug

The MacOS 11_0 ARM wheel for release 0.11.2 does not provide the image.so shared library (this applies to both Python 3.8 and Python 3.9).

Thus, when importing torchvision on an Apple Silicon Mac running macOS Monterey, the following warning is raised:

UserWarning: Failed to load image Python extension:

Versions

PyTorch version: 1.10.1
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: macOS 12.1 (arm64)
GCC version: Could not collect
Clang version: 13.0.0 (clang-1300.0.29.30)
CMake version: Could not collect
Libc version: N/A

Python version: 3.9.9 (main, Dec 29 2021, 16:03:39)  [Clang 13.0.0 (clang-1300.0.29.30)] (64-bit runtime)
Python platform: macOS-12.1-arm64-arm-64bit
Is CUDA available: False
CUDA runtime version: No CUDA
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A

Versions of relevant libraries:
[pip3] mypy-extensions==0.4.3
[pip3] numpy==1.21.5
[pip3] pytorch-lightning==1.5.7
[pip3] torch==1.10.1
[pip3] torchmetrics==0.6.2
[pip3] torchvision==0.11.2
[conda] Could not collect

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions