From 83b7f1d894ade4452454f51e67ffee86160a71f0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 01:50:16 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- deepmd/pt/utils/stat.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/deepmd/pt/utils/stat.py b/deepmd/pt/utils/stat.py index 3c47b1c268..455345c010 100644 --- a/deepmd/pt/utils/stat.py +++ b/deepmd/pt/utils/stat.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: LGPL-3.0-or-later import logging -import numpy as np -import torch from collections import ( defaultdict, ) @@ -10,9 +8,10 @@ Optional, Union, ) -from deepmd.dpmodel.output_def import ( - FittingOutputDef, -) + +import numpy as np +import torch + from deepmd.pt.utils import ( AtomExcludeMask, )