Skip to content

Commit

Permalink
refactor: clean code to match origin/main
Browse files Browse the repository at this point in the history
  • Loading branch information
Luodian committed Aug 14, 2024
1 parent 5a53c41 commit 59f2a1c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion python/sglang/lang/chat_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,6 @@ def match_chat_ml(model_path: str):
or "llava-next-video-34b" in model_path
or "llava-onevision-qwen2" in model_path
):
print("######################## Matched chatml-llava ########################")
return get_chat_template("chatml-llava")


Expand Down
11 changes: 0 additions & 11 deletions python/sglang/srt/conversation.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,17 +464,6 @@ def generate_chat_conv(
)
)

# conv_qwen = Conversation(
# system="""<|im_start|>system
# You are a helpful assistant.""",
# roles=("<|im_start|>user", "<|im_start|>assistant"),
# version="qwen",
# messages=[],
# offset=0,
# sep_style=SeparatorStyle.CHATML,
# sep="<|im_end|>",
# )

register_conv_template(
Conversation(
name="vicuna_v1.1",
Expand Down

0 comments on commit 59f2a1c

Please sign in to comment.