Conversation
|
@anaprietonem Testing this right now. Also why not revert back to inherit from BaseModel in anemoi.utils? What was the logic of the switch? |
|
As expected, this fixed the Betas overwrite, but not all the other ones: normalizers, scalers, graph attributes and layer_kernels. Comparison Fixed and No config_validation: https://mlflow.ecmwf.int/#/compare-runs?runs=[%22e638d811e39f41728168852c81ae2119%22,%22bbc6f6560e1c492c8190fb6f9bf6c4bb%22]&experiments=[%22109%22] Coimparison Fixed and config_validation: https://mlflow.ecmwf.int/#/compare-runs?runs=[%2236480c41c7904cbcbfbcbfa0a83a5a6b%22,%22bbc6f6560e1c492c8190fb6f9bf6c4bb%22]&experiments=[%22109%22] (only diff is Betas) |
|
@icedoom888 Yes, likely all of those should be patched. I believe the reasoning here is to allow any kwargs, whereas the utils basemodel explicitly forbids that. |
|
@HCookie I can confirm that inheriting from the anemoi.utils schema causes issues due to forbedden extra inputs. |
|
@icedoom888 do you already have a list of the schemas that needs patching? as Harrison said some of this was related to the flexibility for passing kwargs, but this is not something that we may want to enable for each of the schemas we have. |
|
Issue seems to be solved when patching all schemas: @anaprietonem The full list is:
These are all the ones i patched in the latest run. |
|
We currently don’t log or print the optimizer configuration. It would be helpful to include this in the training logs (e.g. optimizer type and key hyperparameters). Since we are changing the default value of |
58c8f12 to
3e62e83
Compare
Gabriel made a boo boo,
3e62e83 to
6cb194e
Compare
Co-authored-by: MOLDOVAN Gabriel Ionut <gabrielmieng@gmail.com> Co-authored-by: Mario Santa Cruz <48736305+JPXKQX@users.noreply.github.com> Co-authored-by: Vera Gahlen <vera.gahlen@ecmwf.int> Co-authored-by: Ana Prieto Nemesio <91897203+anaprietonem@users.noreply.github.com>
6cb194e to
6f36eb4
Compare
VeraChristina
left a comment
There was a problem hiding this comment.
LGTM, thanks for fixing this!
|
Do it @HCookie |
## Description Allow extra inputs in optimiser schema for use in setting betas, and other keys. Before it was being ignored. --------- Co-authored-by: Gabriel Ionut MOLDOVAN <gabriel.moldovan@ecmwf.int> Co-authored-by: Mario Santa Cruz <48736305+JPXKQX@users.noreply.github.com> Co-authored-by: Vera Gahlen <vera.gahlen@ecmwf.int> Co-authored-by: Ana Prieto Nemesio <91897203+anaprietonem@users.noreply.github.com>
## Description Allow extra inputs in optimiser schema for use in setting betas, and other keys. Before it was being ignored. --------- Co-authored-by: Gabriel Ionut MOLDOVAN <gabriel.moldovan@ecmwf.int> Co-authored-by: Mario Santa Cruz <48736305+JPXKQX@users.noreply.github.com> Co-authored-by: Vera Gahlen <vera.gahlen@ecmwf.int> Co-authored-by: Ana Prieto Nemesio <91897203+anaprietonem@users.noreply.github.com>
Description
Allow extra inputs in optimiser schema for use in setting betas, and other keys. Before it was being ignored.