Skip to content

feat(models): dynamic mappers #439

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

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

feat(models): dynamic mappers #439

wants to merge 11 commits into from

Conversation

JPXKQX
Copy link
Member

@JPXKQX JPXKQX commented Jul 29, 2025

Description

This PR includes some mappers that support dynamic graphs. The main difference is that now the graph is passed as an argument to the forward() method.

What problem does this change solve?

The current mappers set the graph during its creation.

What issue or task does this change relate to?

Additional notes

As a contributor to the Anemoi framework, please ensure that your changes include unit tests, updates to any affected dependencies and documentation, and have been tested in a parallel setting (i.e., with multiple GPUs). As a reviewer, you are also responsible for verifying these aspects and requesting changes if they are not adequately addressed. For guidelines about those please refer to https://anemoi.readthedocs.io/en/latest/

By opening this pull request, I affirm that all authors agree to the Contributor License Agreement.

@JPXKQX JPXKQX added enhancement New feature or request ATS Approval Needed Approval needed by ATS labels Jul 29, 2025
@github-actions github-actions bot added the bug Something isn't working label Jul 29, 2025
@ssmmnn11
Copy link
Member

I wonder if we actually need an extra dynamic mapper class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ATS Approval Needed Approval needed by ATS bug Something isn't working enhancement New feature or request models training
Projects
Status: Now In Progress
Development

Successfully merging this pull request may close these issues.

2 participants