mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 01:55:01 +08:00
[Misc] Remove useless code in cpu_worker (#5824)
This commit is contained in:
parent
2ce5d6688b
commit
7b99314301
@ -277,7 +277,6 @@ class CPUWorker(LoraNotSupportedWorkerBase):
|
||||
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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user