All-in-one Benchmark run.py: Ignore error if import BenchmarkWrapper failed. (#12526)
This commit is contained in:
		
							parent
							
								
									41ef4974ab
								
							
						
					
					
						commit
						fd9cf767ed
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -32,7 +32,10 @@ current_dir = os.path.dirname(os.path.realpath(__file__))
 | 
			
		|||
import sys
 | 
			
		||||
sys.stdout.reconfigure(encoding='utf-8')
 | 
			
		||||
 | 
			
		||||
try:
 | 
			
		||||
    from ipex_llm.utils import BenchmarkWrapper
 | 
			
		||||
except:
 | 
			
		||||
    pass
 | 
			
		||||
from ipex_llm.utils.common.log4Error import invalidInputError
 | 
			
		||||
from ipex_llm.utils.common import invalidInputError
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue