Skip to content

Commit

Permalink
fix cpu input type
Browse files Browse the repository at this point in the history
  • Loading branch information
Isotr0py committed Oct 7, 2024
1 parent 6006118 commit 1e2d246
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vllm/worker/cpu_model_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,8 @@ def load_model(self) -> None:
def make_model_input_from_broadcasted_tensor_dict(
self,
tensor_dict: Dict[str, Any],
) -> ModelInputForCPU:
return ModelInputForCPU.from_broadcasted_tensor_dict(
) -> ModelInputForCPUWithSamplingMetadata:
return ModelInputForCPUWithSamplingMetadata.from_broadcasted_tensor_dict( # noqa: E501
tensor_dict,
attn_backend=self.attn_backend,
)
Expand Down

0 comments on commit 1e2d246

Please sign in to comment.