Skip to content

Commit

Permalink
Fix stdout in all-in-one benchmark to utf-8 (#11772)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscilloscope98 authored Aug 13, 2024
1 parent a1eb793 commit 81824ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/llm/dev/benchmark/all-in-one/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
import os
current_dir = os.path.dirname(os.path.realpath(__file__))
import sys
sys.stdout.reconfigure(encoding='utf-8')

from ipex_llm.utils import BenchmarkWrapper
from ipex_llm.utils.common.log4Error import invalidInputError
from ipex_llm.utils.common import invalidInputError
Expand Down

0 comments on commit 81824ff

Please sign in to comment.