From its official website, NVIDIA Modulus is a neural network framework that blends the power of physics (in the form of governing partial differential equations (PDEs)) with data to build high-fidelity, parameterized surrogate models with near-real-time latency. Whether you’re looking to get started with AI-driven physics problems or designing digital twin models for complex non-linear, multi-physics systems, NVIDIA Modulus can support your work.
keywords:
what: a neural network framework
why: support AI-driven physics problems and digital twin models
Domain: hold all constraints as well as additional components in training
Solver: Solvers are the are instances of the core Modulus trainer, which contains the optimization loop and manages the training process. A solver takes a defined domain and calls the constraints, inferencers, monitors and validators when required. During one iteration, the solver will compute the global loss from all constraints and then optimize any trainable models present in the Nodes provided to the constraints.
Hydra: configuration of tuning parameters using YAML format
Inferencers: forward pass
Validators: validation data
Monitors: similarly to inferencers, but calculating specific measures as oppose to fields
Workflow
Initialize Hydra using the Modulus main decorator to read in the configuration YAML.
Load necessary data if needed.
Define the geometry of the system if needed.
Create any Nodes required, such as your neural network model.
Create a training Domain object.
Create constraints and add each to the domain.
Create any inferencers, validators or monitors needed.
Initialize a solver with the populated training domain.
Run the solver, beginning optimization.
Theories and Algorithms
PINN
Method
build neural network to approximate a given PDE and boundary conditions by minimizing loss function.
Integral Equations losses significantly speeds up convergence.
What is modulus?
From its official website, NVIDIA Modulus is
a neural network framework
that blends the power ofphysics
(in the form of governing partial differential equations (PDEs)) withdata
to build high-fidelity, parameterized surrogate models with near-real-time latency. Whether you’re looking to get started withAI-driven physics problems
ordesigning digital twin models for complex non-linear, multi-physics systems
, NVIDIA Modulus can support your work.keywords:
neural network framework
AI-driven physics problems
and digital twin modelsphysics
(PDE) withdata
in NNHow to install NVIDIA Modulus container:
Key Components
Geometry and Data
: self-explanaryNodes
(wrapper of astorch.nn.Module
)Constraint
: training objectivesDomain
: hold all constraints as well as additional components in trainingSolver
: Solvers are the are instances of the core Modulustrainer
, which contains the optimization loop and manages the training process. A solver takes a defined domain and calls the constraints, inferencers, monitors and validators when required. During one iteration, the solver will compute the global loss from all constraints and then optimize any trainable models present in the Nodes provided to the constraints.Hydra
: configuration of tuning parameters using YAML formatValidators
: validation dataMonitors
: similarly to inferencers, but calculating specific measures as oppose to fieldsWorkflow
Initialize Hydra using the Modulus main decorator to read in the configuration YAML.
Theories and Algorithms
PINN
Examples:
MultiGPU runs