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
f61dc807
Unverified
Commit
f61dc807
authored
Oct 20, 2023
by
Light Lin
Committed by
GitHub
Oct 20, 2023
Browse files
Fix type hints (#1427)
parent
f8a1e39f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/core/scheduler.py
vllm/core/scheduler.py
+1
-1
No files found.
vllm/core/scheduler.py
View file @
f61dc807
...
@@ -275,7 +275,7 @@ class Scheduler:
...
@@ -275,7 +275,7 @@ class Scheduler:
# Create input data structures.
# Create input data structures.
seq_group_metadata_list
:
List
[
SequenceGroupMetadata
]
=
[]
seq_group_metadata_list
:
List
[
SequenceGroupMetadata
]
=
[]
for
seq_group
in
scheduler_outputs
.
scheduled_seq_groups
:
for
seq_group
in
scheduler_outputs
.
scheduled_seq_groups
:
seq_data
:
Dict
[
int
,
List
[
SequenceData
]
]
=
{}
seq_data
:
Dict
[
int
,
SequenceData
]
=
{}
block_tables
:
Dict
[
int
,
List
[
int
]]
=
{}
block_tables
:
Dict
[
int
,
List
[
int
]]
=
{}
for
seq
in
seq_group
.
get_seqs
(
status
=
SequenceStatus
.
RUNNING
):
for
seq
in
seq_group
.
get_seqs
(
status
=
SequenceStatus
.
RUNNING
):
seq_id
=
seq
.
seq_id
seq_id
=
seq
.
seq_id
...
...
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