mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 02:05:01 +08:00
16 lines
501 B
Python
16 lines
501 B
Python
# SPDX-License-Identifier: Apache-2.0
|
|
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
|
|
|
from vllm.entrypoints.cli.main import main as vllm_main
|
|
from vllm.logger import init_logger
|
|
|
|
logger = init_logger(__name__)
|
|
|
|
|
|
# Backwards compatibility for the move from vllm.scripts to
|
|
# vllm.entrypoints.cli.main
|
|
def main():
|
|
logger.warning("vllm.scripts.main() is deprecated. Please re-install "
|
|
"vllm or use vllm.entrypoints.cli.main.main() instead.")
|
|
vllm_main()
|