Update to PhysicsNeMo v2#718
Merged
Merged
Conversation
Collaborator
Author
|
/blossom-ci |
pzharrington
marked this pull request as ready for review
February 27, 2026 00:16
Collaborator
Author
|
/blossom-ci |
Contributor
Greptile SummaryThis PR systematically migrates Earth2Studio to PhysicsNeMo v2.0 by reorganizing imports, updating dependency constraints, and modernizing checkpoint loading patterns.
Temporary workarounds (tracked with TODOs):
|
| Filename | Overview |
|---|---|
| pyproject.toml | Updated dependencies to PhysicsNeMo v2, removed version caps and pytz dependencies, added conflict rules to prevent mixing v1/v2 models |
| earth2studio/models/dx/corrdiff.py | Reorganized imports to new PNM v2 API paths, updated checkpoint loading to use specific model classes (EDMPrecondSR, UNet) |
| earth2studio/models/dx/corrdiff_cmip6.py | Updated imports to new PNM v2 paths, switched to specific model classes for checkpoint loading |
| earth2studio/models/px/stormcast.py | Updated to specific model classes (StormCastUNet, EDMPrecond), added strict=False to checkpoint loading with TODO noting temporary workaround |
Last reviewed commit: afee8bd
Collaborator
Author
|
/blossom-ci |
1 similar comment
Collaborator
Author
|
/blossom-ci |
Collaborator
Author
|
/blossom-ci |
Collaborator
Author
|
/blossom-ci |
NickGeneva
reviewed
Feb 27, 2026
NickGeneva
reviewed
Feb 27, 2026
NickGeneva
reviewed
Feb 27, 2026
Collaborator
Author
|
/blossom-ci |
NickGeneva
approved these changes
Feb 27, 2026
NickGeneva
left a comment
Collaborator
There was a problem hiding this comment.
LGTM! Hopefully the sfno and fcn3 env can get initialized... I actually dont know if they will be able to install since its forcing a git install. Pipeline will test it so approving.
Collaborator
Author
|
/blossom-ci |
Collaborator
|
/blossom-ci |
albertocarpentieri
pushed a commit
to albertocarpentieri/earth2studio
that referenced
this pull request
Mar 12, 2026
* Update to physicsnemo v2 * lockfile and changelog * Address feedback * tox fix * Serve fixes * Fixes --------- Co-authored-by: Nicholas Geneva <5533524+NickGeneva@users.noreply.github.com> Co-authored-by: Nicholas Geneva <ngeneva@nvidia.com>
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.
Earth2Studio Pull Request
Description
Bumps dependencies and updates imports where needed to be compatible with PNM v2.0.
InterpModAFNO, Corrdiff, StormCast and StormScope need updates to the imports/package loading and are thus not compatible with v1.x with these changes; other models are cross-compatible. FCN3 is a special case since makani source code is still reliant on PNM v1.x, so that will not be updated until makani's PNM dependency gets bumped.Tested all the package load unit tests and examples using PNM models, things look good.
Checklist
Dependencies