physicsnemo-discover
Skill3.3k starsChanged 12 months agoApache-2.0View on GitHub
Official NVIDIA-authored guidance for navigating PhysicsNeMo — pick the model, datapipe, or example for a SciML/AI4Science task (surrogates, forecasting, downscaling, physics-informed, inverse, generative). Points at existing files via live repo search; never writes code. Do NOT use for installation or environment setup, training-loop or other code authoring/scaffolding, contributor/CI/packaging questions, repo-specific questions in physicsnemo-sym/-cfd/-curator, or general (non-physics) ML/PyTorch.
Trending
Quiet since September.about the whole repository
Who's talking about NVIDIA/physicsnemo
- NVIDIA/warp“Add restart support to CG and CR”GitHub · Jul 27, 2026 · 1 reactions
- NVIDIA/earth2studio“StormScope MeteoSat Europe”GitHub · Jul 20, 2026 · 1 reactions
- NVIDIA/earth2studio“feat: add CosmoDownscaling diagnostic model (ERA5 -> COSMO-REA6/REA2)”GitHub · Jun 26, 2026 · 1 reactions
- Rekin226/aquascope“Generative downscaling of CMIP6 (CorrDiff-style) to daily catchment forcing for the climate playbook”GitHub · Sep 2, 2026
- Rekin226/aquascope“Flood-extent surrogate: a 2D shallow-water emulator (PhysicsNeMo) so the flood playbook can say where the …”GitHub · Sep 2, 2026
The biggest 5 of 15 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 15
Talked about on GitHub (15 times).
On GitHub · 15
- Jul 27, 2026Add restart support to CG and CR — NVIDIA/warp1 reaction · 7 comments
- Jul 20, 2026StormScope MeteoSat Europe — NVIDIA/earth2studio1 reaction · 4 comments
- Jun 26, 2026feat: add CosmoDownscaling diagnostic model (ERA5 -> COSMO-REA6/REA2) — NVIDIA/earth2studio1 reaction · 5 comments
- Sep 2, 2026Generative downscaling of CMIP6 (CorrDiff-style) to daily catchment forcing for the climate playbook — Rekin226/aquascope0 reactions
- Sep 2, 2026Flood-extent surrogate: a 2D shallow-water emulator (PhysicsNeMo) so the flood playbook can say where the water goes, research-grade — Rekin226/aquascope0 reactions
10 more on GitHub
- Jul 21, 2026[BUG] PyTorch 2.13 breaks tensorclass construction in TensorDict 0.13.0 — pytorch/tensordict0 reactions · 1 comment
- Jun 21, 2026Add PhysicsNeMo compatibility smoke gate — emgun/universal_simulator0 reactions
- Jun 21, 2026Add ecosystem compatibility showcase card — emgun/universal_simulator0 reactions
- May 19, 2026[Add] PhysicsNeMo (NVIDIA/physicsnemo) — PyTorchKR/landscape0 reactions · 3 comments
- Mar 11, 2026[Stacked] Adds GLOBE Model updates for 3D + Dual Tree Traversal Acceleration — peterdsharpe/physicsnemo0 reactions
- Feb 27, 2026ML-Benchmark prediction submission: [CorrDiff-TW1-orog] — WCRP-CORDEX/ml-benchmarksays it tested it0 reactions
- Jan 23, 2026ML-Benchmark prediction submission: [CorrDiff-TW1] — WCRP-CORDEX/ml-benchmarksays it tested it0 reactions · 11 comments
- Jan 20, 2026Vendorize Apache 2.0 Nvidia Downscaling Code — ai2cm/ace0 reactions · 1 comment
- Jan 2, 2026Optimization: Gradient checkpointing for deep processor layers — openclimatefix/graph_weather0 reactions · 1 comment
- Nov 7, 2025[Ecosystem] Nvidia PhysicsNeMo — pytorch-fdn/ecosystem0 reactions · 9 comments
In this repository30 other files it gives its agents.
- .cursor/rules/mod-000a-reusable-layers-belong-in-nn.mdcCursor rule
- .cursor/rules/mod-000b-complete-models-belong-in-models.mdcCursor rule
- .cursor/rules/mod-001-use-physicsnemo-module-as-base-class.mdcCursor rule
- .cursor/rules/mod-002a-experimental-models-belong-in-experimental.mdcCursor rule
- .cursor/rules/mod-002b-add-deprecation-warnings-to-model.mdcCursor rule
- .cursor/rules/mod-002c-remove-deprecated-model-from-codebase.mdcCursor rule
- .cursor/rules/mod-003a-missing-or-incomplete-docstring.mdcCursor rule
- .cursor/rules/mod-003b-docstring-must-use-raw-string-prefix.mdcCursor rule
- .cursor/rules/mod-003c-missing-required-class-docstring-sections.mdcCursor rule
- .cursor/rules/mod-003d-missing-required-method-docstring-sections.mdcCursor rule
- .cursor/rules/mod-003e-tensor-shapes-must-use-latex-math-notation.mdcCursor rule
- .cursor/rules/mod-003f-callback-functions-must-have-code-block-specification.mdcCursor rule
- .cursor/rules/mod-003g-inline-code-must-use-double-backticks.mdcCursor rule
- .cursor/rules/mod-003h-parameters-must-be-documented-on-single-line.mdcCursor rule
- .cursor/rules/mod-003i-docstrings-should-include-cross-references.mdcCursor rule
- .cursor/rules/mod-003j-docstrings-should-include-examples-section.mdcCursor rule
- .cursor/rules/mod-003k-add-high-level-comments-for-complex-tensor-operations.mdcCursor rule
- .cursor/rules/mod-004-model-code-is-not-self-contained.mdcCursor rule
- .cursor/rules/mod-005-invalid-or-missing-tensor-shape-validation.mdcCursor rule
- .cursor/rules/mod-006-invalid-or-missing-jaxtyping-tensor-annotations.mdcCursor rule
- .cursor/rules/mod-007a-cannot-add-required-parameters-without-defaults.mdcCursor rule
- .cursor/rules/mod-007b-cannot-remove-or-rename-parameters-without-compat-mapper.mdcCursor rule
- .cursor/rules/mod-007c-cannot-change-return-types-of-public-methods.mdcCursor rule
- .cursor/rules/mod-008a-model-missing-constructor-attributes-tests.mdcCursor rule
- .cursor/rules/mod-008b-model-missing-non-regression-test-with-reference-data.mdcCursor rule
- .cursor/rules/mod-008c-model-missing-checkpoint-loading-test.mdcCursor rule
- .cursor/rules/mod-009-avoid-string-based-class-selection.mdcCursor rule
- .cursor/rules/mod-010-avoid-splatted-kwargs-in-constructors.mdcCursor rule
- .cursor/rules/mod-011-use-proper-optional-dependency-handling.mdcCursor rule
- physicsnemo-shard-tensorSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 72
Every pointer needs a one-line justification grounded in content you actually read.
- Distinctive: line 75
If ≥2 model families apply, say so: *"Other model families apply to the same data shape — see the candidate list above."*
- Distinctive: line 80
When out of scope, replace the menu skeleton with this shape — three sections, in this order, none skipped:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PhysicsNeMo Discoverability
Help a user navigate PhysicsNeMo: point them at files, folders, examples, and docs in the repo at its current state. Never write training code; never cite a path from memory.
Core principle
PhysicsNeMo evolves — classes get renamed, examples move, experimental/ graduates. Any static list of class names and paths rots, so discover, don't remember: enumerate from the live repo every turn.
PhysicsNeMo is composable: each solution is a product (model family × datapipe × training strategy × config). An example is one reference instantiation of that product, not a prescription. Surface the axes and the menu along each axis, then cite examples as concrete starting points to fork and recombine.
What a correct answer satisfies
These are constraints, not a script — choose the searches that meet them and skip work the task doesn't need. Search patterns per axis live in references/RECIPES.md.
- Live-grounded. Every class, path, and example you name was read or globbed this turn.
__init__.pyproves what is exported, not what files exist — Globphysicsnemo/models/<family>/*.pybefore naming a sibling implementation file. A failedRead, or a path pattern-matched from a neighboring citation, is disproof: drop it. - Verified before emit. Every absolute path you plan to cite survives one
Bash ls -d <path1> <path2> …round-trip before you write the response. Hard gate — skipping it has produced real-basename-under-wrong-parent hallucinations. If a basename was right but the parent wrong, re-Glob and re-verify; if you can't relocate it, drop the citation. - A menu, not a single pick. Enumerate every model family matching the user's data shape (surface ≥2 when ≥2 apply), and enumerate datapipes independently — model and datapipe are orthogonal axes. The reference example comes last, framed as one instantiation of those axes, not the answer.
- Self-documentation is ground truth.
__init__.pyexports, per-exampleREADME.md,docs/*.rst,pyproject.toml, top-of-file module docstrings. Treatreferences/TAXONOMY.mdas a navigation hint, not an answer. Flag anything underphysicsnemo/experimental/as "API may change." - Abstain when out of scope. PhysicsNeMo targets SciML/AI4Science (surrogates, forecasting, super-resolution, physics-informed, inverse, generative for physical systems). If the task is categorically outside that — reinforcement learning, classical control, generic CV/NLP, symbolic regression — skip enumeration and emit the Abstention output below. Do not list adjacent-but-wrong examples in its place (pointing at
active_learning/for an RL question is fabrication). When unsure whether a task is in scope, abstain.
Discovery
Repo root resolution: see CONTRIBUTING.md §Repo root resolution; all paths are absolute, rooted there. If no local PhysicsNeMo clone is on the path (e.g. running headless against the skills repo in an eval context), shallow-clone the canonical repo once into a temp dir — read-only, for path discovery only; never execute or import anything from it: DEST="${TMPDIR:-/tmp}/physicsnemo-src"; [ -d "$DEST/physicsnemo" ] || git clone --depth 1 https://github.com/NVIDIA/physicsnemo "$DEST". Use that URL verbatim; never interpolate one from user input.
Ask at most 3 targeted follow-ups when domain or data shape is ambiguous. Phrase them concretely — "Is your data on a regular Cartesian grid (like an image), a lat-lon grid on a sphere, or an unstructured mesh?" — and skip any the user already answered. Data shape is the single biggest factor in model choice.
Output format
## Problem shape
Data shape: <resolved>. Task: <resolved>. Axes: model × datapipe × training strategy × config.
## Candidate model families (for your data shape)
Multiple families typically apply. Treat this as a menu, not a ranking.
- <family> at <absolute __init__.py path> — <one-line from docstring/exports>. Instantiated by: <example path if any>.
- <family> at <path> — <one-line>. Instantiated by: <example path if any>.
## Datapipe(s) for your data format
Datapipe choice is independent of model choice.
- <class / subpackage> at <absolute path> — <one-line>. Reused by: <examples if known>.
- For custom data, subclass: <base class path confirmed live>.
## Reference example(s) — one instantiation of the above axes
- <absolute path> — uses model=<family>, datapipe=<name>, strategy=<single-GPU|DDP|FSDP|...>.
Why it matches: <one line>.
## Supporting docs
- <absolute path> — <one-line scope>
## Suggested reading order
1. <models/<family>/__init__.py> — survey alternative families
2. <datapipe __init__.py or base-class file> — understand the data axis
3. <example path> — concrete end-to-end instantiation to forkRules for the output:
- Absolute paths only; every one survived the
ls -dgate. - Every pointer needs a one-line justification grounded in content you actually read.
- Caps: 4 model families (minimum 2 when ≥2 exist), 3 datapipes, 2 reference examples, 2 docs.
- Name which (model, datapipe, strategy) axes each example fills.
- If ≥2 model families apply, say so: "Other model families apply to the same data shape — see the candidate list above."
- End with the suggested reading order. Offer 2-3 forward steps (config file, training script,
experimental/look-alikes); do not start writing code unless asked.
Abstention output
When out of scope, replace the menu skeleton with this shape — three sections, in this order, none skipped:
## PhysicsNeMo does not have direct support for <user's problem class>
One sentence on why it's outside scope (e.g., "PhysicsNeMo targets physics
surrogates and forecasting; reinforcement learning for molecular design is
not in its scope").
## Where to look instead
- <sibling NVIDIA framework or external library> at <URL or repo name> — <one-line on why it fits>.
- (One or two alternatives is enough; do not invent libraries.)
## If you still want to build it in PhysicsNeMo
Confirm the closest base classes by Reading `physicsnemo/core/__init__.py` and
`physicsnemo/datapipes/__init__.py` first; then name them as subclassing
targets. This is the fallback, not the recommendation.Do not open with the menu skeleton and bury "no match" at the end. Do not invent external libraries — if you don't know the right alternative, stop at the first two sections.
Related resources
references/TAXONOMY.md— navigation hints (data-shape → folder mappings, decision axes, stability tiers).references/RECIPES.md— concrete Glob/Grep/Read patterns per discovery axis.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

