[Misc] Remove useless code in cpu_worker (#5824)

This commit is contained in:
Jie Fu (傅杰) 2024-06-26 00:41:36 +08:00 committed by GitHub
parent 2ce5d6688b
commit 7b99314301
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)