-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/Add method to validate environment in a checkpoint (#13)
* Feature: Add environment checking - Add property for `provenance_training` in Metadata - Check environment on `validate_environment` * chore: Update changelog * Fix: Git record difference check * Fix: Cull categories with no messages * Add PR Tag * Make link * Add exempt packages from the checking * Change return value * Add Version class * Address comments - Improve error messaging - Get inference environment from pkg - Allow patch comparison * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Remove self * Replace custom version with packaging * Fix exemption * Replace relative imports * Add more exempt packages - Protect packake_exemptions.py in CODEOWNERS * Address naming issues - Attempt an import to fix basic python modules being missed - Add ignore * Add __future__ annotations * Add --validate to inspect subcommand * Changelog --------- Co-authored-by: Gert Mertes <[email protected]>
- Loading branch information
Showing
7 changed files
with
180 additions
and
1 deletion.
There are no files selected for viewing
Validating CODEOWNERS rules …
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,15 @@ | ||
# Complete package name to be exempt | ||
EXEMPT_PACKAGES = [ | ||
"anemoi.training", | ||
"hydra", | ||
"hydra_plugins", | ||
"lightning", | ||
"pytorch_lightning", | ||
"lightning_fabric", | ||
"lightning_utilities", | ||
] | ||
|
||
# Entire namespaces to be exempt | ||
EXEMPT_NAMESPACES = [ | ||
"hydra_plugins", | ||
] |
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