{"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,"search_vec":"'2000':14 '7.6.0':28 'algebra':9,37 'arm':19 'cadenc':33 'kernel':16 'librari':12 'linear':8,36 'linear-algebra':7,35 'loongarch':23 'math':6 'mix':4,39 'mixed-precis':3,38 'month':32 'numkong':1 'portabl':2 'power':24 'precis':5,40 'releas':29 'retriev':11,41 'risc':21 'risc-v':20 'simd':15,34 'v':22 'version':27 'webassembl':26 'x86':18","created_at":"2026-04-27T17:00:52.310510+00:00","updated_at":"2026-04-27T17:00:52.310510+00:00","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,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"7.7.0","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/ashvardanian/NumKong","docs":null,"changelog":null,"pypi":"https://pypi.org/project/numkong/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["ai-ml","data"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-28","last_verified":"2026-06-28","next_check":"2026-07-28","install_tag":null}}