-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(config)!: Improved configuration and data structures (#79)
* feat: Implements a config validator via pydantic basemodels --------- Co-authored-by: Charlie Hebert-Pinard <ecmv9074@ac6-100.bullx> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: chebertpinard <charlie.hebert-pinard@ec.gc.ca> Co-authored-by: anaprietonem <ana.prietonemesio@ecmwf.int> Co-authored-by: Mario Santa Cruz <48736305+JPXKQX@users.noreply.github.com> Co-authored-by: Mario Santa Cruz <mariosanta_cruz@hotmail.com> Co-authored-by: Harrison Cook <harrison.cook@ecmwf.int>
- Loading branch information
1 parent
f4da73c
commit 1f7812b
Showing
69 changed files
with
2,650 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
######### | ||
Schemas | ||
######### | ||
|
||
This module defines pydantic schemas, which are used to validate the | ||
configuration before a training run is started. The top-level config | ||
yaml matches the BaseSchema. | ||
|
||
.. automodule:: anemoi.training.schemas.base_schema | ||
:members: | ||
:no-undoc-members: | ||
:show-inheritance: | ||
|
||
.. automodule:: anemoi.training.schemas.data | ||
:members: | ||
:no-undoc-members: | ||
:show-inheritance: | ||
|
||
.. automodule:: anemoi.training.schemas.dataloader | ||
:members: | ||
:no-undoc-members: | ||
:show-inheritance: | ||
|
||
.. automodule:: anemoi.training.schemas.hardware | ||
:members: | ||
:no-undoc-members: | ||
:show-inheritance: | ||
|
||
.. automodule:: anemoi.training.schemas.graphs.basegraph | ||
:members: | ||
:no-undoc-members: | ||
:show-inheritance: | ||
|
||
.. automodule:: anemoi.training.schemas.graphs.node_schemas | ||
:members: | ||
:no-undoc-members: | ||
:show-inheritance: | ||
|
||
.. automodule:: anemoi.training.schemas.graphs.edge_schemas | ||
:members: | ||
:no-undoc-members: | ||
:show-inheritance: | ||
|
||
.. automodule:: anemoi.training.schemas.models.models | ||
:members: | ||
:no-undoc-members: | ||
:show-inheritance: | ||
|
||
.. automodule:: anemoi.training.schemas.models.processor | ||
:members: | ||
:no-undoc-members: | ||
:show-inheritance: | ||
|
||
.. automodule:: anemoi.training.schemas.models.encoder | ||
:members: | ||
:no-undoc-members: | ||
:show-inheritance: | ||
|
||
.. automodule:: anemoi.training.schemas.models.decoder | ||
:members: | ||
:no-undoc-members: | ||
:show-inheritance: | ||
|
||
.. automodule:: anemoi.training.schemas.training | ||
:members: | ||
:no-undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.