Fix stdout in all-in-one benchmark to utf-8 (#11772)
This commit is contained in:
		
							parent
							
								
									a1eb793f70
								
							
						
					
					
						commit
						81824ff8c9
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -29,6 +29,8 @@ from datetime import date
 | 
			
		|||
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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue