Developer Tools

v2.11.0-rc3: Fix macOS arm64 libtorch release upload failure (#175108)

A simple config change broke PyTorch for Apple Silicon developers overnight...

Deep Dive

PyTorch v2.11.0-rc3 fixes a critical build failure affecting macOS arm64 (Apple Silicon) systems. The bug, introduced in January 2026 nightly builds, prevented libtorch from packaging correctly due to a missing BUILD_PYTHONLESS guard in build scripts. This caused builds to produce .whl files instead of expected .zip artifacts, breaking CI/CD pipelines. The fix restores proper packaging for M1/M2/M3 Mac developers who rely on PyTorch's native performance.

Why It Matters

This patch ensures Apple Silicon developers can continue building AI applications without interruption or workarounds.