chore: update pyproject (#11420)
This commit is contained in:
@@ -82,16 +82,9 @@ srt_hip = [
|
|||||||
"wave-lang==3.7.0",
|
"wave-lang==3.7.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
# https://docs.sglang.ai/platforms/cpu_server.html
|
|
||||||
srt_cpu = ["sglang[runtime_common]", "intel-openmp"]
|
|
||||||
|
|
||||||
# https://docs.sglang.ai/platforms/ascend_npu.html
|
# https://docs.sglang.ai/platforms/ascend_npu.html
|
||||||
srt_npu = ["sglang[runtime_common]"]
|
srt_npu = ["sglang[runtime_common]"]
|
||||||
|
|
||||||
# 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
|
|
||||||
srt_xpu = ["sglang[runtime_common]"]
|
|
||||||
|
|
||||||
# For Intel Gaudi(device : hpu) follow the installation guide
|
# For Intel Gaudi(device : hpu) follow the installation guide
|
||||||
# https://docs.vllm.ai/en/latest/getting_started/gaudi-installation.html
|
# https://docs.vllm.ai/en/latest/getting_started/gaudi-installation.html
|
||||||
srt_hpu = ["sglang[runtime_common]"]
|
srt_hpu = ["sglang[runtime_common]"]
|
||||||
@@ -114,16 +107,12 @@ test = [
|
|||||||
]
|
]
|
||||||
all = ["sglang[srt]", "sglang[openai]", "sglang[anthropic]", "sglang[torch_memory_saver]", "sglang[decord]"]
|
all = ["sglang[srt]", "sglang[openai]", "sglang[anthropic]", "sglang[torch_memory_saver]", "sglang[decord]"]
|
||||||
all_hip = ["sglang[srt_hip]", "sglang[openai]", "sglang[anthropic]", "sglang[decord]"]
|
all_hip = ["sglang[srt_hip]", "sglang[openai]", "sglang[anthropic]", "sglang[decord]"]
|
||||||
all_xpu = ["sglang[srt_xpu]", "sglang[openai]", "sglang[anthropic]", "sglang[decord]"]
|
|
||||||
all_hpu = ["sglang[srt_hpu]", "sglang[openai]", "sglang[anthropic]", "sglang[decord]"]
|
all_hpu = ["sglang[srt_hpu]", "sglang[openai]", "sglang[anthropic]", "sglang[decord]"]
|
||||||
all_cpu = ["sglang[srt_cpu]", "sglang[openai]", "sglang[anthropic]", "sglang[decord]"]
|
|
||||||
all_npu = ["sglang[srt_npu]", "sglang[openai]", "sglang[anthropic]", "sglang[decord]"]
|
all_npu = ["sglang[srt_npu]", "sglang[openai]", "sglang[anthropic]", "sglang[decord]"]
|
||||||
|
|
||||||
dev = ["sglang[all]", "sglang[test]"]
|
dev = ["sglang[all]", "sglang[test]"]
|
||||||
dev_hip = ["sglang[all_hip]", "sglang[test]"]
|
dev_hip = ["sglang[all_hip]", "sglang[test]"]
|
||||||
dev_xpu = ["sglang[all_xpu]", "sglang[test]"]
|
|
||||||
dev_hpu = ["sglang[all_hpu]", "sglang[test]"]
|
dev_hpu = ["sglang[all_hpu]", "sglang[test]"]
|
||||||
dev_cpu = ["sglang[all_cpu]", "sglang[test]"]
|
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
"Homepage" = "https://github.com/sgl-project/sglang"
|
"Homepage" = "https://github.com/sgl-project/sglang"
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ def main():
|
|||||||
Path("docs/platforms/ascend_npu.md"),
|
Path("docs/platforms/ascend_npu.md"),
|
||||||
Path("python/pyproject.toml"),
|
Path("python/pyproject.toml"),
|
||||||
Path("python/pyproject_other.toml"),
|
Path("python/pyproject_other.toml"),
|
||||||
|
Path("python/pyproject_cpu.toml"),
|
||||||
|
Path("python/pyproject_xpu.toml"),
|
||||||
Path("python/sglang/version.py"),
|
Path("python/sglang/version.py"),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user