vllm/vllm/scripts.py
Harry Mellor d6953beb91
Convert formatting to use ruff instead of yapf + isort (#26247)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
2025-10-05 07:06:22 -07:00

18 lines
504 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()