Skip to content

Commit 0d57822

Browse files
authored
config parser: add ChatGLM2 seq_length to _get_and_verify_max_len (#1617)
1 parent aebfcb2 commit 0d57822

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vllm/config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,8 @@ def _get_and_verify_max_len(
368368
"n_positions",
369369
# MPT
370370
"max_seq_len",
371+
# ChatGLM2
372+
"seq_length",
371373
# Others
372374
"max_sequence_length",
373375
"max_seq_length",

0 commit comments

Comments
 (0)