Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
7b993143
"vscode:/vscode.git/clone" did not exist on "6f5c0931c1f618b2ca8668d114fec2d26cecfd8c"
Unverified
Commit
7b993143
authored
Jun 26, 2024
by
Jie Fu (傅杰)
Committed by
GitHub
Jun 25, 2024
Browse files
[Misc] Remove useless code in cpu_worker (#5824)
parent
2ce5d668
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
vllm/worker/cpu_worker.py
vllm/worker/cpu_worker.py
+0
-1
No files found.
vllm/worker/cpu_worker.py
View file @
7b993143
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment