2026-04-18 10:56:22 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
|
|
|
|
|
2026-04-20 14:00:44 +08:00
|
|
|
# Keep this package init import-free.
|
|
|
|
|
#
|
|
|
|
|
# The `vllm` console script imports `vllm.entrypoints.cli.main`, which causes
|
|
|
|
|
# Python to import this package before loading the `main` submodule.
|
|
|
|
|
# Eagerly importing benchmark subcommands here makes every `vllm serve ...`
|
|
|
|
|
# startup depend on optional benchmark-only modules.
|
|
|
|
|
#
|
|
|
|
|
# Benchmark subcommands are loaded on demand in
|
|
|
|
|
# `vllm.entrypoints.cli.benchmark.main`.
|