2024-01-08 04:37:50 +00:00
|
|
|
[build-system]
|
|
|
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
|
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
|
|
|
|
|
|
[project]
|
|
|
|
|
name = "sglang"
|
2024-10-11 07:56:16 -07:00
|
|
|
version = "0.3.3.post1"
|
2024-07-20 02:27:39 +10:00
|
|
|
description = "SGLang is yet another fast serving framework for large language models and vision language models."
|
2024-01-08 04:37:50 +00:00
|
|
|
readme = "README.md"
|
|
|
|
|
requires-python = ">=3.8"
|
|
|
|
|
license = {file = "LICENSE"}
|
|
|
|
|
classifiers = [
|
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
|
"License :: OSI Approved :: Apache Software License",
|
|
|
|
|
]
|
|
|
|
|
dependencies = [
|
|
|
|
|
"requests",
|
2024-03-23 19:15:58 +02:00
|
|
|
"tqdm",
|
2024-06-10 21:13:50 +02:00
|
|
|
"numpy",
|
2024-01-08 04:37:50 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[project.optional-dependencies]
|
2024-10-13 02:10:32 +08:00
|
|
|
runtime_common = ["aiohttp", "decord", "fastapi", "hf_transfer", "huggingface_hub", "interegular",
|
|
|
|
|
"packaging", "pillow", "psutil", "pydantic", "python-multipart",
|
|
|
|
|
"torchao", "uvicorn", "uvloop", "zmq",
|
|
|
|
|
"outlines>=0.0.44", "modelscope"]
|
|
|
|
|
torch = ["torch"]
|
|
|
|
|
# xpu is not enabled in public vllm and torch whl,
|
|
|
|
|
# need to follow https://docs.vllm.ai/en/latest/getting_started/xpu-installation.htmlinstall vllm
|
|
|
|
|
vllm = ["vllm==0.5.5"]
|
|
|
|
|
srt = ["sglang[runtime_common]", "torch", "vllm"]
|
|
|
|
|
srt_xpu = ["sglang[runtime_common]"]
|
|
|
|
|
|
2024-06-10 21:13:50 +02:00
|
|
|
openai = ["openai>=1.0", "tiktoken"]
|
|
|
|
|
anthropic = ["anthropic>=0.20.0"]
|
2024-06-08 03:24:28 +08:00
|
|
|
litellm = ["litellm>=1.0.0"]
|
2024-09-12 16:46:14 -07:00
|
|
|
test = ["jsonlines", "matplotlib", "pandas", "sentence_transformers", "accelerate", "peft"]
|
2024-06-08 03:24:28 +08:00
|
|
|
all = ["sglang[srt]", "sglang[openai]", "sglang[anthropic]", "sglang[litellm]"]
|
2024-10-13 02:10:32 +08:00
|
|
|
all_xpu = ["sglang[srt_xpu]", "sglang[openai]", "sglang[anthropic]", "sglang[litellm]"]
|
2024-08-04 18:15:23 -07:00
|
|
|
dev = ["sglang[all]", "sglang[test]"]
|
2024-10-13 02:10:32 +08:00
|
|
|
dev_xpu = ["sglang[all_xpu]", "sglang[test]"]
|
2024-01-08 04:37:50 +00:00
|
|
|
|
2024-01-15 01:15:53 -08:00
|
|
|
[project.urls]
|
|
|
|
|
"Homepage" = "https://github.com/sgl-project/sglang"
|
|
|
|
|
"Bug Tracker" = "https://github.com/sgl-project/sglang/issues"
|
|
|
|
|
|
2024-01-08 04:37:50 +00:00
|
|
|
[tool.setuptools.packages.find]
|
|
|
|
|
exclude = ["assets*", "benchmark*", "docs*", "dist*", "playground*", "scripts*", "tests*"]
|
|
|
|
|
|
|
|
|
|
[tool.wheel]
|
2024-05-13 17:29:17 -07:00
|
|
|
exclude = ["assets*", "benchmark*", "docs*", "dist*", "playground*", "scripts*", "tests*"]
|