2024-01-08 04:37:50 +00:00
|
|
|
[build-system]
|
|
|
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
|
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
|
|
|
|
|
|
[project]
|
|
|
|
|
name = "sglang"
|
2024-06-07 19:49:18 -07:00
|
|
|
version = "0.1.17"
|
2024-06-08 03:24:28 +08:00
|
|
|
description = "A structured generation langauge for LLMs."
|
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-01-08 04:37:50 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[project.optional-dependencies]
|
2024-01-24 01:51:21 -08:00
|
|
|
srt = ["aiohttp", "fastapi", "psutil", "rpyc", "torch", "uvloop", "uvicorn",
|
2024-06-07 12:11:31 -07:00
|
|
|
"zmq", "vllm==0.4.3", "interegular", "pydantic", "pillow", "packaging", "huggingface_hub", "hf_transfer", "outlines>=0.0.34"]
|
2024-03-23 19:15:58 +02:00
|
|
|
openai = ["openai>=1.0", "numpy", "tiktoken"]
|
2024-03-22 22:23:31 +02:00
|
|
|
anthropic = ["anthropic>=0.20.0", "numpy"]
|
2024-06-08 03:24:28 +08:00
|
|
|
litellm = ["litellm>=1.0.0"]
|
|
|
|
|
all = ["sglang[srt]", "sglang[openai]", "sglang[anthropic]", "sglang[litellm]"]
|
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*"]
|