Skip to content

Commit

Permalink
ENH: Add support of sglang for llama 3 qwen 2 (xorbitsai#1947)
Browse files Browse the repository at this point in the history
  • Loading branch information
luweizheng authored Jul 27, 2024
1 parent aa51ff2 commit 202e6cb
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion xinference/model/llm/sglang/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,21 @@ class SGLANGGenerateConfig(TypedDict, total=False):
except ImportError:
SGLANG_INSTALLED = False

SGLANG_SUPPORTED_MODELS = ["llama-2", "mistral-v0.1", "mixtral-v0.1"]
SGLANG_SUPPORTED_MODELS = [
"llama-2",
"llama-3",
"llama-3.1",
"mistral-v0.1",
"mixtral-v0.1",
]
SGLANG_SUPPORTED_CHAT_MODELS = [
"llama-2-chat",
"llama-3-instruct",
"llama-3.1-instruct",
"qwen-chat",
"qwen1.5-chat",
"qwen2-instruct",
"qwen2-moe-instruct",
"mistral-instruct-v0.1",
"mistral-instruct-v0.2",
"mixtral-instruct-v0.1",
Expand Down

0 comments on commit 202e6cb

Please sign in to comment.