This commit is contained in:
root
2026-03-05 18:06:10 +08:00
commit 809cecae09
2569 changed files with 478204 additions and 0 deletions

17
scripts.py Normal file
View File

@@ -0,0 +1,17 @@
# 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()