mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 08:04:58 +08:00
fix doc (#622)
This commit is contained in:
parent
953f28cf9a
commit
aa39e42c5a
@ -224,7 +224,7 @@ class SchedulerConfig:
|
||||
a single iteration.
|
||||
max_num_seqs: Maximum number of sequences to be processed in a single
|
||||
iteration.
|
||||
max_seq_len: Maximum length of a sequence (including prompt
|
||||
max_model_len: Maximum length of a sequence (including prompt
|
||||
and generated text).
|
||||
"""
|
||||
|
||||
|
||||
@ -353,7 +353,7 @@ class LLMEngine:
|
||||
if stopped:
|
||||
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:
|
||||
self.scheduler.free_seq(
|
||||
seq, SequenceStatus.FINISHED_LENGTH_CAPPED)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user