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
aa39e42c
Unverified
Commit
aa39e42c
authored
Aug 01, 2023
by
Chaofan Lin
Committed by
GitHub
Jul 31, 2023
Browse files
fix doc (#622)
parent
953f28cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
vllm/config.py
vllm/config.py
+1
-1
vllm/engine/llm_engine.py
vllm/engine/llm_engine.py
+1
-1
No files found.
vllm/config.py
View file @
aa39e42c
...
@@ -224,7 +224,7 @@ class SchedulerConfig:
...
@@ -224,7 +224,7 @@ class SchedulerConfig:
a single iteration.
a single iteration.
max_num_seqs: Maximum number of sequences to be processed in a single
max_num_seqs: Maximum number of sequences to be processed in a single
iteration.
iteration.
max_
seq
_len: Maximum length of a sequence (including prompt
max_
model
_len: Maximum length of a sequence (including prompt
and generated text).
and generated text).
"""
"""
...
...
vllm/engine/llm_engine.py
View file @
aa39e42c
...
@@ -353,7 +353,7 @@ class LLMEngine:
...
@@ -353,7 +353,7 @@ class LLMEngine:
if
stopped
:
if
stopped
:
continue
continue
# Check if the sequence has reached max_
seq
_len.
# Check if the sequence has reached max_
model
_len.
if
seq
.
get_len
()
>
self
.
scheduler_config
.
max_model_len
:
if
seq
.
get_len
()
>
self
.
scheduler_config
.
max_model_len
:
self
.
scheduler
.
free_seq
(
self
.
scheduler
.
free_seq
(
seq
,
SequenceStatus
.
FINISHED_LENGTH_CAPPED
)
seq
,
SequenceStatus
.
FINISHED_LENGTH_CAPPED
)
...
...
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