pyproject.toml 1.46 KB
Newer Older
Lianmin Zheng's avatar
Lianmin Zheng committed
1
2
3
4
5
6
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "sglang"
Lianmin Zheng's avatar
Lianmin Zheng committed
7
version = "0.3.3.post1"
8
description = "SGLang is yet another fast serving framework for large language models and vision language models."
Lianmin Zheng's avatar
Lianmin Zheng committed
9
10
11
12
13
14
15
16
17
readme = "README.md"
requires-python = ">=3.8"
license = {file = "LICENSE"}
classifiers = [
    "Programming Language :: Python :: 3",
    "License :: OSI Approved :: Apache Software License",
]
dependencies = [
    "requests",
Jani Monoses's avatar
Jani Monoses committed
18
    "tqdm",
19
    "numpy",
Lianmin Zheng's avatar
Lianmin Zheng committed
20
21
22
]

[project.optional-dependencies]
23
srt = ["aiohttp", "decord", "fastapi", "hf_transfer", "huggingface_hub", "interegular",
24
       "packaging", "pillow", "psutil", "pydantic", "python-multipart",
25
       "torch", "torchao", "uvicorn", "uvloop", "zmq",
26
       "vllm==0.5.5", "outlines>=0.0.44", "modelscope"]
27
28
openai = ["openai>=1.0", "tiktoken"]
anthropic = ["anthropic>=0.20.0"]
胡译文's avatar
胡译文 committed
29
litellm = ["litellm>=1.0.0"]
30
test = ["jsonlines", "matplotlib", "pandas", "sentence_transformers", "accelerate", "peft"]
胡译文's avatar
胡译文 committed
31
all = ["sglang[srt]", "sglang[openai]", "sglang[anthropic]", "sglang[litellm]"]
32
dev = ["sglang[all]", "sglang[test]"]
Lianmin Zheng's avatar
Lianmin Zheng committed
33

Lianmin Zheng's avatar
Lianmin Zheng committed
34
35
36
37
[project.urls]
"Homepage" = "https://github.com/sgl-project/sglang"
"Bug Tracker" = "https://github.com/sgl-project/sglang/issues"

Lianmin Zheng's avatar
Lianmin Zheng committed
38
39
40
41
[tool.setuptools.packages.find]
exclude = ["assets*", "benchmark*", "docs*", "dist*", "playground*", "scripts*", "tests*"]

[tool.wheel]
42
exclude = ["assets*", "benchmark*", "docs*", "dist*", "playground*", "scripts*", "tests*"]