Unverified Commit 7b993143 authored by Jie Fu (傅杰)'s avatar Jie Fu (傅杰) Committed by GitHub
Browse files

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

parent 2ce5d668
...@@ -277,7 +277,6 @@ class CPUWorker(LoraNotSupportedWorkerBase): ...@@ -277,7 +277,6 @@ class CPUWorker(LoraNotSupportedWorkerBase):
assert seq_group_metadata_list is not None assert seq_group_metadata_list is not None
num_seq_groups: int = len(seq_group_metadata_list) num_seq_groups: int = len(seq_group_metadata_list)
assert execute_model_req is not None 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, blocks_to_copy = torch.tensor(execute_model_req.blocks_to_copy,
device="cpu", device="cpu",
dtype=torch.int64).view(-1, 2) dtype=torch.int64).view(-1, 2)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment