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
0d578228
Unverified
Commit
0d578228
authored
Nov 10, 2023
by
Sin
Committed by
GitHub
Nov 09, 2023
Browse files
config parser: add ChatGLM2 seq_length to `_get_and_verify_max_len` (#1617)
parent
aebfcb26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vllm/config.py
vllm/config.py
+2
-0
No files found.
vllm/config.py
View file @
0d578228
...
@@ -368,6 +368,8 @@ def _get_and_verify_max_len(
...
@@ -368,6 +368,8 @@ def _get_and_verify_max_len(
"n_positions"
,
"n_positions"
,
# MPT
# MPT
"max_seq_len"
,
"max_seq_len"
,
# ChatGLM2
"seq_length"
,
# Others
# Others
"max_sequence_length"
,
"max_sequence_length"
,
"max_seq_length"
,
"max_seq_length"
,
...
...
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