Skip to content

Commit

Permalink
[Bugfix][Hardware][CPU] Fix CPU model input for decode (#9044)
Browse files Browse the repository at this point in the history
  • Loading branch information
Isotr0py authored Oct 7, 2024
1 parent cb3b2b9 commit 487678d
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 487678d

Please sign in to comment.