{"id":21620,"library":"numkong","title":"NumKong","description":"Portable mixed-precision math, linear-algebra, and retrieval library with 2000+ SIMD kernels for x86, Arm, RISC-V, LoongArch, Power, and WebAssembly. Version 7.6.0, released on a monthly cadence.","status":"active","version":"7.6.0","language":"python","source_language":"en","source_url":"https://github.com/ashvardanian/NumKong","tags":["simd","linear-algebra","mixed-precision","retrieval"],"install":[{"cmd":"pip install numkong","lang":"bash","label":"PyPI"}],"dependencies":[],"imports":[{"note":"numkong is not NumPy; it's a separate library.","wrong":"import numpy","symbol":"numkong","correct":"import numkong"},{"note":"common confusion with numpy.","wrong":"from numpy import ndarray","symbol":"numkong.tensor","correct":"from numkong import tensor"}],"quickstart":null,"warnings":[{"fix":"Upgrade to v7.3.0 or later.","message":"In v7.3.0, Arm NEON kernels were hardened; old code using `_x` predicated intrinsics may produce wrong results for non-power-of-two dimensions. Ensure you use v7.3.0+ for Arm SVE/SME.","severity":"deprecated","affected_versions":"<7.3.0"},{"fix":"Use `import numkong as nk; import numpy as np`.","message":"Importing `numkong` does not automatically import `numpy`; if you need both, import them separately.","severity":"gotcha","affected_versions":"all"},{"fix":"Install build dependencies: `apk add gcc musl-dev python3-dev`.","message":"The library uses C extensions; on some platforms (e.g., Alpine Linux), you may need to install gcc and Python headers to compile from source if no wheel is available.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run `pip install numkong` in your active environment.","cause":"numkong not installed or installed in wrong environment.","error":"ModuleNotFoundError: No module named 'numkong'"},{"fix":"Use `from numkong import tensor`.","cause":"Typo or outdated version; the correct symbol is `numkong.tensor` (lowercase).","error":"ImportError: cannot import name 'tensor' from 'numkong'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}