-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Info & discussion: NumPy and BLAS #271
Comments
I did some tests on a MacBook (late 2013, 2,8 GHz Intel Core i7, macOS High Sierra: 10.13.2, python-2.7.14, numpy-1.13.3, scipy-1.0.0). Test suite: 50 MB real world training data, ocropus-rtrain -N 30000.
Numpy is linked to the Accelerate Framework: $ python2 -c 'import numpy; numpy.show_config()' 35% speed improvement. Thank you, @amitdo! |
You're welcome! Apple's Accelerate Framework contains a highly tuned blas implementation. |
NumPy can use the BLAS library to do some of its operations.
On Debian 9, if you install numpy globally via apt-get, libblas3 will also be installed.
There are 2 other open source BLAS implementations which are generally more optimized for speed.
https://wiki.debian.org/DebianScience/LinearAlgebraLibraries
According to my testing you can get a nice speedup when using an accelerated BLAS lib with ocropy.
The text was updated successfully, but these errors were encountered: