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
b602f423
Unverified
Commit
b602f423
authored
Jul 27, 2025
by
Xinyuan Tong
Committed by
GitHub
Jul 27, 2025
Browse files
Urgent Fix: intern-s1 chat-template matching (#8403)
Signed-off-by:
Xinyuan Tong
<
justinning0323@outlook.com
>
parent
426b7493
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/srt/conversation.py
python/sglang/srt/conversation.py
+1
-1
No files found.
python/sglang/srt/conversation.py
View file @
b602f423
...
...
@@ -999,7 +999,7 @@ register_conv_template(
def
match_internvl
(
model_path
:
str
):
if
re
.
search
(
r
"internvl"
,
model_path
,
re
.
IGNORECASE
):
return
"internvl-2-5"
if
re
.
search
(
r
"interns1"
,
model_path
,
re
.
IGNORECASE
):
if
re
.
search
(
r
"intern
.*
s1"
,
model_path
,
re
.
IGNORECASE
):
return
"interns1"
...
...
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