Skip to content

Commit

Permalink
[Misc] Remove useless code in cpu_worker (vllm-project#5824)
Browse files Browse the repository at this point in the history
  • Loading branch information
DamonFool authored and prashantgupta24 committed Jul 1, 2024
1 parent 79df20a commit 1187a29
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vllm/worker/cpu_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@ def execute_model(
assert seq_group_metadata_list is not None
num_seq_groups: int = len(seq_group_metadata_list)
assert execute_model_req is not None
blocks_to_copy = execute_model_req.blocks_to_copy
blocks_to_copy = torch.tensor(execute_model_req.blocks_to_copy,
device="cpu",
dtype=torch.int64).view(-1, 2)
Expand Down

0 comments on commit 1187a29

Please sign in to comment.