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
2b63798c
Unverified
Commit
2b63798c
authored
May 04, 2025
by
Lifu Huang
Committed by
GitHub
May 04, 2025
Browse files
[Minor] Fix duplicate method definitions in conversation.py (#6012)
Signed-off-by:
Lifu Huang
<
lifu.hlf@gmail.com
>
parent
bf203cb7
Changes
1
Show 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 @
2b63798c
...
@@ -853,7 +853,7 @@ register_conv_template(
...
@@ -853,7 +853,7 @@ register_conv_template(
@
register_conv_template_matching_function
@
register_conv_template_matching_function
def
match_
deepseek_janus_pro
(
model_path
:
str
):
def
match_
llama_3_vision
(
model_path
:
str
):
if
(
if
(
"llama"
in
model_path
.
lower
()
"llama"
in
model_path
.
lower
()
and
"3.2"
in
model_path
.
lower
()
and
"3.2"
in
model_path
.
lower
()
...
...
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