From e46b23208c5178c8372e9aa52ad1a0178f994f3e Mon Sep 17 00:00:00 2001 From: Yifan Li Date: Fri, 24 May 2024 23:12:27 -0400 Subject: [PATCH] mitigate -> avoid; do not use AI-style language --- deepmd/utils/batch_size.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepmd/utils/batch_size.py b/deepmd/utils/batch_size.py index 3d17a58ecc..30971c7256 100644 --- a/deepmd/utils/batch_size.py +++ b/deepmd/utils/batch_size.py @@ -63,7 +63,7 @@ def __init__(self, initial_batch_size: int = 1024, factor: float = 2.0) -> None: self.minimal_not_working_batch_size = 2**31 log.info( "If you encounter the error 'an illegal memory access was encountered', this may be due to a TensorFlow issue. " - "To mitigate this, set the environment variable DP_INFER_BATCH_SIZE to a smaller value than the last adjusted batch size. " + "To avoid this, set the environment variable DP_INFER_BATCH_SIZE to a smaller value than the last adjusted batch size. " "The environment variable DP_INFER_BATCH_SIZE controls the inference batch size (nframes * natoms). " ) else: