United Statesstmorgenstern/diff-soup
Multiphysics modeling, differentiable simulation, and physically-constrained machine learning in JAX using GPU-accelerated stiff solvers with sparse numerical methods
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.
Multiphysics Object Oriented Simulation Environment: A robust, modern, extendable, finite element/finite volume framework that excels at creating complex multiphysics simulations.
Open finite element infrastructure for nonlinear computational mechanics.
Learn AI Engineering! Learn it. Build it. Ship it for others.
Physics-Informed Neural Networks (PINN) Solvers of (Partial) Differential Equations for Scientific Machine Learning (SciML) accelerated simulation
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