From 21745221a30d357784f04513893f8405cf1bf2e3 Mon Sep 17 00:00:00 2001 From: weiguihua2 Date: Sat, 20 Dec 2025 18:24:04 +0800 Subject: [PATCH] [lint]clean code (#5218) ### What this PR does / why we need it? Fix lint error inreoduced by https://github.com/vllm-project/vllm-ascend/pull/5141 - vLLM version: release/v0.13.0 - vLLM main: https://github.com/vllm-project/vllm/commit/ad32e3e19ccf0526cb6744a5fed09a138a5fb2f9 Signed-off-by: weiguihua2 --- tests/e2e/multicard/long_sequence/test_accuracy.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/e2e/multicard/long_sequence/test_accuracy.py b/tests/e2e/multicard/long_sequence/test_accuracy.py index 7f920c9a..a8bbf50a 100644 --- a/tests/e2e/multicard/long_sequence/test_accuracy.py +++ b/tests/e2e/multicard/long_sequence/test_accuracy.py @@ -81,17 +81,17 @@ def test_output_between_tp_and_cp( } cp_full_kwargs = {} - cp_full_kwargs.update(common_kwargs) - cp_full_kwargs.update(cp_kwargs) + cp_full_kwargs.update(common_kwargs) # type: ignore + cp_full_kwargs.update(cp_kwargs) # type: ignore tp_full_kwargs = {} - tp_full_kwargs.update(common_kwargs) - tp_full_kwargs.update(tp_kwargs) - with VllmRunner(model, **cp_full_kwargs) as runner: + tp_full_kwargs.update(common_kwargs) # type: ignore + tp_full_kwargs.update(tp_kwargs) # type: ignore + with VllmRunner(model, **cp_full_kwargs) as runner: # type: ignore vllm_context_parallel_outputs = runner.generate_greedy( prompts, max_tokens) - with VllmRunner(model, **tp_full_kwargs) as runner: + with VllmRunner(model, **tp_full_kwargs) as runner: # type: ignore vllm_eager_outputs = runner.generate_greedy(prompts, max_tokens) check_outputs_equal(