diff --git a/python/llm/dev/benchmark/all-in-one/run.py b/python/llm/dev/benchmark/all-in-one/run.py index b8aa8cb7119..be02721e59d 100644 --- a/python/llm/dev/benchmark/all-in-one/run.py +++ b/python/llm/dev/benchmark/all-in-one/run.py @@ -32,7 +32,10 @@ import sys sys.stdout.reconfigure(encoding='utf-8') -from ipex_llm.utils import BenchmarkWrapper +try: + from ipex_llm.utils import BenchmarkWrapper +except: + pass from ipex_llm.utils.common.log4Error import invalidInputError from ipex_llm.utils.common import invalidInputError