From 3144d90217081aa7b4d3367f0614eb13c35ad4ae Mon Sep 17 00:00:00 2001 From: co63oc Date: Wed, 10 Sep 2025 21:21:23 +0800 Subject: [PATCH] fix some typos (#24167) Signed-off-by: co63oc Co-authored-by: Russell Bryant --- tests/v1/e2e/test_spec_decode.py | 2 +- vllm/entrypoints/openai/tool_parsers/internlm2_tool_parser.py | 2 +- vllm/v1/sample/logits_processor/__init__.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/v1/e2e/test_spec_decode.py b/tests/v1/e2e/test_spec_decode.py index 469464f777fb2..0b240b7d434e5 100644 --- a/tests/v1/e2e/test_spec_decode.py +++ b/tests/v1/e2e/test_spec_decode.py @@ -162,7 +162,7 @@ def test_eagle_correctness( # TODO: Fix this flaky test pytest.skip( "TREE_ATTN is flaky in the test disable for now until it can be " - "reolved (see https://github.com/vllm-project/vllm/issues/22922)") + "resolved (see https://github.com/vllm-project/vllm/issues/22922)") # Generate test prompts inside the function instead of using fixture test_prompts = get_test_prompts(mm_enabled) diff --git a/vllm/entrypoints/openai/tool_parsers/internlm2_tool_parser.py b/vllm/entrypoints/openai/tool_parsers/internlm2_tool_parser.py index 2055393d7ec71..63af3ff7f4d1f 100644 --- a/vllm/entrypoints/openai/tool_parsers/internlm2_tool_parser.py +++ b/vllm/entrypoints/openai/tool_parsers/internlm2_tool_parser.py @@ -89,7 +89,7 @@ class Internlm2ToolParser(ToolParser): try: parsable_arr = action - # tool calls are generated in an object in inernlm2 + # tool calls are generated in an object in internlm2 # it's not support parallel tool calls try: tool_call_arr: dict = partial_json_parser.loads( diff --git a/vllm/v1/sample/logits_processor/__init__.py b/vllm/v1/sample/logits_processor/__init__.py index a5f1cadd85241..df944873bcaf3 100644 --- a/vllm/v1/sample/logits_processor/__init__.py +++ b/vllm/v1/sample/logits_processor/__init__.py @@ -195,7 +195,7 @@ class AdapterLogitsProcessor(LogitsProcessor): overridden in general. However, to implement custom constructor behavior - especially any logic which operates on or stores `vllm_config`, `device`, or `is_pin_memory` - `self.__init__(vllm_config, device, is_pin_memory)` - must be overriden and the override must call + must be overridden and the override must call `super().__init__(vllm_config, device, is_pin_memory)` """