Sign inSign up

slothai/numpy

By slothai

•Updated about 8 years ago

NumPy with OpenBLAS support

Image
0

50K+

slothai/numpy repository overview

⁠Alpine Docker container with NumPy and OpenBLAS

In order to support OpenBLAS⁠ in NumPy⁠, one need to manually build it⁠ from source using site.cfg config.

⁠Container breakdown
⁠Notes
  • Use parallel build python setup.py build --parallel=$(nproc), it saves ~70% of time.
  • In order to pass C flags to python use CFLAGS="-Ofast". It overrides original settings, see documentation⁠.
  • NumPy is installed to /usr/local/lib/python3.6/site-packages/.

Tag summary

Content type

Image

Digest

Size

100.6 MB

Last updated

about 8 years ago

docker pull slothai/numpy