Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Pitters <tobias.pitters@gmail.com>
  • Loading branch information
CloseChoice committed Jan 1, 2025
1 parent 9140480 commit adba9b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions vllm/worker/cpu_model_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,7 @@ def __init__(self,
self.multi_modal_input_mapper = self.runner.multi_modal_input_mapper
self.input_data = ModelInputForCPUBuilder.ModelInputData(
self.runner.model_config.uses_mrope)
self.att_metadata_builder = self.attn_backend.get_builder_cls()(
self)
self.att_metadata_builder = self.attn_backend.get_builder_cls()(self)

def add_seq_group(self, seq_group_metadata: SequenceGroupMetadata):
self.seq_group_metadata_list.append(seq_group_metadata)
Expand Down
2 changes: 1 addition & 1 deletion vllm/worker/openvino_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def execute_model(

blocks_to_copy: List[Tuple[int, int]]
blocks_to_swap_in: List[Tuple[int, int]]
blocks_to_swap_out: List[Tuple[int, int]]
blocks_to_swap_out: List[Tuple[int, int]]

if self.is_driver_worker:
assert seq_group_metadata_list is not None
Expand Down

0 comments on commit adba9b5

Please sign in to comment.