Skip to content

Conversation

@JPXKQX
Copy link
Member

@JPXKQX JPXKQX commented Nov 13, 2025

Description

This is a follow-up to PR #451 . The branch has been moved to anemoi-core (so we can now run integration tests), and rebased with main.

  • It abstracts the residual connection around a new class, BaseResidualConnection. It currently supports 3 options: SkipConnection, TruncatedConnection, and NoConnection.
  • It also creates the SparseProjector class which handles the projection logic. This class could be used in the future for the multi-scale loss or other use cases.

What problem does this change solve?

Encapsulation of residual connection functionality.

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.


📚 Documentation preview 📚: https://anemoi-training--670.org.readthedocs.build/en/670/


📚 Documentation preview 📚: https://anemoi-graphs--670.org.readthedocs.build/en/670/


📚 Documentation preview 📚: https://anemoi-models--670.org.readthedocs.build/en/670/

@HCookie HCookie linked an issue Nov 19, 2025 that may be closed by this pull request
@JPXKQX JPXKQX requested a review from HCookie November 20, 2025 09:33
Copy link
Contributor

@anaprietonem anaprietonem left a comment

Choose a reason for hiding this comment

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

thanks Mario for addressing the comments from my side it's okey, let's see if @HCookie has any other remaining comments and then merge! almost there🚀

HCookie
HCookie previously approved these changes Nov 20, 2025
@HCookie HCookie dismissed their stale review November 20, 2025 16:43

Some conversations are not resolved

Copy link
Member

@HCookie HCookie left a comment

Choose a reason for hiding this comment

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

Nvm, github confused me

@github-project-automation github-project-automation bot moved this from Under Review to For merging in Anemoi-dev Nov 20, 2025
@HCookie HCookie merged commit aeaf00b into main Nov 20, 2025
14 checks passed
@HCookie HCookie deleted the feat/configurable-residual branch November 20, 2025 16:48
@github-project-automation github-project-automation bot moved this from For merging to Done in Anemoi-dev Nov 20, 2025
@DeployDuck DeployDuck mentioned this pull request Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Truncation in anemoi

7 participants