Update api_server.py (#13198)
This commit is contained in:
		
							parent
							
								
									9df610f80d
								
							
						
					
					
						commit
						bb50cd0881
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		| 
						 | 
					@ -1157,8 +1157,6 @@ if __name__ == "__main__":
 | 
				
			||||||
    # NOTE(simon):
 | 
					    # NOTE(simon):
 | 
				
			||||||
    # This section should be in sync with vllm/entrypoints/cli/main.py for CLI
 | 
					    # This section should be in sync with vllm/entrypoints/cli/main.py for CLI
 | 
				
			||||||
    # entrypoints.
 | 
					    # entrypoints.
 | 
				
			||||||
    logger.warning("Warning: Please use `ipex_llm.vllm.xpu.entrypoints.openai.api_server` "
 | 
					 | 
				
			||||||
                   "instead of `vllm.entrypoints.openai.api_server` to start the API server")
 | 
					 | 
				
			||||||
    cli_env_setup()
 | 
					    cli_env_setup()
 | 
				
			||||||
    parser = FlexibleArgumentParser(
 | 
					    parser = FlexibleArgumentParser(
 | 
				
			||||||
        description="vLLM OpenAI-Compatible RESTful API server.")
 | 
					        description="vLLM OpenAI-Compatible RESTful API server.")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue