Skip to content

Installation guide installs incorrect packages on ARM based CPUs #401

Closed

Description

@millettmb

Hi all,
I found out today that performing pip3 install numpy on an ARM based CPU procures an incorrect version of the LAPACK library (?). This doesn't present as an error, but instead results in incorrect values produced from some of the functions within the numpy library, such as linalg.eigvals. More information is available in the issue here: numpy/numpy#18422.

I believe that the installation page, listed here: https://numpy.org/install/, should be modified to include information about ARM specific installations, and/or provide a link to the AWS provided documentation on how to properly install numpy on ARM based CPUs (https://github.com/aws/aws-graviton-getting-started/blob/master/python.md).

Activity

  1. mattip commented on Feb 16, 2021

    @mattip
    Member

    Maybe there is a problem with your procedure? We ship OpenBLAS with our wheels, and if the version of OpenBLAS is wrong it is a numpy/numpy problem, not a documentation one. The page you link to says "As of June 20th, 2020, NumPy now provides binaries for arm64." so maybe that page should remove the whole "build from source" portion.

  2. rgommers commented on Apr 5, 2021

    @rgommers
    Member

    Graviton is not a regular ARM64 architecture, it's a custom chip from Amazon that AFAIK is only available on AWS. This issue belongs on the main repo I think, not here. So I'll close this and will comment on as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions