Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions benchmarks/benchmark_encoder.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# SPDX-License-Identifier: Apache-2.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to add this deprecation since it's a new script

# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
"""Legacy entrypoint for the standalone encoder benchmark."""

import sys


def main() -> None:
print(
"""DEPRECATED: This script has been moved to the vLLM CLI.

Please use the following command instead:
vllm bench encoder

For help with the new command, run:
vllm bench encoder --help

Alternatively, you can run the new command directly with:
python -m vllm.entrypoints.cli.main bench encoder --help
"""
)
sys.exit(1)


if __name__ == "__main__":
main()
Loading