#8686th of 105 in ML frameworks and libraries

autograd

Automatic differentiation for native Python and NumPy code

Stars
7.5k
License
MIT
Last commit
Oct 2026
Last release
Jun 2026
Language
Python
Stars, last 29 weeks+97
1 Apr 2026: 7,449 stars8 Apr 2026: 7,452 stars15 Apr 2026: 7,457 stars22 Apr 2026: 7,462 stars29 Apr 2026: 7,465 stars6 May 2026: 7,467 stars13 May 2026: 7,470 stars20 May 2026: 7,474 stars27 May 2026: 7,476 stars3 Jun 2026: 7,478 stars10 Jun 2026: 7,481 stars17 Jun 2026: 7,487 stars24 Jun 2026: 7,491 stars1 Jul 2026: 7,495 stars8 Jul 2026: 7,499 stars15 Jul 2026: 7,501 stars22 Jul 2026: 7,504 stars29 Jul 2026: 7,508 stars5 Aug 2026: 7,510 stars12 Aug 2026: 7,512 stars19 Aug 2026: 7,514 stars26 Aug 2026: 7,519 stars2 Sept 2026: 7,521 stars9 Sept 2026: 7,524 stars16 Sept 2026: 7,527 stars23 Sept 2026: 7,528 stars30 Sept 2026: 7,536 stars7 Oct 2026: 7,538 stars14 Oct 2026: 7,543 stars21 Oct 2026: 7,546 stars

7,449 on 1 Apr 20267,546 on 21 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Autograd differentiates Python and NumPy functions, including code with loops, ifs, recursion and closures. It supports reverse-mode and forward-mode differentiation, which can be composed to any derivative order. It is aimed at gradient-based optimization, with examples for neural nets, LSTMs, Gaussian processes and a fluid simulation.

Who it is for: Python and NumPy users needing gradients for optimization or research code

Strengths

  • Differentiates plain Python and NumPy code, including loops, recursion and closures
  • Reverse- and forward-mode can be composed for higher-order derivatives
  • Installs with pip; SciPy support is an optional extra
  • Examples cover CNN, RNN, LSTM, Bayesian neural net and Gaussian process

Weaknesses

  • README does not mention GPU support; it is built around NumPy
  • Reverse-mode is efficient only for scalar-valued functions of array arguments
  • Requires importing the thinly-wrapped autograd.numpy instead of plain numpy
  • No built-in neural network layers or optimizers described in the README

What it needs

  • Needs numpy, scipy (optional)

Also in ML frameworks and libraries

See all 105
Also in ML frameworks and libraries
RankProjectScore
1transformersPython library defining open models for text, vision, audio and multimodal tasks168k starsApache-2.094 out of 100
2pytorchPython tensor library with GPU support and tape-based autograd for deep learning105k starscustom license94 out of 100
3ultralyticsPython library and CLI for training and running YOLO vision models62.7k starsAGPL-3.093 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and reference training scripts37.2k starsApache-2.092 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.3k starsMIT91 out of 100