Source code for deepmd.utils.errors
# SPDX-License-Identifier: LGPL-3.0-or-later
from deepmd_utils.utils.errors import (
OutOfMemoryError,
)
[docs]class GraphTooLargeError(Exception):
"""The graph is too large, exceeding protobuf's hard limit of 2GB."""
__all__ = [
"OutOfMemoryError",
"GraphTooLargeError",
"GraphWithoutTensorError",
]