#354354th of 433 in ML frameworks and libraries

arraymancer

N-dimensional tensor library for Nim with autograd and a neural network DSL

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
1.4k
License
Apache-2.0
Last commit
Nov 2026
Last release
Jul 2021
Language
Nim
Stars, last 29 weeks+24
6 May 2026: 1,396 stars13 May 2026: 1,397 stars20 May 2026: 1,398 stars27 May 2026: 1,400 stars3 Jun 2026: 1,402 stars10 Jun 2026: 1,403 stars17 Jun 2026: 1,403 stars24 Jun 2026: 1,404 stars1 Jul 2026: 1,404 stars8 Jul 2026: 1,405 stars15 Jul 2026: 1,405 stars22 Jul 2026: 1,406 stars29 Jul 2026: 1,406 stars5 Aug 2026: 1,406 stars12 Aug 2026: 1,406 stars19 Aug 2026: 1,406 stars26 Aug 2026: 1,406 stars2 Sept 2026: 1,406 stars9 Sept 2026: 1,406 stars16 Sept 2026: 1,407 stars23 Sept 2026: 1,407 stars30 Sept 2026: 1,408 stars7 Oct 2026: 1,411 stars14 Oct 2026: 1,412 stars21 Oct 2026: 1,414 stars28 Oct 2026: 1,414 stars4 Nov 2026: 1,416 stars11 Nov 2026: 1,416 stars18 Nov 2026: 1,418 stars25 Nov 2026: 1,420 stars

1,396 on 6 May 20261,420 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Arraymancer is a Nim ndarray library inspired by NumPy and PyTorch, with CPU, Cuda and OpenCL backends. It adds scikit-learn style algorithms (least squares, PCA, K-means) and an autograd-based deep learning layer with a `network` macro DSL for Linear, Conv2D, Maxpool2D and GRU layers. The README marks the deep learning interface as unstable and the project as experimental.

Who it is for: Nim developers needing numerical computing or small neural networks

Strengths

  • Tensor core usable without the ML or deep learning parts, with OpenMP, Cuda or OpenCL backends
  • Reads and writes CSV, NumPy .npy and HDF5 files
  • Compiled Nim code; README cites about 5 seconds compile time on a dual-core MacBook
  • Explicit broadcasting operators such as `+.` instead of implicit NumPy rules

Weaknesses

  • Deep learning API is described as unstable and work in progress
  • Last release is 2021-07-04, though commits continue
  • Cuda and OpenCL tensors are limited to float32/float64 and lack many CPU features
  • Tensors capped at 6 dimensions; requires a system BLAS and LAPACK

What it needs

  • GPU optional
  • Needs Nim, BLAS, LAPACK
  • Models: Linear, Conv2D, Maxpool2D, GRU

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#352deepoDockerfile generator and prebuilt images for deep learning environments6.3k starsMIT29 out of 100
#353texarTensorFlow toolkit for text generation and NLP model building2.4k starsApache-2.029 out of 100
#355mishReference code and benchmarks for the Mish activation function Live demo ↗ (opens in a new tab)1.3k starsMIT29 out of 100
#356pinnsReference code for physics-informed neural networks solving and discovering PDEs6.3k starsMIT28 out of 100
#357synonymsChinese synonym lookup and sentence similarity library built on word2vec vectors5.1k starscustom license28 out of 100