[LLM] Fix llm api doc rendering failure due to ipex auto importer (#9877)
This commit is contained in:
		
							parent
							
								
									e76d984164
								
							
						
					
					
						commit
						200fc6a1ee
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -20,7 +20,8 @@ import urllib
 | 
			
		|||
 | 
			
		||||
autodoc_mock_imports = ["openvino", "pytorch_lightning", "keras", "cpuinfo", "sigfig", "prophet",
 | 
			
		||||
                        "accelerate", "langchain", "pydantic", "transformers", "ray", "sklearn", "torchmetrics",
 | 
			
		||||
                        "pandas", "pmdarima", "scipy", "optuna", "cloudpickle", "xgboost", "filelock"]
 | 
			
		||||
                        "pandas", "pmdarima", "scipy", "optuna", "cloudpickle", "xgboost", "filelock",
 | 
			
		||||
                        "importlib.metadata", "intel_extension_for_pytorch"]
 | 
			
		||||
 | 
			
		||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
 | 
			
		||||
#sys.path.insert(0, '.')
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue