[Numpy-discussion] Using OpenBLAS for manylinux wheels

Matthew Brett matthew.brett at gmail.com
Tue Apr 5 13:22:17 EDT 2016


On Mon, Mar 28, 2016 at 2:33 PM, Matthew Brett <matthew.brett at gmail.com> wrote:
> Hi,
>
> Olivier Grisel and I are working on building and testing manylinux
> wheels for numpy and scipy.
>
> We first thought that we should use ATLAS BLAS, but Olivier found that
> my build of these could be very slow [1].  I set up a testing grid [2]
> which found test errors for numpy and scipy using ATLAS wheels.
>
> On the other hand, the same testing grid finds no errors or failures
> [3] using latest OpenBLAS (0.2.17) and running tests for:
>
> numpy
> scipy
> scikit-learn
> numexpr
> pandas
> statsmodels
>
> This is on the travis-ci ubuntu VMs.
>
> Please do test on your own machines with something like this script [4]:
>
> source test_manylinux.sh
>
> We have worried in the past about the reliability of OpenBLAS, but I
> find these tests reassuring.
>
> Are there any other tests of OpenBLAS that we should run to assure
> ourselves that it is safe to use?

Here is an update on progress:

We've now done a lot of testing on the Linux OpenBLAS wheels.   They
pass all tests on Linux, with Intel kernels:

https://travis-ci.org/matthew-brett/manylinux-testing/builds/120825485
http://nipy.bic.berkeley.edu/builders/manylinux-2.7-debian/builds/22
http://nipy.bic.berkeley.edu/builders/manylinux-2.7-fedora/builds/10

Xianyi, the maintainer of OpenBLAS, is very helpfully running the
OpenBLAS buildbot nightly tests with numpy and scipy:

http://build.openblas.net/builders

There is still one BLAS-related failure on these tests on AMD chips:

https://github.com/xianyi/OpenBLAS-CI/issues/10

I propose to hold off distributing the OpenBLAS wheels until the
OpenBLAS tests are clean on the OpenBLAS buildbots - any objections?

Cheers,

Matthew



More information about the NumPy-Discussion mailing list