RepositoryPythonUSUnited States
stmorgenstern

stmorgenstern/diff-soup

Multiphysics modeling, differentiable simulation, and physically-constrained machine learning in JAX using GPU-accelerated stiff solvers with sparse numerical methods

57stars
5forks
1issues
0views

diff-soup: Differentiable PDE Suite in JAX

JAX-native suite for stiff ODEs, DAEs, PDEs. Differentiable simulation, physically-constrained ML, GPU sparse solvers.

diff-soup: JAX package for modeling, simulation, inference of stiff dynamical systems. Built by stmorgenstern. Handles ODEs, DAEs, PDEs with Recipe API that states equations in math-like notation. Solves multiphysics modeling, differentiable simulation, physically-constrained machine learning.

Highlights

  • Recipe API: states equations in math-like notation on structured and unstructured domains
  • Finite discretizations: finite difference, finite volume, finite element methods
  • Sparse Jacobians: assembled by automatic differentiation with graph coloring
  • Stiff integrators: JNDF, JBDF, JIDA for ODEs, DAEs up to index one
  • Sparse direct solves: NVIDIA cuDSS on GPU, KLU or dense on CPU
  • Full differentiation: forward and reverse mode to second order
  • Batched solves: data and model parallelism across GPUs, cluster nodes
  • Parameter estimation: least squares, MLE, MAP estimation

Why it matters

diff-soup unifies modeling, simulation, inference in one package. Most tools handle only one stage. Differentiable simulation enables gradient-based parameter estimation and physically-constrained deep learning. Sparse solvers handle stiff systems efficiently on GPU. Fits multiphysics simulation, scientific ML, parameter estimation workflows.


#JAX #DifferentiableSimulation #PDE #OpenSource #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryC++
idaholab/moose

Multiphysics Object Oriented Simulation Environment: A robust, modern, extendable, finite element/finite volume framework that excels at creating complex multiphysics simulations.

2.4k
Nov 28, 2026
RepositoryPython
keras-team/keras

Deep Learning for humans

64.5k
Dec 1, 2026
RepositoryPython
adtzlr/felupe

Open finite element infrastructure for nonlinear computational mechanics.

192
Nov 26, 2026
RepositoryPython
AUTOMATIC1111/stable-diffusion-webui

Stable Diffusion web UI

165.4k
Mar 2, 2026
RepositoryPython
d2l-ai/d2l-zh

《动手学深度学习》:面向中文读者、能运行、可讨论。中英文版被70多个国家的500多所大学用于教学。

82.9k
Jul 30, 2024
RepositoryPython
rohitg00/ai-engineering-from-scratch

Learn AI Engineering! Learn it. Build it. Ship it for others.

81.4k
Nov 30, 2026
RepositoryFortran
ElmerCSC/elmerfem

Official git repository of Elmer FEM software

1.8k
Nov 30, 2026
RepositoryJulia
SciML/NeuralPDE.jl

Physics-Informed Neural Networks (PINN) Solvers of (Partial) Differential Equations for Scientific Machine Learning (SciML) accelerated simulation

1.2k
Nov 29, 2026
RepositoryJulia
SciML/DiffEqFlux.jl

Pre-built implicit layer architectures with O(1) backprop, GPUs, and stiff+non-stiff DE solvers, demonstrating scientific machine learning (SciML) and physics-informed machine learning methods

931
Oct 18, 2026