From 76c9cccc368fde7f1b8d8a546e3638f4f434c8fd Mon Sep 17 00:00:00 2001 From: anthonsu <50185138+anthonsu@users.noreply.github.com> Date: Mon, 27 Apr 2026 23:42:47 -0700 Subject: [PATCH] [Core] Fix redundant None append in StepPool.forward for chunked prefill (#41049) Signed-off-by: Anthony Su --- vllm/model_executor/layers/pooler/tokwise/methods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vllm/model_executor/layers/pooler/tokwise/methods.py b/vllm/model_executor/layers/pooler/tokwise/methods.py index 9ee6e8527c9..523e8e4c9a9 100644 --- a/vllm/model_executor/layers/pooler/tokwise/methods.py +++ b/vllm/model_executor/layers/pooler/tokwise/methods.py @@ -111,7 +111,7 @@ class StepPool(AllPool): if step_tag_id is not None: data = data[token_id == step_tag_id] - pooled_data.append(data) + pooled_data.append(data) return pooled_data