Skip to content

Generalize the encode_parameter in DoMINO to any arbitrary no. of global parameters input #903

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 32 commits into from
Jul 17, 2025

Conversation

ns5678
Copy link
Contributor

@ns5678 ns5678 commented May 22, 2025

PhysicsNeMo Pull Request

Description

This PR modifies conf.yaml, model.py and domino_datapipe.py to allow for arbitrary number of input global parameters instead of being restricted to inlet_velocity, air_density. examples/external_aerodynamics/cfd/domino is accordingly modified and tested on DrivAer dataset.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.
  • The CHANGELOG.md is up to date with these changes.
  • An issue is linked to this pull request.

Dependencies

@ns5678
Copy link
Contributor Author

ns5678 commented May 22, 2025

This PR is a copy of #877 that was raised against the domino branch

@ns5678 ns5678 marked this pull request as ready for review May 30, 2025 04:51
@ns5678
Copy link
Contributor Author

ns5678 commented May 30, 2025

I have tested end-to-end training for drivaer_aws dataset using the recipe in cfd/external_aerodynamics/domino/ and confirm that the training, testing and inference_on_stl.py work fine.

Copy link
Collaborator

@RishikeshRanade RishikeshRanade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. A few general comments:

  1. Look at pytest in physicsnemo/test and modify the domino tests accordingly to reflect these changes
  2. Modify changelog.md with description of what is done here
  3. Rebase with physicsnemo main
  4. Run pre-commit and fix formatting issues

@RishikeshRanade
Copy link
Collaborator

@ktangsali can you please run blossom on this PR?

@ktangsali
Copy link
Collaborator

/blossom-ci

@ktangsali
Copy link
Collaborator

/blossom-ci

@RishikeshRanade
Copy link
Collaborator

/blossom-ci

1 similar comment
@RishikeshRanade
Copy link
Collaborator

/blossom-ci

@RishikeshRanade
Copy link
Collaborator

/blossom-ci

@RishikeshRanade RishikeshRanade merged commit 6b4cdef into NVIDIA:main Jul 17, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants