← all repositories
NVIDIA/physicsnemo

NVIDIA's physics cheat code for PyTorch

A deep-learning framework that bakes conservation laws and PDEs into neural networks instead of treating them as afterthoughts.

3.1k stars Python ML FrameworksDomain Apps
physicsnemo
Not currently ranked — collecting fresh signals.
star history

What it does PhysicsNeMo is NVIDIA’s open-source toolkit for training physics-informed ML models on GPUs. It layers atop PyTorch and supplies pre-built architectures—Fourier Neural Operators, Graph Neural Networks, diffusion models, transformers—along with data pipelines tuned for meshes and point clouds. The goal is replacing or accelerating traditional simulations (CFD, structural mechanics, electromagnetics) with models that actually respect the underlying physics.

The interesting bit The physicsnemo.sym module lets you write PDEs in SymPy and automatically computes physics-informed loss terms with automatic spatial derivatives. That means you can penalize a neural network for violating Navier-Stokes the same way you’d penalize it for bad classification accuracy. The framework also scales from single-GTorch experiments to multi-node clusters through a thin wrapper over torch.distributed.

Key highlights

  • Model zoo includes FNO, DeepONet, MeshGraphNet, GraphCast, and diffusion-based approaches for flow reconstruction
  • physicsnemo.datapipes handles scientific data structures (point clouds, meshes) without manual wrangling
  • Symbolic PDE residual computation via SymPy integration
  • Distributed training utilities built on torch.distributed
  • Domain-specific spinoffs: PhysicsNeMo CFD, PhysicsNeMo Curator, and Earth-2 Studio for climate/weather
  • ONNX export support for deployment

Caveats

  • Currently transitioning to v2.0 with API changes; migration guide exists but churn is active
  • Heavily NVIDIA-GPU-centric; CPU-only workflows are not the focus
  • The “seamless PyTorch integration” claim is mostly true, but the framework still adds its own module abstractions that require learning

Verdict Worth a look if you’re doing computational physics or engineering and want to graduate from hand-rolled PINNs to a maintained, scalable stack. Skip it if your problem has no spatial structure or if you’re committed to JAX-based ecosystems.

Frequently asked

What is NVIDIA/physicsnemo?
A deep-learning framework that bakes conservation laws and PDEs into neural networks instead of treating them as afterthoughts.
Is physicsnemo open source?
Yes — NVIDIA/physicsnemo is open source, released under the Apache-2.0 license.
What language is physicsnemo written in?
NVIDIA/physicsnemo is primarily written in Python.
How popular is physicsnemo?
NVIDIA/physicsnemo has 3.1k stars on GitHub.
Where can I find physicsnemo?
NVIDIA/physicsnemo is on GitHub at https://github.com/NVIDIA/physicsnemo.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.