#9 · Primary category: Scientific Computing & Data Notebooks

neurodiffeq

artificial-intelligence boundary-value-problem deep-learning differential-equations initial-value-problem mathematical-modelling neural-networks ode odes pde-solver physics-informed-neural-networks pinn pypi pytorch scientific-computing time-series

A library for solving differential equations using neural networks based on PyTorch, used by multiple research groups around the world, including at Harvard IACS.

Project last updated:04/22/26

GitHub Stars

789

Forks

106

Contributors

22

License

MIT

Why we included this project

Solving a differential equation numerically usually means laying down a grid and stepping through it, which gets awkward when you want the solution to plug straight into a PyTorch training loop. NeuroDiffEq takes a different route: you give it the equation plus its initial or boundary conditions, and it trains a neural network to approximate the solution directly. The API stays small, you define the system as a Python function, choose a network and condition type, and a solver hands back a callable solution object you can evaluate at any point. It covers ODE systems like Lotka-Volterra and 2D PDEs such as Laplace's equation, and it can also handle solution bundles and reverse problems, so it is not limited to textbook cases. The project is already used by research groups including Harvard's IACS, and teams working in PyTorch will find it a natural fit when they want a smooth, continuous approximation rather than a gridded numerical result.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category