Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

[Feature] Graph generation scripts and CLI #4

@JesperDramsch

Description

@JesperDramsch

Is your feature request related to a problem? Please describe.

A CLI and scripts to generate graph that use a config and command line options to generate a graph from different options.

Describe the solution you'd like

Anemoi-training uses hydra, which can combine config and cli options, which makes usability very nice.

The generation script should be easily extensible to multiple Encoder, Processors, and Decoders, in anticipation of more complicated model architectures. This lends itself to also use instantiate for factories from hydra to enable modularity and composability.

The CLI itself needs to provide some capability to define the inputs and outputs of a graph to pre-calculate a graph for anemoi-training or modification on the fly.

Describe alternatives you've considered

We could also use argparse, but considering that we would want a way to use configs and a CLI the combination lends itself to hydra instead.

Additional context

No response

Organisation

ECMWF

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions