Validate Command
It is possible to investigate a checkpoint file and determine if the environment matches, or if anemoi packages differ in version between the inference and the training environment.
This can be very useful to resolve issues when running an older or shared checkpoint.
Usage
Validate the virtual environment against a checkpoint file.
usage: anemoi-inference validate [-h] [--all-packages]
[--on-difference {warn,error,ignore}]
[--exempt-packages [EXEMPT_PACKAGES ...]]
checkpoint
Positional Arguments
- checkpoint
Path to checkpoint file.
Named Arguments
- --all-packages
Check all packages in the environment.
Default: False
- --on-difference
Possible choices: warn, error, ignore
What to do on difference.
Default: “warn”
- --exempt-packages
List of packages to exempt from the check.