🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

mkl-umath

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mkl-umath

MKL-based universal functions for NumPy arrays

0.1.5
Maintainers
2

Conda package OpenSSF Scorecard

mkl_umath

mkl_umath._ufuncs exposes Intel(R) Math Kernel Library powered version of loops used in the patched version of NumPy, that used to be included in Intel(R) Distribution for Python*.

Patches were factored out per community feedback (NEP-36).

mkl_umath started as a part of Intel (R) Distribution for Python* optimizations to NumPy, and is now being released as a stand-alone package. It can be installed into conda environment using

   conda install -c https://software.repos.intel.com/python/conda mkl_umath

To install mkl_umath Pypi package please use following command:

   python -m pip install --i https://software.repos.intel.com/python/pypi -extra-index-url https://pypi.org/simple mkl_umath

If command above installs NumPy package from the Pypi, please use following command to install Intel optimized NumPy wheel package from Intel Pypi Cloud:

   python -m pip install --i https://software.repos.intel.com/python/pypi -extra-index-url https://pypi.org/simple mkl_umath numpy==<numpy_version>

Where <numpy_version> should be the latest version from https://software.repos.intel.com/python/conda/

Building

Intel(R) C compiler and Intel(R) Math Kernel Library are required to build mkl_umath from source:

# ensure that MKL is installed into Python prefix, Intel LLVM compiler is activated
export MKLROOT=$CONDA_PREFIX
CC=icx pip install --no-build-isolation --no-deps -e .

Keywords

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts