Skip to content

Conversation

@JPXKQX
Copy link
Member

@JPXKQX JPXKQX commented Jan 30, 2026

Description

This PR removes the dependency of grid_indices in the graphs.

image

This will allow graphs to be created later (deeper) in the workflow.

The recommended way to mask the LAM configurations is to use the 'lam_mask_radius_km: 999.9' option in the dataset, rather than using the post-processor in the graph and referencing it later in the data loader configuration.

TODOs :

  • Update _setup_batch_sharding() and allgather_batch() to not use grid_indices.

The PR is marked as breaking because the LAM config files will change. grid_indices is no longer required in the dataloader configuration.

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.

@github-project-automation github-project-automation bot moved this to To be triaged in Anemoi-dev Jan 30, 2026
@JPXKQX JPXKQX self-assigned this Jan 30, 2026
@JPXKQX JPXKQX requested a review from anaprietonem January 30, 2026 13:24
@JPXKQX JPXKQX requested a review from ssmmnn11 January 30, 2026 13:24
@github-actions github-actions bot removed the training label Jan 30, 2026
@JPXKQX JPXKQX requested a review from floriankrb January 30, 2026 13:24
@JPXKQX JPXKQX added the ATS Approval Not Needed No approval needed by ATS label Jan 30, 2026
@JPXKQX JPXKQX changed the title refactor(training): move grid_indices inside Dataset refactor(training): move grid_indices inside Dataset Jan 30, 2026
@JPXKQX JPXKQX changed the title refactor(training): move grid_indices inside Dataset refactor(training)!: move grid_indices inside Dataset Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ATS Approval Not Needed No approval needed by ATS training

Projects

Status: To be triaged

Development

Successfully merging this pull request may close these issues.

2 participants