Add Neural Operator Factory (for reservoir simulation)#1552
Open
wdyab wants to merge 2 commits intoNVIDIA:mainfrom
Open
Add Neural Operator Factory (for reservoir simulation)#1552wdyab wants to merge 2 commits intoNVIDIA:mainfrom
wdyab wants to merge 2 commits intoNVIDIA:mainfrom
Conversation
Contributor
Greptile SummaryThis PR introduces a comprehensive Neural Operator Factory for reservoir simulation, adding config-driven support for 165 model architecture configurations (FNO, U-FNO, Conv-FNO, FNO4D, and 8 DeepONet variants), three-stage autoregressive training regimes, and physics-informed losses — all as a self-contained example directory with 375 tests and reproducible benchmark results. Key issues found:
Important Files Changed
Reviews (1): Last reviewed commit: "Add Neural Operator Factory for reservoi..." | Re-trigger Greptile |
bb72657 to
ee2baa0
Compare
peterdsharpe
reviewed
Apr 7, 2026
Collaborator
|
@greptile this PR introduces a number of models, including UNets and FNOs. How much overlap is there with physicsnemo models and .nn components, and how much code reuse could be consolidated? |
Config-driven framework for training neural operator surrogates for reservoir simulation, built on PhysicsNeMo. Supports 165 model architectures (FNO, U-FNO, Conv-FNO, FNO4D, DeepONet with 8 variants including TNO), 6 training regimes (full-mapping and autoregressive with teacher forcing, pushforward, and rollout), and physics-informed losses (derivative regularization, mass conservation) — all from YAML config, zero code changes. Key features: - xFNO family: FNO, U-FNO, Conv-FNO, Conv-U-FNO (3D), FNO4D (4D) - xDeepONet family: DeepONet, U-DeepONet, Fourier-DeepONet, Conv-DeepONet, Hybrid-DeepONet, MIONet, Fourier-MIONet, TNO - Composable spatial branches (Fourier, UNet, Conv in any combination) - Three-stage autoregressive training pipeline - Dimension-agnostic: same code handles 2D and 3D spatial data - Automatic inactive-cell mask detection (ACTNUM, non-zero fallback) - Multi-GPU DDP with DDP-safe autoregressive rollout - Self-describing checkpoints for model reconstruction - 375 unit tests Includes reproducible examples with published results: - U-FNO (Wen et al. 2022) on CO2 sequestration - U-DeepONet (Diab & Al Kobaisi 2024) on CO2 sequestration - Fourier-MIONet (Jiang et al. 2024) on CO2 sequestration - TNO (Diab & Al Kobaisi 2025) on CO2 sequestration - Physics-informed TNO on Norne field (4D) Signed-off-by: wdyab <wdyab@nvidia.com> Made-with: Cursor Signed-off-by: wdyab <wdyab@nvidia.com> Made-with: Cursor Signed-off-by: wdyab <wdyab@nvidia.com> Made-with: Cursor
ee2baa0 to
90e9eb5
Compare
This was referenced Apr 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Config-driven framework for training neural operator surrogates for reservoir simulation and beyond, built on PhysicsNeMo. Supports 165 model architectures (FNO, U-FNO, Conv-FNO, FNO4D, DeepONet with 8 variants including TNO), 6 training regimes (full-mapping and autoregressive with teacher forcing, pushforward, and rollout), and physics-informed losses (derivative regularization, mass conservation) — all from YAML config, zero code changes.
Key features:
Includes reproducible examples with published results:
Checklist