Skip to content

Fix parsing of module versions in provenance metadata#114

Merged
frazane merged 1 commit intomainfrom
fix/requirements-parsing
Mar 12, 2026
Merged

Fix parsing of module versions in provenance metadata#114
frazane merged 1 commit intomainfrom
fix/requirements-parsing

Conversation

@frazane
Copy link
Contributor

@frazane frazane commented Mar 9, 2026

This pull request updates the extract_pypi_requirements function in workflow/scripts/inference_get_requirements.py to improve support different formats for module version information. The main change is to support both string (legacy) and dictionary (new) formats for module versions. The latter was introduced in ecmwf/anemoi-utils#268 - a breaking change that we missed.

This fix is required to run latest checkpoints from @icedoom888.

@frazane frazane merged commit 5327b15 into main Mar 12, 2026
4 checks passed
frazane added a commit that referenced this pull request Mar 16, 2026
…anemoi-core (#116)

This PR introduces example configs that can be used to run inference
with checkpoints generated after the 'multi-dataset' feature from
anemoi-core has been merged. #114 fixed the environment generation, this
PR fixes the inference execution. Changes in anemoi-inference were also
needed (ecmwf/anemoi-inference#450).

Note: the actual changes needed in the configs are small, however entire
new files had to be introduced, which might indicate our current design
with respect to inference configs and patches is sub-optimal. Perhaps in
the future we could allow users to specify some overrides directly in
the evalml config.
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.

1 participant