Skip to content

Default to Accelerate on macOS and add wheels for macOS >=14 #24905

@rgommers

Description

@rgommers

The benefits of using the updated Accelerate library are (1) performance (xref gh-24053 for benchmarks) and (2) smaller wheels because we're no longer vendoring OpenBLAS.

The first part of this is done: after gh-24893 we are defaulting to the new Accelerate on macOS >=13.3 when building from source.

The second part is adding a new set of wheel build that use Accelerate rather than OpenBLAS on macOS >=14. Note that it can only be from macOS 14 rather than 13.3, because the packaging library (and hence pip) do not take macOS minor version into account, so using 13_3 in wheel names will lead to pip installing those also on 13.0-13.2 and those will then crash with missing symbols at runtime.

We need a macOS 14 image to build wheels (ideally, we could rename wheels manually in a pinch). The status of those CI images is:

  • Cirrus CI made macOS 14 images available on the release date of macOS 14 three weeks ago. We want to use macos-sonoma-xcode (see here for all images). So we can do this now for arm64 wheels
  • GitHub does not yet have a timeline for making runner images available. The tracking issue is Add macOS 14 (Sonoma) Runner Image actions/runner-images#7508. So for x86_64 we have to wait. I'd expect support to materialize well before the 2.0 release date.

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions