Install Scipy with MKL through PIP

后端 未结 7 1101
一向
一向 2020-12-30 23:46

I am using PIP to install Scipy with MKL to accelerate the performance. My OS is Ubuntu 64 bit. Using the solution from this question, I create a file .numpy-site.cfg

7条回答
  •  臣服心动
    2020-12-31 00:23

    Intel has been publishing wheels of packages like Numpy, Scipy and Scikit-learn to PyPI. These wheels have been built while linking against Intel MKL, and include various optimizations.

    If you want Scipy built with Intel MKL:

    #Remove existing Numpy and/or Scipy:
    pip uninstall numpy scipy -y
    #Install scipy built with Intel MKL:
    pip install intel-scipy
    

    More information available here

提交回复
热议问题