From 8f6935efc3d11d0bd8f4035671da76ab0446bb26 Mon Sep 17 00:00:00 2001 From: pppppM Date: Tue, 11 Jun 2024 16:23:03 +0800 Subject: [PATCH] fix lint --- xtuner/engine/hooks/evaluate_chat_hook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtuner/engine/hooks/evaluate_chat_hook.py b/xtuner/engine/hooks/evaluate_chat_hook.py index d3d4f9a42..05d508e4c 100644 --- a/xtuner/engine/hooks/evaluate_chat_hook.py +++ b/xtuner/engine/hooks/evaluate_chat_hook.py @@ -4,9 +4,9 @@ import torch from mmengine.dist import master_only -from mmengine.utils import mkdir_or_exist from mmengine.hooks import Hook from mmengine.model import is_model_wrapper +from mmengine.utils import mkdir_or_exist from mmengine.utils.misc import get_object_from_string from transformers import GenerationConfig, StoppingCriteriaList