Skip to content

Commit

Permalink
All-in-one Benchmark run.py: Ignore error if import BenchmarkWrapper …
Browse files Browse the repository at this point in the history
…failed. (#12526)
  • Loading branch information
ATMxsp01 authored Dec 11, 2024
1 parent 41ef497 commit fd9cf76
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/llm/dev/benchmark/all-in-one/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fd9cf76

Please sign in to comment.