Optimizing numpy and python for Arm64 in Asahi

This page summarizes the projects mentioned and recommended in the original post on /r/AsahiLinux

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • NumPy

    The fundamental package for scientific computing with Python.

    Accelerate is their closed-source CPU framework (nothing GPU/NPU here) leveraging private ISA extensions, so it's highly, highly unlikely to ever be supported in Asahi. Numpy dropped Accelerate link in 1.20 for its buggy BLAS/LAPACK implementation, but could be manually compiled & linked since 1.21, which is what I'm assuming you did. Numpy otherwise defaults to OpenBLAS, which isn't M1-specific, hence poorer performance than Accelerate but works the same in Asahi (mine shows libopenblas64_p-r0-cecebdce.3.21.so).

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts