Cursor rule Cursor ✓ vendor
Every model must have non-regression tests comparing outputs against reference data saved in .pth files, using realistic tensor shapes and pytest parameterization.
Open-source deep-learning framework for building, training, and fine-tuning deep learning models using state-of-the-art Physics-ML methods
PhysicsNeMo is an open-source PyTorch framework for creating, training, and fine-tuning machine-learning models for physics, scientific computing, and engineering. Researchers and engineers use its reusable components and training recipes for applications such as aerodynamics, weather forecasting, structural mechanics, geophysics, and thermal design. The catalogue entries provide rules and skills for working with PhysicsNeMo projects.
Cursor rule Cursor ✓ vendor
Every model must have non-regression tests comparing outputs against reference data saved in .pth files, using realistic tensor shapes and pytest parameterization.
Cursor rule Cursor ✓ vendor
Every model must have tests that load from checkpoint files (.mdlus), verify attributes, and compare outputs against reference data to ensure serialization works correctly.
Cursor rule Cursor ✓ vendor
Avoid string-based class selection with many options (>3 choices) in model constructors; prefer dependency injection with instances for better type safety and clearer APIs.
Cursor rule Cursor ✓ vendor
Avoid splatted kwargs (kwargs) in model constructors; use explicit Dict parameters instead to prevent naming conflicts and make APIs clearer.
Cursor rule Cursor ✓ vendor
Use checkminversion() to check optional dependencies without importing, and @requireversion decorator to protect version-specific features; pyproject.toml is the single source of truth for dependencies.
At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: