Skip to content
⌘K

NumKong

SIMD-accelerated distances, dot products, matrix ops, geospatial and geometric kernels for 16 numeric types across x86, Arm, RISC-V and WASM.

health 79contrib 431.9k

Overview & architecture

C++ standard
–
Build systems
–
License
Apache-2.0
Languages
C
Last release
v7.8.7 · Oct 31, 2026

Repository activity

snapshot Nov 23, 2026
GitHub stars
latest
1.9k▲ 13
Merged PRs (30d)
latest
5▲ 2
Contributors (90d)
latest
4▲ 1
Issue first response p50
–
No snapshots yet.
28 open issues10 open PRs41 commits (30d)0 good first issues0 help wanted

Recent notable activity

  • Release
    NumKong v7.8.7

    Improve: Fuse each weights and keep negative zeros in scale (32097249) Fix: Preserve signed zero in NEON half multiplication (e34d3c53) Fix: Zero out before nk.multiply reads it as the FMA addend (ec85877f) Fix: Keep u8, i8 and f16 each kernels bit-exact with serial (47d42f2b) Fix: Stop SME size queries from zeroing…

    ashvardanianv7.8.7
  • New project
    NumKong added to the atlas

    SIMD-accelerated distances, dot products, matrix ops, geospatial and geometric kernels for 16 numeric types across x86, Arm, RISC-V and WASM.

  • Release
    NumKong v7.8.6

    Release: v7.8.6 [skip ci] Patch Fix: Keep SME kernels loadable on macOS 14 (7556a1fb) Fix: Validate scale output buffer DType (c8bbb4e2) Fix: Exclude padded documents from AMX MaxSim (10ecefc5)

    ashvardanianv7.8.6
  • Release
    NumKong v7.8.5

    Release: v7.8.5 [skip ci] Patch Fix: Windows shared library consumption (bf91b589)

    ashvardanianv7.8.5
  • Release
    NumKong v7.8.4

    Release: v7.8.4 [skip ci] Patch Fix: Keep SME spatial and attention bodies out of line on GCC (de1da852)

    ashvardanianv7.8.4
  • Release
    NumKong v7.8.3

    Release: v7.8.3 [skip ci] Patch Make: Declare Python test dependencies as one group (7975003b) Fix: Probe every x86 feature the AMX and Turin kernels use (c375b148) Fix: Pass omitted C++ mesh outputs as null (4c2e00ac) Fix: Vincenty antipodes, polar f32 NaN, standalone headers (36812dc7) Fix: Scale Umeyama fits by…

    ashvardanianv7.8.3
  • Release
    NumKong v7.8.2

    Release: v7.8.2 [skip ci] Patch Make: Probe ISAs through the QEMU emulator on cross builds (49454f69) Make: Honour base-image pins and f16 checks under QEMU (07468b95) Make: Bump RISC-V wheel images past a broken patchelf (0b183b34) Fix: Keep streaming SVE bodies out of line on GCC (620a6c18) Fix: Divide exactly in…

    ashvardanianv7.8.2
  • Release
    NumKong v7.8.1

    Release: v7.8.1 [skip ci] Patch Make: Bump CI action versions (8f624f6c) Fix: Unbreak WASM builds on Clang 24 and WASI SDK 33 (dee3b84d) Docs: Kernel names, output types, links, & citations (8d965848) Make: Unbreak release jobs and align the baseline table (fa594094)

    ashvardanianv7.8.1
  • Release
    NumKong v7.8.0

    Release: v7.8.0 [skip ci] Minor Add: Native thread pools for Python and JavaScript bindings (0354de0b) Patch Fix: Self-contained ISA headers (4383f444) Make: Unbreak Windows, RISC-V, and SDE jobs (b9570af1) Make: Pin cibuildwheel to 3.x instead of 4.x (bfa76018) Make: Unblock wheel builds on current cibuildwheel…

    ashvardanianv7.8.0
  • Release
    NumKong v7.7.1

    Release: v7.7.1 [skip ci] Patch Improve: Report Umeyama scale as NaN for degenerate source (895742d8) Fix: Fast-math-safe float classification (b25666da) Fix: Accumulate i4 angular bias correction in i64 on Icelake (f59c9156)

    ashvardanianv7.7.1
  • Release
    NumKong v7.7.0

    Release: v7.7.0 [skip ci] Minor Add: Rust trait reorganisation, bit reductions, macro purge (31217375) Add: Tensor fill_zeros, fill, copy, popcount-style BitwiseReductions (01274600) Patch Fix: const friendly & rank-aware tensor ops (ef37cf9b) Improve: Harden tensor shapes against -flto (3eca0d2c) Improve: Accept any…

    ashvardanianv7.7.0
  • Release
    NumKong v7.6.0: v7.6: CUDA & C++ 20 Compatibility, DLPack 1.3 Views, Float8 & 3D Mesh Speedups

    CUDA & C++ 20 Compatibility NVCC 13 caps its language-standard flag at C++20, and our multi-argument subscript overloads from C++23 P2128 made tensor.hpp unparseable by cudafe++. We added call-operator primaries that mirror every multi-argument subscript overload in the tensor view, span, and owning container types,…

    ashvardanianv7.6.0

Stories

ReleaseFor you

NumKong v7.8.7 released

Improve: Fuse each weights and keep negative zeros in scale (32097249) Fix: Preserve signed zero in NEON half multiplication (e34d3c53) Fix: Zero out before nk.multiply reads it as the FMA addend (ec85877f) Fix: Keep u8, i8 and f16 each kernels bit-exact with serial (47d42f2b) Fix: Stop SME size…

Why it matters: NumKong is in AI & Accelerated Computing (one of your focus areas).

New projectFor you

New project: NumKong

SIMD-accelerated distances, dot products, matrix ops, geospatial and geometric kernels for 16 numeric types across x86, Arm, RISC-V and WASM.

Why it matters: NumKong is in AI & Accelerated Computing (one of your focus areas). 1,912 GitHub stars.

ReleaseFor you

NumKong v7.8.6 released

Release: v7.8.6 [skip ci] Patch Fix: Keep SME kernels loadable on macOS 14 (7556a1fb) Fix: Validate scale output buffer DType (c8bbb4e2) Fix: Exclude padded documents from AMX MaxSim (10ecefc5)

Why it matters: NumKong is in AI & Accelerated Computing (one of your focus areas).

ReleaseFor you

NumKong v7.8.4 released

Release: v7.8.4 [skip ci] Patch Fix: Keep SME spatial and attention bodies out of line on GCC (de1da852)

Why it matters: NumKong is in AI & Accelerated Computing (one of your focus areas).

ReleaseFor you

NumKong v7.8.3 released

Release: v7.8.3 [skip ci] Patch Make: Declare Python test dependencies as one group (7975003b) Fix: Probe every x86 feature the AMX and Turin kernels use (c375b148) Fix: Pass omitted C++ mesh outputs as null (4c2e00ac) Fix: Vincenty antipodes, polar f32 NaN, standalone headers (36812dc7) Fix…

Why it matters: NumKong is in AI & Accelerated Computing (one of your focus areas).

Maintainers & organizations

every claim links to its source

Maintainers

No maintainers recorded yet.

Top contributors

Releases & changelog

  • NumKong v7.8.7

    Improve: Fuse each weights and keep negative zeros in scale (32097249) Fix: Preserve signed zero in NEON half multiplication (e34d3c53) Fix: Zero out before nk.multiply reads it as the FMA addend (ec85877f) Fix: Keep u8, i8 and f16 each kernels bit-exact with serial (47d42f2b) Fix: Stop SME size queries from zeroing…

  • NumKong v7.8.6

    Release: v7.8.6 [skip ci] Patch Fix: Keep SME kernels loadable on macOS 14 (7556a1fb) Fix: Validate scale output buffer DType (c8bbb4e2) Fix: Exclude padded documents from AMX MaxSim (10ecefc5)

  • NumKong v7.8.5

    Release: v7.8.5 [skip ci] Patch Fix: Windows shared library consumption (bf91b589)

  • NumKong v7.8.4

    Release: v7.8.4 [skip ci] Patch Fix: Keep SME spatial and attention bodies out of line on GCC (de1da852)

  • NumKong v7.8.3

    Release: v7.8.3 [skip ci] Patch Make: Declare Python test dependencies as one group (7975003b) Fix: Probe every x86 feature the AMX and Turin kernels use (c375b148) Fix: Pass omitted C++ mesh outputs as null (4c2e00ac) Fix: Vincenty antipodes, polar f32 NaN, standalone headers (36812dc7) Fix: Scale Umeyama fits by…

  • NumKong v7.8.2

    Release: v7.8.2 [skip ci] Patch Make: Probe ISAs through the QEMU emulator on cross builds (49454f69) Make: Honour base-image pins and f16 checks under QEMU (07468b95) Make: Bump RISC-V wheel images past a broken patchelf (0b183b34) Fix: Keep streaming SVE bodies out of line on GCC (620a6c18) Fix: Divide exactly in…

  • NumKong v7.8.1

    Release: v7.8.1 [skip ci] Patch Make: Bump CI action versions (8f624f6c) Fix: Unbreak WASM builds on Clang 24 and WASI SDK 33 (dee3b84d) Docs: Kernel names, output types, links, & citations (8d965848) Make: Unbreak release jobs and align the baseline table (fa594094)

  • NumKong v7.8.0major

    Release: v7.8.0 [skip ci] Minor Add: Native thread pools for Python and JavaScript bindings (0354de0b) Patch Fix: Self-contained ISA headers (4383f444) Make: Unbreak Windows, RISC-V, and SDE jobs (b9570af1) Make: Pin cibuildwheel to 3.x instead of 4.x (bfa76018) Make: Unblock wheel builds on current cibuildwheel…

  • NumKong v7.7.1

    Release: v7.7.1 [skip ci] Patch Improve: Report Umeyama scale as NaN for degenerate source (895742d8) Fix: Fast-math-safe float classification (b25666da) Fix: Accumulate i4 angular bias correction in i64 on Icelake (f59c9156)

  • NumKong v7.7.0major

    Release: v7.7.0 [skip ci] Minor Add: Rust trait reorganisation, bit reductions, macro purge (31217375) Add: Tensor fill_zeros, fill, copy, popcount-style BitwiseReductions (01274600) Patch Fix: const friendly & rank-aware tensor ops (ef37cf9b) Improve: Harden tensor shapes against -flto (3eca0d2c) Improve: Accept any…

  • NumKong v7.6.0: v7.6: CUDA & C++ 20 Compatibility, DLPack 1.3 Views, Float8 & 3D Mesh Speedupsmajor

    CUDA & C++ 20 Compatibility NVCC 13 caps its language-standard flag at C++20, and our multi-argument subscript overloads from C++23 P2128 made tensor.hpp unparseable by cudafe++. We added call-operator primaries that mirror every multi-argument subscript overload in the tensor view, span, and owning container types,…

Contribution opportunities

0 published

No published opportunities

Cards are published only for real, open, unassigned issues with maintainer engagement.
6 more candidates below the publish threshold
LabelledstaleMatches your profileSIMD & Vectorization

Axis-aware `moments` and `minmax` reductions for N-D tensors

Current status Most of the original request has shipped: nk.dot(A, b) and the dense distance APIs already support batched matrix/vector workloads. sum, norm, min, and max accept an integer or tuple of axes. add and multiply accept N-D inputs with NumPy-compatible broadcasting. reductions accept NumPy buffers directly without constructing a copying Tensor. The remaining high-value gap for Albucore is axis-aware combined reductions. Request Add axis, keepdims, and optional output support to moments and minmax: python sum_, sumsq = nk.moments(x, axis=(0, 1, 2), keepdims=False) minimum,…

44score
numerics
  • Demand 25% × 0.27 = 71 reactions, 6 comments
  • Technical fit 30% × 0.53 = 16NumKong is in AI & Accelerated Computing (a focus area); project tags you follow: simd
  • Maintainer engagement 25% × 0.45 = 11comments not checked; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.50 = 10clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 20h ago
LabelleduntouchedcandidateMatches your profileSIMD & Vectorization

Mixed-dtype broadcasted affine transform for normalization

Requested primitive Computer-vision normalization needs a fused affine pass with independent input/output dtypes and scalar or per-channel parameters: python out = nk.scale(x, alpha=scale, beta=bias, axis=-1, out_dtype="float32", out=None) The name is flexible. The required contract is one input pass, optional caller-owned output, and no full-size cast or arithmetic temporaries. Start with contiguous uint8/float32 inputs; cover HWC, NHWC/DHWC and NDHWC, with channel axis explicit. For ImageNet normalization, scale = 1 / (255 * std) and bias = -mean / std. YOLO scaling is the scalar case,…

41score
armsimd
  • Demand 25% × 0.17 = 41 reactions, 1 comments
  • Technical fit 30% × 0.53 = 16NumKong is in AI & Accelerated Computing (a focus area); project tags you follow: simd
  • Maintainer engagement 25% × 0.45 = 11comments not checked; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.50 = 10clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileSIMD & Vectorization

Tracking: N-D numerical, image, and volume kernels requested by AlbumentationsX

Goal Track the NumKong primitives that would let AlbumentationsX and Albucore process images, batches, videos, and volumes without Python loops or chains of NumPy temporaries. The common layouts are channel-last: Image: (H, W, C). Image batch or video: (N, H, W, C). Volume: (D, H, W, C). Numerical Tensor layer #368 — buffer-first N-D cast with out= and explicit conversion semantics. #311 — axis-aware moments and minmax. #315 — mixed-dtype broadcasted affine transform for normalization. #327 — shape-preserving N-D scale and explicit integer rounding. #366 — broadcasted comparisons, minimum,…

41score
numerics
  • Demand 25% × 0.40 = 106 reactions, 1 comments
  • Technical fit 30% × 0.53 = 16NumKong is in AI & Accelerated Computing (a focus area); project tags you follow: simd
  • Maintainer engagement 25% × 0.45 = 11comments not checked; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.20 = 4clear scope; project onboarding 25%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileSIMD & Vectorization

N-D `take`/gather for channel permutations and `cv2.mixChannels`

Workload AlbumentationsX ChannelShuffle reorders the last axis of channel-last arrays. NumPy expresses this with advanced indexing: python out = image[..., permutation] OpenCV can use cv2.mixChannels for a single image. Its image/channel conventions do not extend cleanly to DHWC or NDHWC tensors. Requested primitive A general axis gather would cover channel shuffle and other permutation workloads: python out = nk.take(a, indices, axis=-1, out=None) Examples: python nk.take(image_hwc, [2, 1, 0], axis=-1) nk.take(volume_dhwc, [2, 0, 1], axis=-1) nk.take(batch_ndhwc, [3, 2, 1, 0], axis=-1)…

37score
docsstorage
  • Demand 25% × 0.00 = 00 reactions, 0 comments
  • Technical fit 30% × 0.53 = 16NumKong is in AI & Accelerated Computing (a focus area); project tags you follow: simd
  • Maintainer engagement 25% × 0.45 = 11comments not checked; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.50 = 10clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileSIMD & Vectorization

Direct `matmul` for ephemeral and small right-hand matrices

Workload NumKong exposes packed matrix multiplication, which is a good contract when the right-hand matrix is reused. AlbumentationsX also has one-shot and frequently changing matrices where explicit packing becomes part of every call. Examples: Transform points: (N, 3) @ (3, 3). Thin-plate splines: (N, K) @ (K, 2). Histology: flattened optical density (H*W, 3) @ (3, 2). Iterative stain estimation: the small right-hand matrices change on each iteration. Small matrix composition and solves around 2x2, 3x3, and 4x4 transforms. Albucore currently routes these through NumPy @; older paths used…

37score
docsnumerics
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.53 = 16NumKong is in AI & Accelerated Computing (a focus area); project tags you follow: simd
  • Maintainer engagement 25% × 0.45 = 11comments not checked; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.50 = 10clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 3d ago
LabelleduntouchedstaleMatches your profileSIMD & Vectorization

Shape-preserving N-D `nk.scale` with documented integer rounding

Current behavior The original rounding problem is fixed in NumKong 7.7.0. nk.scale now matches round-to-nearest-even followed by saturation for the tested uint8 half-integer cases: python import numkong as nk import numpy as np x = np.array([1, 3, 5, 7, 9], dtype=np.uint8) print(np.asarray(nk.scale(x, alpha=1.5, beta=0))) [2, 4, 8, 10, 14] The remaining limitation is shape handling. nk.scale still operates on a vector and does not preserve an arbitrary input shape. Albucore currently flattens an image or volume, calls nk.scale, and reshapes the result. Request Extend nk.scale to accept…

31score
armsimd
  • Demand 25% × 0.00 = 00 reactions, 0 comments
  • Technical fit 30% × 0.53 = 16NumKong is in AI & Accelerated Computing (a focus area); project tags you follow: simd
  • Maintainer engagement 25% × 0.20 = 5comments not checked; labelled (triaged)
  • Feasibility 20% × 0.50 = 10clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 4d ago

Why this score

Health 79Contribution friendliness 43computed 20h ago
  • Activity0.75
    5 merged PRs in 30 days (full marks at 20); 41 commits in 30 days (full marks at 60)health
  • Onboarding0.25
    has CI; missing contributing guide, mainstream build (CMake/Bazel/Meson), docs sitecontrib
  • Entry points0.00
    0 open, unassigned good-first-issue/help-wanted issues without a PR (full marks at 10)contrib
  • Maintainer responsiveness1.00
    median PR merge time 18 h (full marks within 72 h, zero after 60 days)healthcontrib
  • Release cadence1.00
    last release 22 days ago (full marks within 90, zero after 730); 11 releases in 365 days (full marks at 4)health
  • Backlog pressure0.95
    23% of 13 scanned open issues are older than a year (full marks at <= 20%, zero at >= 80%)health
  • Contributor breadth0.36
    4 unique contributors in 90 days (full marks at 25); top contributor has 98% of commits; stars count for at most 5% of this signalhealth

Each signal is normalized to 0–1 with fixed thresholds; scores are weighted sums × 100. Stars are not an input.