Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
norm
vllm
Commits
75c0ca9d
Unverified
Commit
75c0ca9d
authored
Aug 24, 2023
by
wenjun93
Committed by
GitHub
Aug 23, 2023
Browse files
Clean up code (#844)
parent
2a4ec908
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
vllm/core/scheduler.py
vllm/core/scheduler.py
+0
-3
No files found.
vllm/core/scheduler.py
View file @
75c0ca9d
...
@@ -379,9 +379,6 @@ class Scheduler:
...
@@ -379,9 +379,6 @@ class Scheduler:
seq_group
:
SequenceGroup
,
seq_group
:
SequenceGroup
,
blocks_to_swap_out
:
Dict
[
int
,
int
],
blocks_to_swap_out
:
Dict
[
int
,
int
],
)
->
None
:
)
->
None
:
seqs
=
seq_group
.
get_seqs
(
status
=
SequenceStatus
.
RUNNING
)
for
seq
in
seqs
:
seq
.
status
=
SequenceStatus
.
SWAPPED
self
.
_swap_out
(
seq_group
,
blocks_to_swap_out
)
self
.
_swap_out
(
seq_group
,
blocks_to_swap_out
)
self
.
swapped
.
append
(
seq_group
)
self
.
swapped
.
append
(
seq_group
)
...
...
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