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
change
sglang
Commits
9ce8e1a9
Unverified
Commit
9ce8e1a9
authored
Oct 25, 2024
by
Hui Liu
Committed by
GitHub
Oct 25, 2024
Browse files
move max_position_embeddings to the last (#1799)
parent
fb99aaa5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/srt/hf_transformers_utils.py
python/sglang/srt/hf_transformers_utils.py
+1
-1
No files found.
python/sglang/srt/hf_transformers_utils.py
View file @
9ce8e1a9
...
@@ -81,9 +81,9 @@ def get_config(
...
@@ -81,9 +81,9 @@ def get_config(
CONTEXT_LENGTH_KEYS
=
[
CONTEXT_LENGTH_KEYS
=
[
"max_sequence_length"
,
"max_sequence_length"
,
"seq_length"
,
"seq_length"
,
"max_position_embeddings"
,
"max_seq_len"
,
"max_seq_len"
,
"model_max_length"
,
"model_max_length"
,
"max_position_embeddings"
,
]
]
...
...
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