GitHub topics: automatic-differentiation
breandan/kotlingrad
🧩 Shape-Safe Symbolic Differentiation with Algebraic Data Types
Language: Kotlin - Size: 288 MB - Last synced at: about 1 month ago - Pushed at: 6 months ago - Stars: 537 - Forks: 22

grimme-lab/dxtb
Efficient And Fully Differentiable Extended Tight-Binding
Language: Python - Size: 3.31 MB - Last synced at: 28 days ago - Pushed at: about 1 month ago - Stars: 90 - Forks: 16

auto-differentiation/QuantLib-Risks-Py
Fast Risks with QuantLib in Python
Language: Python - Size: 4.13 MB - Last synced at: 21 days ago - Pushed at: about 1 year ago - Stars: 15 - Forks: 3

pranftw/neograd
A deep learning framework created from scratch with Python and NumPy
Language: Python - Size: 1.19 MB - Last synced at: about 1 month ago - Pushed at: over 2 years ago - Stars: 235 - Forks: 9

ameritusweb/ParallelReverseAutoDiff
Parallel Reverse Mode Automatic Differentiation in C# for Custom Neural Network Development
Language: C# - Size: 115 MB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 8 - Forks: 1

JuliaDiff/TaylorSeries.jl
Taylor polynomial expansions in one and several independent variables.
Language: Julia - Size: 5.09 MB - Last synced at: 6 days ago - Pushed at: about 1 month ago - Stars: 357 - Forks: 53

auto-differentiation/xad-py
High-Performance Automatic Differentiation for Python
Language: Python - Size: 157 KB - Last synced at: 21 days ago - Pushed at: 10 months ago - Stars: 13 - Forks: 1

google/tangent 📦
Source-to-Source Debuggable Derivatives in Pure Python
Language: Python - Size: 24.6 MB - Last synced at: about 1 month ago - Pushed at: over 2 years ago - Stars: 2,316 - Forks: 435

synnada-ai/mithril
Mithril: A Modular Machine Learning Library for Model Composability
Language: Python - Size: 4.35 MB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 102 - Forks: 19

tencent-quantum-lab/tensorcircuit
Tensor network based quantum software framework for the NISQ era
Language: Python - Size: 13.4 MB - Last synced at: 29 days ago - Pushed at: 2 months ago - Stars: 311 - Forks: 82

kthohr/optim
OptimLib: a lightweight C++ library of numerical optimization methods for nonlinear functions
Language: C++ - Size: 11.7 MB - Last synced at: 30 days ago - Pushed at: about 1 year ago - Stars: 853 - Forks: 140

wissem01chiha/dynamapp
differentiable package for state representation and identification of multibody dynamics
Language: Python - Size: 265 MB - Last synced at: 14 days ago - Pushed at: 14 days ago - Stars: 18 - Forks: 1

kailaix/ADCME.jl
Automatic Differentiation Library for Computational and Mathematical Engineering
Language: Julia - Size: 144 MB - Last synced at: 24 days ago - Pushed at: over 1 year ago - Stars: 302 - Forks: 59

tumaer/JAXFLUIDS
Differentiable Fluid Dynamics Package
Language: Python - Size: 12.5 MB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 402 - Forks: 72

tad-mctc/tad-mctc
PyTorch Automatic Differentiation Utility for "tad" Projects.
Language: Python - Size: 548 KB - Last synced at: 12 days ago - Pushed at: 20 days ago - Stars: 2 - Forks: 1

pmocz/advectiondiffusion-jax
Solve the advection diffusion equations looped into an optimization problem with JAX/autodiff
Language: Python - Size: 371 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 11 - Forks: 3

KeitaNakamura/Tensorial.jl
Statically sized tensors and related operations for Julia
Language: Julia - Size: 4.26 MB - Last synced at: about 1 month ago - Pushed at: 3 months ago - Stars: 58 - Forks: 3

SINTEF-AppliedCompSci/MRST
Official GitHub repository for MRST - the MATLAB Reservoir Simulation Toolbox
Language: MATLAB - Size: 330 MB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 79 - Forks: 28

ergodicio/tsadar
The Thomson scattering diagnostic offers a method by which to infer plasma parameters such as n_e, T_e. This approach uses the form factor equations to estimate those plasma parameters by fitting to observed Thomson scattering spectra.
Language: Python - Size: 116 MB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 3 - Forks: 4

alexfikl/pyshocks
Automatic Differentiation + Adjoint + Shocks Experiments
Language: Python - Size: 929 KB - Last synced at: 2 days ago - Pushed at: about 2 months ago - Stars: 2 - Forks: 2

JuliaDecisionFocusedLearning/InferOpt.jl
Combinatorial optimization layers for machine learning pipelines
Language: Julia - Size: 1.38 MB - Last synced at: 25 days ago - Pushed at: 2 months ago - Stars: 124 - Forks: 4

fjosw/pyerrors
Error propagation and statistical analysis for Monte Carlo simulations in lattice QCD and statistical mechanics using autograd.
Language: Python - Size: 22.8 MB - Last synced at: 28 days ago - Pushed at: about 2 months ago - Stars: 47 - Forks: 16

machine-learning-from-scratch/gardenpy
An automatic differentiation library with implemented machine learning algorithms.
Language: Python - Size: 41.9 MB - Last synced at: about 2 months ago - Pushed at: about 2 months ago - Stars: 3 - Forks: 0

GaoyuanWu/JaxSSO
A differentiable finite element analysis solver for structural optimization based on JAX
Language: Jupyter Notebook - Size: 89.3 MB - Last synced at: about 1 month ago - Pushed at: 9 months ago - Stars: 29 - Forks: 0

PerezHz/TaylorIntegration.jl
ODE integration using Taylor's method, and more, in Julia
Language: Julia - Size: 450 MB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 132 - Forks: 24

brianberns/AutoDiff
Language: F# - Size: 30.3 KB - Last synced at: about 2 months ago - Pushed at: about 2 months ago - Stars: 2 - Forks: 0

joaoleal/CppADCodeGen
Source Code Generation for Automatic Differentiation using Operator Overloading
Language: C++ - Size: 14.8 MB - Last synced at: about 2 months ago - Pushed at: about 2 months ago - Stars: 180 - Forks: 39

sail-sg/autofd
Automatic Functional Differentiation in JAX
Language: Python - Size: 286 KB - Last synced at: 17 days ago - Pushed at: 3 months ago - Stars: 72 - Forks: 1

JoshuaLampert/SimpleAutoDiff.jl
Simple forward-mode automatic differentiaton (AD) for learning and teaching
Language: Julia - Size: 40 KB - Last synced at: about 2 months ago - Pushed at: about 2 months ago - Stars: 0 - Forks: 0

georgkordowich/diffpssi
A Python based framework for differentiable power system simulation and dynamic optimization
Language: Python - Size: 4.91 MB - Last synced at: about 1 month ago - Pushed at: 2 months ago - Stars: 2 - Forks: 0

patr-schm/TinyAD
Automatic Differentiation in Geometry Processing Made Simple
Language: C++ - Size: 1.03 MB - Last synced at: about 2 months ago - Pushed at: about 2 months ago - Stars: 390 - Forks: 18

tad-mctc/tad-multicharge
PyTorch Autodiff Multicharge (Classical Charge Models).
Language: Python - Size: 193 KB - Last synced at: 8 days ago - Pushed at: 20 days ago - Stars: 3 - Forks: 1

alonfnt/bayex
Minimal Implementation of Bayesian Optimization in JAX
Language: Python - Size: 370 KB - Last synced at: 28 days ago - Pushed at: about 2 months ago - Stars: 95 - Forks: 3

marius311/CMBLensing.jl
The automatically differentiable and GPU-compatible toolkit for CMB analysis.
Language: Julia - Size: 308 MB - Last synced at: 17 days ago - Pushed at: 8 months ago - Stars: 50 - Forks: 11

eliben/radgrad
Tracing-based reverse mode automatic differentiation (like autograd!)
Language: Python - Size: 179 KB - Last synced at: 6 days ago - Pushed at: 5 months ago - Stars: 19 - Forks: 1

mstksg/backprop
Heterogeneous automatic differentiation ("backpropagation") in Haskell
Language: Haskell - Size: 11.1 MB - Last synced at: 19 days ago - Pushed at: 12 months ago - Stars: 188 - Forks: 22

Ferrite-FEM/Tensors.jl
Efficient computations with symmetric and non-symmetric tensors with support for automatic differentiation.
Language: Julia - Size: 1.83 MB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 180 - Forks: 38

raskr/rust-autograd
Tensors and differentiable operations (like TensorFlow) in Rust
Language: Rust - Size: 1000 KB - Last synced at: about 2 months ago - Pushed at: over 2 years ago - Stars: 494 - Forks: 36

JuliaDiff/TaylorDiff.jl
Taylor-mode automatic differentiation for higher-order derivatives
Language: Julia - Size: 1.02 MB - Last synced at: 28 days ago - Pushed at: 3 months ago - Stars: 79 - Forks: 11

roflmaostc/RadonKA.jl
A simple yet sufficiently fast (attenuated) Radon and backproject implementation using KernelAbstractions.jl. Runs on CPU, CUDA, ...
Language: Julia - Size: 10.8 MB - Last synced at: 3 days ago - Pushed at: about 2 months ago - Stars: 17 - Forks: 1

noblec04/MatlabGP
Flexible Gaussian Process model with user friendly kernel and mean function construction inspired by STHENO.
Language: MATLAB - Size: 13.2 MB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 5 - Forks: 0

alisiahkoohi/groundwater
Groundwater flow equation: Finite-difference forward, adjoint, and gradient operators with PyTorch wrapper
Language: Python - Size: 41 KB - Last synced at: about 17 hours ago - Pushed at: 2 months ago - Stars: 1 - Forks: 0

JuliaDiff/ChainRulesTestUtils.jl
Utilities for testing custom AD primitives.
Language: Julia - Size: 1.39 MB - Last synced at: 23 days ago - Pushed at: 2 months ago - Stars: 50 - Forks: 17

dfdx/Yota.jl
Reverse-mode automatic differentiation in Julia
Language: Julia - Size: 866 KB - Last synced at: 13 days ago - Pushed at: almost 2 years ago - Stars: 160 - Forks: 12

JuliaNonconvex/Nonconvex.jl
Toolbox for gradient-based and derivative-free non-convex constrained optimization with continuous and/or discrete variables.
Language: Julia - Size: 2.31 MB - Last synced at: 17 days ago - Pushed at: over 1 year ago - Stars: 116 - Forks: 10

rdguerrerom/AutoDiff
A comprehensive C++ framework for automatic differentiation supporting both forward and reverse modes with exceptional performance. Designed with solid software engineering principles, AutoDiff provides exact derivatives of arbitrary functions with machine precision through dual numbers and computational graphs.
Language: C++ - Size: 223 KB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 0 - Forks: 0

alexshtf/autodiff
A .NET library that provides fast, accurate and automatic differentiation (computes derivative / gradient) of mathematical functions.
Language: C# - Size: 1.12 MB - Last synced at: 1 day ago - Pushed at: about 2 years ago - Stars: 96 - Forks: 12

kirkegaardlab/recloc
Official code for the paper Local Clustering and Global Spreading of Receptors for Optimal Spatial Gradient Sensing (PRL 2025). Includes simulations and visualizations for optimizing receptor placement on cell surfaces.
Language: Python - Size: 28.3 KB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 2 - Forks: 0

yibocat/MohuPy
q-Rung orthopair fuzzy mathematical operation library and q-Rung orthopair fuzzy sets mathematical operation library.
Language: Python - Size: 14.9 MB - Last synced at: 8 days ago - Pushed at: about 1 year ago - Stars: 13 - Forks: 1

JuliaDecisionFocusedLearning/DifferentiableFrankWolfe.jl
Differentiable wrapper for FrankWolfe.jl convex optimization routines
Language: Julia - Size: 566 KB - Last synced at: 11 days ago - Pushed at: 11 days ago - Stars: 7 - Forks: 0

dacelib/dace
Differential Algebra Computational Toolbox
Language: C - Size: 4.28 MB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 38 - Forks: 16

gdalle/AutodiffTutorial
A tutorial on Automatic Differentiation
Language: Julia - Size: 5.86 MB - Last synced at: about 2 months ago - Pushed at: 2 months ago - Stars: 4 - Forks: 0

palle-k/DL4S
Accelerated tensor operations and dynamic neural networks based on reverse mode automatic differentiation for every device that can run Swift - from watchOS to Linux
Language: Swift - Size: 19.5 MB - Last synced at: 7 days ago - Pushed at: over 1 year ago - Stars: 108 - Forks: 13

AkiRusProd/numpy-nn-model
Сustom torch style machine learning framework with automatic differentiation implemented on numpy, allows build GANs, VAEs, etc.
Language: Python - Size: 335 MB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 72 - Forks: 5

Edward-Ji/minute-grad
A CPU implementation of an automatic differentiation framework for deep learning.
Language: Python - Size: 74 MB - Last synced at: 4 days ago - Pushed at: 2 months ago - Stars: 0 - Forks: 0

ayhem18/TinyAD
A simple Python library to better understand automatic Differentiation
Language: Python - Size: 122 KB - Last synced at: 18 days ago - Pushed at: 2 months ago - Stars: 0 - Forks: 0

AlabamaASRL/asset_asrl
Language: C++ - Size: 99.2 MB - Last synced at: 7 days ago - Pushed at: 9 months ago - Stars: 36 - Forks: 8

tad-mctc/tad-dftd3 Fork of dftd3/tad-dftd3
PyTorch Autodiff DFT-D3 Implementation.
Language: Python - Size: 1.34 MB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 0 - Forks: 0

dftd3/tad-dftd3
PyTorch Autodiff DFT-D3 Implementation.
Language: Python - Size: 1.34 MB - Last synced at: 27 days ago - Pushed at: 27 days ago - Stars: 18 - Forks: 6

djmaxus/autodj
Automatic Differentiation Library
Language: Rust - Size: 238 KB - Last synced at: about 2 months ago - Pushed at: 3 months ago - Stars: 10 - Forks: 0

refraction-ray/admf
Automatic Differentiation Mean Field Approach
Language: Python - Size: 24.4 KB - Last synced at: 2 months ago - Pushed at: about 5 years ago - Stars: 7 - Forks: 2

bertoldi-collab/DifFlexMM
Differentiable Flexible Mechanical Metamaterials
Language: Jupyter Notebook - Size: 38.2 MB - Last synced at: 2 months ago - Pushed at: 7 months ago - Stars: 19 - Forks: 5

nbouziani/seismic-inversion
Seismic inversion using a neural network regulariser implemented as an ExternalOperator in Firedrake
Language: Python - Size: 47.9 KB - Last synced at: 2 months ago - Pushed at: over 2 years ago - Stars: 12 - Forks: 4

can-lehmann/exprgrad
An experimental deep learning framework for Nim based on a differentiable array programming language
Language: Nim - Size: 303 KB - Last synced at: 2 months ago - Pushed at: over 2 years ago - Stars: 121 - Forks: 1

tad-mctc/tad-dftd4 Fork of dftd4/tad-dftd4
PyTorch Autodiff DFT-D4 Implementation.
Language: Python - Size: 784 KB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 0 - Forks: 0

dftd4/tad-dftd4
PyTorch Autodiff DFT-D4 Implementation.
Language: Python - Size: 795 KB - Last synced at: 19 days ago - Pushed at: 20 days ago - Stars: 19 - Forks: 4

exanauts/ColPack.jl
A Julia interface to the C++ library ColPack for graph and sparse matrix coloring.
Language: Julia - Size: 306 KB - Last synced at: 28 days ago - Pushed at: 3 months ago - Stars: 6 - Forks: 0

Taehooie/CGChoiceModel
Computational graph-based discrete choice models
Language: Python - Size: 2.22 MB - Last synced at: 2 months ago - Pushed at: almost 3 years ago - Stars: 12 - Forks: 9

Eric-Bradford/Nominal_NMPC
A basic nonlinear model predictive control implementation using Casadi with Unscented Kalman filter state estimation
Language: Python - Size: 12.7 KB - Last synced at: 3 months ago - Pushed at: about 4 years ago - Stars: 50 - Forks: 6

tensor-fusion/microhaskell
Small autodiff lib and a simple working feedforward neural net in Haskell on top of it, from scratch, zero-deps.
Language: Haskell - Size: 596 KB - Last synced at: 2 months ago - Pushed at: about 1 year ago - Stars: 16 - Forks: 0

mcabbott/SliceMap.jl
Same-same but different
Language: Julia - Size: 73.2 KB - Last synced at: 23 days ago - Pushed at: 3 months ago - Stars: 31 - Forks: 3

adtzlr/hyperelastic
Constitutive hyperelastic material formulations for FElupe.
Language: Python - Size: 568 KB - Last synced at: 3 days ago - Pushed at: 3 months ago - Stars: 10 - Forks: 1

surban/TensorAlgDiff
Automatic Differentiation for Tensor Algebras
Language: F# - Size: 593 KB - Last synced at: 16 days ago - Pushed at: about 7 years ago - Stars: 28 - Forks: 3

roastduck/FreeTensor
A language and compiler for irregular tensor programs.
Language: C++ - Size: 3.02 GB - Last synced at: 2 months ago - Pushed at: 7 months ago - Stars: 138 - Forks: 10

Nicholaswogan/Differentia
Forward mode automatic differentiation for Fortran
Language: Fortran - Size: 80.1 KB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 18 - Forks: 2

Kartz4code/CoolDiff
CoolDiff is a C++ 17 library dedicated to compute both automatic as well as symbolic differentiation of mathematical expressions.
Language: C++ - Size: 657 KB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 2 - Forks: 0

avigliotti/AD4SM.jl
Automatic Differentiation for Solid Mechanics
Language: Julia - Size: 49.6 MB - Last synced at: 19 days ago - Pushed at: 7 months ago - Stars: 55 - Forks: 8

refraction-ray/admc
Infinite order automatic differentiation for Monte Carlo with unnormalized probability distribution
Size: 115 KB - Last synced at: 13 days ago - Pushed at: about 2 years ago - Stars: 23 - Forks: 4

SuperKogito/Zorch
Neural networks in Zig
Language: Zig - Size: 3.07 MB - Last synced at: 8 days ago - Pushed at: 3 months ago - Stars: 4 - Forks: 0

LukasMosser/DeepFlow
Pytorch implementation of "DeepFlow: History Matching in the Space of Deep Generative Models"
Language: MATLAB - Size: 184 MB - Last synced at: 2 months ago - Pushed at: almost 6 years ago - Stars: 34 - Forks: 13

sueszli/autodiff
minimal forward-mode automatic differentiation using python's abstract syntax tree
Language: Python - Size: 83 KB - Last synced at: 18 days ago - Pushed at: 3 months ago - Stars: 0 - Forks: 0

dftlibs/xcfun
XCFun: A library of exchange-correlation functionals with arbitrary-order derivatives
Language: C++ - Size: 1.28 MB - Last synced at: 2 months ago - Pushed at: over 2 years ago - Stars: 60 - Forks: 32

JonathanRaiman/theano_lstm
:microscope: Nano size Theano LSTM module
Language: Python - Size: 91.8 KB - Last synced at: 28 days ago - Pushed at: over 8 years ago - Stars: 303 - Forks: 112

mclements/mercury-ad
Mercury library for automatic differentiation
Language: Mercury - Size: 61.5 KB - Last synced at: 3 months ago - Pushed at: over 2 years ago - Stars: 7 - Forks: 0

erostedt/autocrab
Forward mode automatic differentiation in Rust
Language: Rust - Size: 17.6 KB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 0 - Forks: 0

adtzlr/tensortrax
Differentiable Tensors based on NumPy Arrays
Language: Python - Size: 465 KB - Last synced at: 3 days ago - Pushed at: 3 months ago - Stars: 8 - Forks: 0

dmbates/NLreg.jl
Nonlinear regression in Julia
Language: Julia - Size: 772 KB - Last synced at: about 2 months ago - Pushed at: about 5 years ago - Stars: 18 - Forks: 7

jfriedlein/AceGen-GettingStarted
Some basic examples to get started with Mathematica+AceGen to build functions, material models, element formulations for Matlab/Fortran/C++
Language: Mathematica - Size: 3.79 MB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 2 - Forks: 0

i-a-morozov/ndmap
Higher order partial derivatives computation with respect to one or several tensor-like variables, applications to nonlinear dynamics
Language: Python - Size: 24.1 MB - Last synced at: 22 days ago - Pushed at: 8 months ago - Stars: 0 - Forks: 0

neluca/regrad
A small, elegant and visulized implementation of reverse mode autograd that is distinct from Karpathy's micrograd. Zero dependency.
Language: Python - Size: 568 KB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 2 - Forks: 1

andreaslam/TensorOps
TensorOps - A Work-In-Progress Autograd Library
Language: Python - Size: 11.1 MB - Last synced at: 4 months ago - Pushed at: 4 months ago - Stars: 1 - Forks: 0

k-karna/learning_jax
Key concepts from documentation with toy illustration
Language: Jupyter Notebook - Size: 24.4 KB - Last synced at: 3 months ago - Pushed at: 4 months ago - Stars: 0 - Forks: 0

jkoendev/optimal-control-literature-software
List of literature and software for optimal control and numerical optimization.
Size: 51.8 KB - Last synced at: about 2 months ago - Pushed at: almost 6 years ago - Stars: 74 - Forks: 13

ExcessPhase/ctaylor
Dual number classes for automatic differentiation including for higher order derivatives
Language: C++ - Size: 1.14 MB - Last synced at: 2 months ago - Pushed at: 4 months ago - Stars: 1 - Forks: 0

RafaelArutjunjan/DerivableFunctions.jl
Backend-agnostic differentiation with symbolic pass-through in Julia.
Language: Julia - Size: 176 KB - Last synced at: 8 days ago - Pushed at: about 1 month ago - Stars: 3 - Forks: 0

jasmcaus/hazel
A Tensor Library written in C++.
Language: C++ - Size: 28.3 KB - Last synced at: about 2 months ago - Pushed at: over 3 years ago - Stars: 5 - Forks: 3

msakai/nonlinear-optimization-ad
Several Haskell packages for numerical optimizations.
Language: Haskell - Size: 286 KB - Last synced at: 13 days ago - Pushed at: 4 months ago - Stars: 8 - Forks: 1

psipred/cgdms
Differentiable molecular simulation of proteins with a coarse-grained potential
Language: Python - Size: 47.9 MB - Last synced at: 16 days ago - Pushed at: 3 months ago - Stars: 55 - Forks: 4

austinagii/Ember
Ember is a lightweight C++ library, providing a streamlined implementation of backpropagation with reverse mode automatic differentiation
Language: C++ - Size: 135 KB - Last synced at: 4 months ago - Pushed at: 4 months ago - Stars: 1 - Forks: 0

JuliaTeachingCTU/Scientific-Programming-in-Julia
Repository for B0M36SPJ
Language: Jupyter Notebook - Size: 66.8 MB - Last synced at: 27 days ago - Pushed at: 6 months ago - Stars: 85 - Forks: 15
