Git Stars Git Stars

#automatic-differentiation Repositories

Discover 50 active open source GitHub repositories tagged with #automatic-differentiation, accumulating 94,135 total stars (averaging 1,882 stars per project). Leading this topic is karpathy/micrograd with 19,036 stars.

50
Total Repositories
94,135
Total Stars
1,882
Avg Stars/Repo
1
karpathy/micrograd

A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API

karpathy
โญ 19,036 Jupyter Notebook ๐Ÿ‘ค karpathy User ๐Ÿ• Updated 2026-08-03 ๐Ÿ“… Created 2020-04-13
2
HIPS/autograd

Efficiently computes derivatives of NumPy code.

HIPS
โญ 7,557 Python ๐Ÿ‘ค HIPS Organization ๐Ÿ• Updated 2026-11-16 ๐Ÿ“… Created 2014-11-24
3
gorgonia/gorgonia

Gorgonia is a library that helps facilitate machine learning in Go.

gorgonia
โญ 5,899 Go ๐Ÿ‘ค gorgonia Organization ๐Ÿ• Updated 2024-08-12 ๐Ÿ“… Created 2016-09-14
4
mindspore-ai/mindspore

MindSpore is a new open source deep learning training/inference framework that could be used for mobile, edge and cloud scenarios.

mindspore-ai
โญ 4,729 C++ ๐Ÿ‘ค mindspore-ai Organization ๐Ÿ• Updated 2026-10-28 ๐Ÿ“… Created 2020-02-11
5
stack-of-tasks/pinocchio

A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives

stack-of-tasks
โญ 3,879 C++ ๐Ÿ‘ค stack-of-tasks Organization ๐Ÿ• Updated 2026-11-13 ๐Ÿ“… Created 2014-10-07
6
meta-pytorch/botorch

Bayesian optimization in PyTorch

meta-pytorch
โญ 3,654 Jupyter Notebook ๐Ÿ‘ค meta-pytorch Organization ๐Ÿ• Updated 2026-11-17 ๐Ÿ“… Created 2018-07-30
7
PennyLaneAI/pennylane

PennyLane is an open-source quantum software platform for quantum computing, quantum machine learning, and quantum chemistry. Create meaningful quantum algorithms, from inspiration to implementation.

PennyLaneAI
โญ 3,531 Python ๐Ÿ‘ค PennyLaneAI Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2018-04-17
8
minitorch/minitorch

The full minitorch student suite.

minitorch
โญ 2,267 Python ๐Ÿ‘ค minitorch Organization ๐Ÿ• Updated 2024-08-17 ๐Ÿ“… Created 2021-12-06
9
cvxpy/cvxpylayers

Differentiable convex optimization layers

cvxpy
โญ 2,155 Python ๐Ÿ‘ค cvxpy Organization ๐Ÿ• Updated 2026-11-16 ๐Ÿ“… Created 2019-10-27
10
autodiff/autodiff

automatic differentiation made easier for C++

autodiff
โญ 1,932 C++ ๐Ÿ‘ค autodiff Organization ๐Ÿ• Updated 2025-01-27 ๐Ÿ“… Created 2018-07-19
11
nlpodyssey/spago

Self-contained Machine Learning and Natural Language Processing library in Go

nlpodyssey
โญ 1,850 Go ๐Ÿ‘ค nlpodyssey Organization ๐Ÿ• Updated 2025-04-01 ๐Ÿ“… Created 2020-01-05
12
chungmin99/pyroki

A Modular Toolkit for Robot Kinematic Optimization

chungmin99
โญ 1,825 Python ๐Ÿ‘ค chungmin99 User ๐Ÿ• Updated 2026-04-01 ๐Ÿ“… Created 2025-05-06
13
EnzymeAD/Enzyme

High-performance automatic differentiation of LLVM and MLIR.

EnzymeAD
โญ 1,734 LLVM ๐Ÿ‘ค EnzymeAD Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2019-02-27
14
google-research/dex-lang

Research language for array processing in the Haskell/ML family

google-research
โญ 1,708 Haskell ๐Ÿ‘ค google-research Organization ๐Ÿ• Updated 2026-01-05 ๐Ÿ“… Created 2019-10-25
15
FluxML/Zygote.jl

21st century AD

FluxML
โญ 1,582 Julia ๐Ÿ‘ค FluxML Organization ๐Ÿ• Updated 2026-11-12 ๐Ÿ“… Created 2018-08-06
16
apoorvnandan/tensor.h

creating a tiny tensor library in raw C

apoorvnandan
โญ 1,457 C ๐Ÿ‘ค apoorvnandan User ๐Ÿ• Updated 2025-03-05 ๐Ÿ“… Created 2024-10-10
17
mratsim/Arraymancer

A fast, ergonomic and portable tensor library in Nim with a deep learning focus for CPU, GPU and embedded devices via OpenMP, Cuda and OpenCL backends

mratsim
โญ 1,418 Nim ๐Ÿ‘ค mratsim User ๐Ÿ• Updated 2026-11-01 ๐Ÿ“… Created 2017-04-13
18
peterdsharpe/AeroSandbox

Aircraft design optimization made fast through computational graph transformations (e.g., automatic differentiation). Composable analysis tools for aerodynamics, propulsion, structures, trajectory design, and much more.

peterdsharpe
โญ 1,400 Jupyter Notebook ๐Ÿ‘ค peterdsharpe User ๐Ÿ• Updated 2026-10-30 ๐Ÿ“… Created 2019-05-15
19
erwincoumans/tiny-differentiable-simulator

Tiny Differentiable Simulator is a header-only C++ and CUDA physics library for reinforcement learning and robotics with zero dependencies.

erwincoumans
โญ 1,382 C++ ๐Ÿ‘ค erwincoumans User ๐Ÿ• Updated 2026-11-15 ๐Ÿ“… Created 2020-05-14
20
owlbarn/owl

Owl - OCaml Scientific Computing @ https://ocaml.xyz

owlbarn
โญ 1,358 OCaml ๐Ÿ‘ค owlbarn Organization ๐Ÿ• Updated 2026-11-18 ๐Ÿ“… Created 2016-06-20
21
glouppe/info8010-deep-learning

Lectures for INFO8010 Deep Learning, ULiรจge

glouppe
โญ 1,294 Jupyter Notebook ๐Ÿ‘ค glouppe User ๐Ÿ• Updated 2026-07-13 ๐Ÿ“… Created 2018-03-14
22
eduardoleao052/js-pytorch

A JavaScript library like PyTorch, with GPU acceleration.

eduardoleao052
โญ 1,219 JavaScript ๐Ÿ‘ค eduardoleao052 User ๐Ÿ• Updated 2024-11-15 ๐Ÿ“… Created 2024-02-27
23
getkeops/keops

KErnel OPerationS, on CPUs and GPUs, with autodiff and without memory overflows

getkeops
โญ 1,197 Python ๐Ÿ‘ค getkeops Organization ๐Ÿ• Updated 2026-07-17 ๐Ÿ“… Created 2019-04-18
24
facebookresearch/shumai

Fast Differentiable Tensor Library in JavaScript and TypeScript with Bun + Flashlight

facebookresearch
โญ 1,164 TypeScript ๐Ÿ‘ค facebookresearch Organization ๐Ÿ• Updated 2024-07-23 ๐Ÿ“… Created 2022-08-17
25
JuliaDiff/ForwardDiff.jl

Forward Mode Automatic Differentiation for Julia

JuliaDiff
โญ 1,009 Julia ๐Ÿ‘ค JuliaDiff Organization ๐Ÿ• Updated 2026-11-16 ๐Ÿ“… Created 2013-04-13
โญ 957 Python ๐Ÿ‘ค google-deepmind Organization ๐Ÿ• Updated 2026-10-07 ๐Ÿ“… Created 2020-08-06
27
kthohr/optim

OptimLib: a lightweight C++ library of numerical optimization methods for nonlinear functions

kthohr
โญ 883 C++ ๐Ÿ‘ค kthohr User ๐Ÿ• Updated 2024-04-28 ๐Ÿ“… Created 2017-06-14
28
WaterLily-jl/WaterLily.jl

Fast and simple fluid simulator in Julia

WaterLily-jl
โญ 859 Julia ๐Ÿ‘ค WaterLily-jl Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2020-06-19
29
SciML/Optimization.jl

Mathematical Optimization in Julia. Local, global, gradient-based and derivative-free. Linear, Quadratic, Convex, Mixed-Integer, and Nonlinear Optimization in one simple, fast, and differentiable interface.

SciML
โญ 852 Julia ๐Ÿ‘ค SciML Organization ๐Ÿ• Updated 2026-11-18 ๐Ÿ“… Created 2020-05-06
30
stan-dev/math

The Stan Math Library is a C++ template library for automatic differentiation of any order using forward, reverse, and mixed modes. It includes a range of built-in functions for probabilistic modeling, linear algebra, and equation solving.

stan-dev
โญ 848 C++ ๐Ÿ‘ค stan-dev Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2015-07-01
31
ankane/torch.rb

Deep learning for Ruby, powered by LibTorch

ankane
โญ 843 Ruby ๐Ÿ‘ค ankane User ๐Ÿ• Updated 2026-11-14 ๐Ÿ“… Created 2019-11-26
32
oreilly-japan/deep-learning-from-scratch-3

"Deep Learning from Scratch โธ" (O'Reilly Japan, 2020)

oreilly-japan
โญ 836 Python ๐Ÿ‘ค oreilly-japan Organization ๐Ÿ• Updated 2024-05-27 ๐Ÿ“… Created 2019-10-25
โญ 817 Python ๐Ÿ‘ค google Organization ๐Ÿ• Updated 2026-10-20 ๐Ÿ“… Created 2021-11-05
34
mitsuba-renderer/drjit

Dr.Jit โ€” A Just-In-Time Compiler for Differentiable Rendering

mitsuba-renderer
โญ 815 C++ ๐Ÿ‘ค mitsuba-renderer Organization ๐Ÿ• Updated 2026-10-22 ๐Ÿ“… Created 2020-05-06
35
4thd1m/iruka

Data structures and algorithms for web engineers

4thd1m
โญ 780 TypeScript ๐Ÿ‘ค 4thd1m User ๐Ÿ• Updated 2026-04-08 ๐Ÿ“… Created 2020-05-28
36
ott-jax/ott

Optimal transport tools implemented with the JAX framework, to solve large scale matching problems of any flavor.

ott-jax
โญ 773 Python ๐Ÿ‘ค ott-jax Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2021-12-24
37
ThoughtWorksInc/DeepLearning.scala

A simple library for creating complex neural networks

ThoughtWorksInc
โญ 772 Scala ๐Ÿ‘ค ThoughtWorksInc Organization ๐Ÿ• Updated 2024-07-30 ๐Ÿ“… Created 2016-11-21
38
PennyLaneAI/demos

Introductions to key concepts in quantum programming, as well as tutorials and implementations from cutting-edge quantum computing research.

PennyLaneAI
โญ 679 Python ๐Ÿ‘ค PennyLaneAI Organization ๐Ÿ• Updated 2026-11-19 ๐Ÿ“… Created 2019-10-09
39
tumaer/JAXFLUIDS

Differentiable Fluid Dynamics Package

tumaer
โญ 674 Python ๐Ÿ‘ค tumaer Organization ๐Ÿ• Updated 2026-08-28 ๐Ÿ“… Created 2022-03-21
โญ 672 Julia ๐Ÿ‘ค mcabbott User ๐Ÿ• Updated 2026-11-11 ๐Ÿ“… Created 2019-06-23
41
praeclarum/webgpu-torch

Tensor computation with WebGPU acceleration

praeclarum
โญ 640 TypeScript ๐Ÿ‘ค praeclarum User ๐Ÿ• Updated 2024-07-25 ๐Ÿ“… Created 2023-04-30
42
metaopt/torchopt

TorchOpt is an efficient library for differentiable optimization built upon PyTorch.

metaopt
โญ 639 Python ๐Ÿ‘ค metaopt Organization ๐Ÿ• Updated 2026-11-02 ๐Ÿ“… Created 2022-04-08
43
mitmath/matrixcalc

MIT IAP short course: Matrix Calculus for Machine Learning and Beyond

mitmath
โญ 628 Jupyter Notebook ๐Ÿ‘ค mitmath Organization ๐Ÿ• Updated 2026-01-31 ๐Ÿ“… Created 2022-01-04
44
f-dangel/backpack

BackPACK - a backpropagation package built on top of PyTorch which efficiently computes quantities other than the gradient.

f-dangel
โญ 620 Python ๐Ÿ‘ค f-dangel User ๐Ÿ• Updated 2026-07-17 ๐Ÿ“… Created 2019-07-11
45
EnzymeAD/Enzyme.jl

Julia bindings for the Enzyme automatic differentiator

EnzymeAD
โญ 594 Julia ๐Ÿ‘ค EnzymeAD Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2019-09-06
46
coin-or/CppAD

A C++ Algorithmic Differentiation Package: Home Page

coin-or
โญ 594 C++ ๐Ÿ‘ค coin-or Organization ๐Ÿ• Updated 2026-11-13 ๐Ÿ“… Created 2015-01-13
47
MilesCranmer/lagrangian_nns

Lagrangian Neural Networks

MilesCranmer
โญ 573 Python ๐Ÿ‘ค MilesCranmer User ๐Ÿ• Updated 2025-09-24 ๐Ÿ“… Created 2020-01-05
48
breandan/kotlingrad

๐Ÿงฉ Shape-Safe Symbolic Differentiation with Algebraic Data Types

breandan
โญ 544 Kotlin ๐Ÿ‘ค breandan User ๐Ÿ• Updated 2024-12-17 ๐Ÿ“… Created 2018-10-19
49
chakravala/Grassmann.jl

โŸจGrassmann-Clifford-HodgeโŸฉ differential geometric algebra

chakravala
โญ 520 Julia ๐Ÿ‘ค chakravala User ๐Ÿ• Updated 2026-11-14 ๐Ÿ“… Created 2017-08-26
50
raskr/rust-autograd

Tensors and differentiable operations (like TensorFlow) in Rust

raskr
โญ 503 Rust ๐Ÿ‘ค raskr User ๐Ÿ• Updated 2026-06-02 ๐Ÿ“… Created 2017-09-05

Frequently Asked Questions

1

What is the most popular #automatic-differentiation repository on GitHub?

The top ranked open source #automatic-differentiation project on GitHub is karpathy/micrograd with 19,036 stars. A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API

2

Which programming languages are most used in #automatic-differentiation repositories?

Among the top ranked #automatic-differentiation projects on GitHub, the most common programming languages are Python, C++, Julia, Jupyter Notebook.

3

How is the #automatic-differentiation repository ranking calculated?

We track 50 active open source repositories tagged with #automatic-differentiation (500+ stars), totaling 94,135 stars with an average of 1,882 stars per repository. Rankings update daily from the GitHub API.