#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.
Watch puts arraymancer on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.arraymancer is on your watch list. Its new releases and problems show there.
- Stars
- 1.4k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Jul 2021
- Language
- Nim
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| Rank | Project | Score |
|---|---|---|
| #352 | deepoDockerfile generator and prebuilt images for deep learning environments | 29 out of 100 |
| #353 | texarTensorFlow toolkit for text generation and NLP model building | 29 out of 100 |
| #355 | mishReference code and benchmarks for the Mish activation function | 29 out of 100 |
| #356 | pinnsReference code for physics-informed neural networks solving and discovering PDEs | 28 out of 100 |
| #357 | synonymsChinese synonym lookup and sentence similarity library built on word2vec vectors | 28 out of 100 |