LLM: fix action/installation error of mpmath (#10223)
* fix * test * fix * update
This commit is contained in:
		
							parent
							
								
									aabfc06977
								
							
						
					
					
						commit
						19260492c7
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -268,7 +268,9 @@ def setup_package():
 | 
				
			||||||
                f'Could not find package dependency file: {file_path}')
 | 
					                f'Could not find package dependency file: {file_path}')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    all_requires = ['py-cpuinfo', 'protobuf',
 | 
					    all_requires = ['py-cpuinfo', 'protobuf',
 | 
				
			||||||
                    "intel-openmp; (platform_machine=='x86_64' or platform_machine == 'AMD64')"]
 | 
					                    "intel-openmp; (platform_machine=='x86_64' or platform_machine == 'AMD64')",
 | 
				
			||||||
 | 
					                    'mpmath==1.3.0' # fix AttributeError: module 'mpmath' has no attribute 'rational'
 | 
				
			||||||
 | 
					                    ]
 | 
				
			||||||
    all_requires += CONVERT_DEP
 | 
					    all_requires += CONVERT_DEP
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Linux install with -f https://developer.intel.com/ipex-whl-stable-xpu
 | 
					    # Linux install with -f https://developer.intel.com/ipex-whl-stable-xpu
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue