Skip to content

Commit

Permalink
[Bugfix][CPU] fix missing input intermediate_tensors in the cpu_model…
Browse files Browse the repository at this point in the history
…_runner (vllm-project#8733)
  • Loading branch information
bigPYJ1151 authored Sep 23, 2024
1 parent e2de97c commit 1019d1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vllm/worker/cpu_model_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,8 @@ def execute_model(
model_input.attn_metadata,
**MultiModalInputs.as_kwargs(model_input.multi_modal_kwargs or {},
device=self.device),
"intermediate_tensors":
intermediate_tensors,
}

hidden_states = model_executable(**execute_model_kwargs)
Expand Down

0 comments on commit 1019d1e

Please sign in to comment.