From a375b6fcf9df327810a0db182a5e62f08145d8e6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 14 Jun 2024 03:02:26 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../transformers/modeling/modeling_auto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intel_extension_for_transformers/transformers/modeling/modeling_auto.py b/intel_extension_for_transformers/transformers/modeling/modeling_auto.py index 93dcaf00509..61f59a47dd6 100644 --- a/intel_extension_for_transformers/transformers/modeling/modeling_auto.py +++ b/intel_extension_for_transformers/transformers/modeling/modeling_auto.py @@ -519,7 +519,7 @@ def forward(self, input: torch.Tensor) -> tuple[torch.Tensor, None]: if model_type not in cls.model_type_list: logger.error( - "Can't support this model_type." + + "Can't support this model_type." + "Please set the correct model_type, supported model_type: {}".format( cls.model_type_list )