Skip to content

[Frontend] Optimize beam search loop by sorting and then splicing #65182

[Frontend] Optimize beam search loop by sorting and then splicing

[Frontend] Optimize beam search loop by sorting and then splicing #65182

Triggered via pull request November 18, 2025 22:46
Status Failure
Total duration 3m 35s
Artifacts

pre-commit.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
pre-commit
Process completed with exit code 1.
pre-commit: vllm/entrypoints/openai/serving_engine.py#L506
Value of type "FlatLogprobs | list[dict[int, Logprob]] | None" is not indexable [index]
pre-commit: vllm/entrypoints/openai/serving_engine.py#L482
Value of type "FlatLogprobs | list[dict[int, Logprob]] | None" is not indexable [index]
pre-commit: vllm/entrypoints/openai/serving_engine.py#L506
Value of type "FlatLogprobs | list[dict[int, Logprob]] | None" is not indexable [index]
pre-commit: vllm/entrypoints/openai/serving_engine.py#L482
Value of type "FlatLogprobs | list[dict[int, Logprob]] | None" is not indexable [index]
pre-commit: vllm/entrypoints/openai/serving_engine.py#L506
Value of type "FlatLogprobs | list[dict[int, Logprob]] | None" is not indexable [index]
pre-commit: vllm/entrypoints/openai/serving_engine.py#L482
Value of type "FlatLogprobs | list[dict[int, Logprob]] | None" is not indexable [index]
pre-commit: vllm/entrypoints/openai/serving_engine.py#L506
Value of type "FlatLogprobs | list[dict[int, Logprob]] | None" is not indexable [index]
pre-commit: vllm/entrypoints/openai/serving_engine.py#L482
Value of type "FlatLogprobs | list[dict[int, Logprob]] | None" is not indexable [index]