From 97b1b121176d405bcec861960dc605e9e41227e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BF=97=E8=B0=A6?= <89645338+simpleqt@users.noreply.github.com> Date: Thu, 24 Sep 2026 04:36:57 +0800 Subject: [PATCH] [Docs] Fix docstring typos (output_dytpe, kwrags, Abbrivations) (#55936) Signed-off-by: simpleqt <89645338+simpleqt@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- vllm/transformers_utils/processors/ovis.py | 2 +- vllm/transformers_utils/processors/ovis2_5.py | 2 +- vllm/v1/core/kv_cache_manager.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vllm/transformers_utils/processors/ovis.py b/vllm/transformers_utils/processors/ovis.py index a77072745f..9ad320be39 100644 --- a/vllm/transformers_utils/processors/ovis.py +++ b/vllm/transformers_utils/processors/ovis.py @@ -110,7 +110,7 @@ class OvisProcessor(ProcessorMixin): ) -> BatchFeature: """Main method to prepare for the model one or several sequences(s) and image(s). This method forwards the `text` and `kwargs` arguments to Qwen2TokenizerFast's [`~Qwen2TokenizerFast.__call__`] if `text` is not `None` to encode - the text. To prepare the vision inputs, this method forwards the `vision_infos` and `kwrags` arguments to + the text. To prepare the vision inputs, this method forwards the `vision_infos` and `kwargs` arguments to Qwen2VLImageProcessor's [`~Qwen2VLImageProcessor.__call__`] if `vision_infos` is not `None`. Args: diff --git a/vllm/transformers_utils/processors/ovis2_5.py b/vllm/transformers_utils/processors/ovis2_5.py index c31ea91520..2d5764bfd0 100644 --- a/vllm/transformers_utils/processors/ovis2_5.py +++ b/vllm/transformers_utils/processors/ovis2_5.py @@ -115,7 +115,7 @@ class Ovis2_5Processor(ProcessorMixin): and image(s). This method forwards the `text`and `kwargs` arguments to Qwen2TokenizerFast's [`~Qwen2TokenizerFast.__call__`] if `text` is not `None` to encode the text. To prepare the vision inputs, - this method forwards the `vision_infos` and `kwrags` arguments to + this method forwards the `vision_infos` and `kwargs` arguments to Qwen2VLImageProcessor's [`~Qwen2VLImageProcessor.__call__`] if `vision_infos` is not `None`. diff --git a/vllm/v1/core/kv_cache_manager.py b/vllm/v1/core/kv_cache_manager.py index f881fc9818..30bf584f8c 100644 --- a/vllm/v1/core/kv_cache_manager.py +++ b/vllm/v1/core/kv_cache_manager.py @@ -437,7 +437,7 @@ class KVCacheManager: ---------------------------------------------------------------------- ``` - Abbrivations: + Abbreviations: ``` comp = request.num_computed_tokens