Skip to content

Comments

hydra compose register_amp_configs() fix#215

Closed
n0k0m3 wants to merge 1 commit intoNVIDIA:mainfrom
n0k0m3:fix-compose
Closed

hydra compose register_amp_configs() fix#215
n0k0m3 wants to merge 1 commit intoNVIDIA:mainfrom
n0k0m3:fix-compose

Conversation

@n0k0m3
Copy link

@n0k0m3 n0k0m3 commented Jan 10, 2025

Modulus Pull Request

Description

Close #206

register_amp_configs() was called in main() register_decorator but missing in compose(). When user uses compose() to get config it will fail since it can’t find any registered amp defaults.

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

Close NVIDIA#206 

`register_amp_configs()` was called in main() register_decorator but missing in compose(). When user uses compose() to get config it will fail since it can’t find any registered amp defaults.
Copy link

@ZBDat ZBDat left a comment

Choose a reason for hiding this comment

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

This bug will cause the notebook workflow failure since hydra.compose will be called. The output became nomal after I did the exact same change to the site package as in this commit and caused no other effects.

ktangsali added a commit to ktangsali/physicsnemo-sym that referenced this pull request Feb 11, 2026
@ktangsali ktangsali mentioned this pull request Feb 11, 2026
5 tasks
@ktangsali
Copy link
Collaborator

Since Modulus has been renamed to PhysicsNeMo, merging this PR will cause a lot of conflicts and rebasing it is not simple. As a workaround, I have pulled in the changes from this PR in #281

Thank you for your contribution!

@ktangsali ktangsali closed this Feb 11, 2026
ktangsali added a commit that referenced this pull request Feb 11, 2026
* add fix from #215

* add fix from #185

* add fix from #172
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.

🐛[BUG]: MissingConfigException in modulus_default

3 participants