2024-01-08 04:37:50 +00:00
|
|
|
[build-system]
|
|
|
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
|
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
|
|
|
|
|
|
[project]
|
|
|
|
|
name = "sglang"
|
2024-09-04 06:32:18 +10:00
|
|
|
version = "0.3.0"
|
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-08-24 05:11:16 +08:00
|
|
|
srt = ["aiohttp", "decord", "fastapi", "hf_transfer", "huggingface_hub", "interegular",
|
2024-08-03 23:09:21 -07:00
|
|
|
"packaging", "pillow", "psutil", "pydantic", "python-multipart",
|
2024-09-09 05:32:41 -07:00
|
|
|
"torch", "torchao", "uvicorn", "uvloop", "zmq",
|
2024-08-27 00:28:24 +10:00
|
|
|
"vllm==0.5.5", "outlines>=0.0.44"]
|
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-08-25 21:26:31 -07:00
|
|
|
test = ["jsonlines", "matplotlib", "pandas", "sentence_transformers", "accelerate"]
|
2024-06-08 03:24:28 +08:00
|
|
|
all = ["sglang[srt]", "sglang[openai]", "sglang[anthropic]", "sglang[litellm]"]
|
2024-08-04 18:15:23 -07:00
|
|
|
dev = ["sglang[all]", "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*"]
|