Skip to content

Commit

Permalink
[Bugfix][Hardware][CPU] Fix CPU model input for decode (vllm-project#…
Browse files Browse the repository at this point in the history
…9044)

Signed-off-by: Alvant <alvasian@yandex.ru>
  • Loading branch information
Isotr0py authored and Alvant committed Oct 26, 2024
1 parent 9db54b6 commit 2eaac16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/worker/cpu_model_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def build(self) -> ModelInputForCPU:
(input_tokens, input_positions,
attn_metadata) = self._prepare_decode(
self.seq_group_metadata_list)
seq_lens = []
seq_lens = None

return self.model_input_cls(
input_tokens=input_tokens,
Expand Down

0 comments on commit 2eaac16

Please sign in to comment.