Add pydocstyle to the ruff rules (#52136)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Signed-off-by: Harry Mellor <hej.mellor@gmail.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
804e5377aa
commit
8c1557a79c
@@ -2,8 +2,7 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
||||
# mypy: ignore-errors
|
||||
"""
|
||||
vLLM gRPC Server
|
||||
"""vLLM gRPC Server
|
||||
|
||||
Starts a gRPC server backed by AsyncLLM, using the VllmEngineServicer
|
||||
from the smg-grpc-servicer package.
|
||||
@@ -16,6 +15,7 @@ Example:
|
||||
--model meta-llama/Llama-2-7b-hf \
|
||||
--host 0.0.0.0 \
|
||||
--port 50051
|
||||
|
||||
"""
|
||||
|
||||
import argparse
|
||||
@@ -54,11 +54,11 @@ logger = init_logger(__name__)
|
||||
|
||||
|
||||
async def serve_grpc(args: argparse.Namespace):
|
||||
"""
|
||||
Main gRPC serving function.
|
||||
"""Main gRPC serving function.
|
||||
|
||||
Args:
|
||||
args: Parsed command line arguments
|
||||
|
||||
"""
|
||||
log_version_and_model(logger, VLLM_VERSION, args.model)
|
||||
logger.info("vLLM gRPC server args: %s", args)
|
||||
|
||||
Reference in New Issue
Block a user