Update api_server.py (#13198)

This commit is contained in:
Guancheng Fu 2025-05-30 09:26:53 +08:00 committed by GitHub
parent 9df610f80d
commit bb50cd0881
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1157,8 +1157,6 @@ if __name__ == "__main__":
# NOTE(simon):
# This section should be in sync with vllm/entrypoints/cli/main.py for CLI
# 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()
parser = FlexibleArgumentParser(
description="vLLM OpenAI-Compatible RESTful API server.")