deepmd.utils.version
Module Contents
Functions
| Check if the current version is compatible with the supported versions. |
- deepmd.utils.version.check_version_compatibility(current_version: int, maximum_supported_version: int, minimal_supported_version: int = 1)[source]
Check if the current version is compatible with the supported versions.
- Parameters:
- Raises:
ValueError
If the current version is not compatible with the supported versions.