Co-authored-by: Qubitium <417764+Qubitium@users.noreply.github.com> Co-authored-by: ZX <zx@lbx.dev>
37 lines
1.2 KiB
TOML
37 lines
1.2 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "sglang"
|
|
version = "0.1.16"
|
|
description = "A structured generation langauge for LLMs."
|
|
readme = "README.md"
|
|
requires-python = ">=3.8"
|
|
license = {file = "LICENSE"}
|
|
classifiers = [
|
|
"Programming Language :: Python :: 3",
|
|
"License :: OSI Approved :: Apache Software License",
|
|
]
|
|
dependencies = [
|
|
"requests",
|
|
"tqdm",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
srt = ["aiohttp", "fastapi", "psutil", "rpyc", "torch", "uvloop", "uvicorn",
|
|
"zmq", "vllm==0.4.3", "interegular", "pydantic", "pillow", "packaging", "huggingface_hub", "hf_transfer", "outlines>=0.0.34"]
|
|
openai = ["openai>=1.0", "numpy", "tiktoken"]
|
|
anthropic = ["anthropic>=0.20.0", "numpy"]
|
|
all = ["sglang[srt]", "sglang[openai]", "sglang[anthropic]"]
|
|
|
|
[project.urls]
|
|
"Homepage" = "https://github.com/sgl-project/sglang"
|
|
"Bug Tracker" = "https://github.com/sgl-project/sglang/issues"
|
|
|
|
[tool.setuptools.packages.find]
|
|
exclude = ["assets*", "benchmark*", "docs*", "dist*", "playground*", "scripts*", "tests*"]
|
|
|
|
[tool.wheel]
|
|
exclude = ["assets*", "benchmark*", "docs*", "dist*", "playground*", "scripts*", "tests*"]
|