Registry / ai-ml / numkong

numkong

JSON →
library7.7.0pypypi✓ verified 84d ago

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.

pip install numkong
INSTALL
IMPORT
SIG · NUMKONG
N
numkong
ai-mlpythonv7.7.0
Install
1.9s avg
Import
Disk
52MB
Pass rate
8/ 10
Env Coverage8 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v7.7.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✓ —
✓ 1.8s
py 3.11
✓ —
✓ 1.8s
py 3.12
✓ —
✓ 2s
py 3.13
✓ —
✓ 2.2s
py 3.9
✕ build_error
✕ build_error
52MB installed
● package 52MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

numkong
import numkong
import numpy
numkong is not NumPy; it's a separate library.
numkong.tensor
from numkong import tensor
from numpy import ndarray
common confusion with numpy.
Debug
Known issues
deprecatedIn 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.
fix
Upgrade to v7.3.0 or later.
affects: <7.3.0
gotchaImporting `numkong` does not automatically import `numpy`; if you need both, import them separately.
fix
Use `import numkong as nk; import numpy as np`.
affects: all
gotchaThe 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.
fix
Install build dependencies: `apk add gcc musl-dev python3-dev`.
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'numkong'
numkong not installed or installed in wrong environment.
fix
Run `pip install numkong` in your active environment.
ImportError: cannot import name 'tensor' from 'numkong'
Typo or outdated version; the correct symbol is `numkong.tensor` (lowercase).
fix
Use `from numkong import tensor`.
Upgrade
Version history
7.7.0latest on PyPI · released May 23, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Resources