Maurograd is a tensor-based automatic differentiation framework for Ruby, written to be read end to end. Tensors and the autograd engine are plain Ruby; the math runs on a pluggable backend. The default CPU backend uses Numo::NArray plus a C extension for convolution, pooling, ReLU and BatchNorm (BLAS from Apple's Accelerate on macOS, OpenBLAS elsewhere). Includes SGD with momentum, Adam, Dropout and BatchNorm. An Apple Silicon GPU backend is available separately, in the maurograd-mlx gem.

Required Ruby Version

>= 3.3

Authors

Mauro Tortonesi

Versions

  1. 0.2.0
    1. source

      1. 0.2.0 source November 28, 2026 (69.5 KB)
  2. 0.1.0
    1. source

      1. 0.1.0 source November 27, 2026 (53 KB)

Pushed by

SHA 256 checksum