Sort pyproject dependency lists (#28811)
This commit is contained in:
+26
-25
@@ -1,5 +1,5 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=61.0", "setuptools-scm>=8.0", "setuptools-rust>=1.10", "wheel"]
|
||||
requires = ["setuptools>=61.0", "setuptools-rust>=1.10", "setuptools-scm>=8.0", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
@@ -14,35 +14,40 @@ classifiers = [
|
||||
"License :: OSI Approved :: Apache Software License",
|
||||
]
|
||||
|
||||
# Please keep dependency lists in this file sorted alphabetically by package name.
|
||||
dependencies = [
|
||||
"IPython",
|
||||
"aiohttp",
|
||||
"apache-tvm-ffi==0.1.9",
|
||||
"anthropic>=0.20.0",
|
||||
"apache-tvm-ffi==0.1.9",
|
||||
"av ; sys_platform == 'linux' and (platform_machine == 'aarch64' or platform_machine == 'arm64' or platform_machine == 'armv7l')",
|
||||
"blobfile==3.0.0",
|
||||
"build",
|
||||
"compressed-tensors",
|
||||
"cuda-python>=13.0",
|
||||
"decord2 ; sys_platform == 'linux' and (platform_machine == 'aarch64' or platform_machine == 'arm64' or platform_machine == 'armv7l')",
|
||||
"datasets",
|
||||
"decord2 ; sys_platform == 'linux' and (platform_machine == 'aarch64' or platform_machine == 'arm64' or platform_machine == 'armv7l')",
|
||||
"distro",
|
||||
"easydict", # Required by remote model code (e.g. DeepSeek-OCR) loaded via trust_remote_code; validated by transformers 5.4+ check_imports
|
||||
"einops",
|
||||
"fastapi",
|
||||
"flashinfer_python[cu13]==0.6.12", # keep it aligned with jit-cache version in Dockerfile
|
||||
"flash-attn-4>=4.0.0b9",
|
||||
"flashinfer_cubin==0.6.12",
|
||||
"flashinfer_python[cu13]==0.6.12", # keep it aligned with jit-cache version in Dockerfile
|
||||
"gguf",
|
||||
"interegular",
|
||||
"IPython",
|
||||
"kernels>=0.14.1,<0.15",
|
||||
"llguidance>=0.7.11,<0.8.0",
|
||||
"mistral_common>=1.11.0",
|
||||
"modelscope",
|
||||
"msgspec",
|
||||
"ninja",
|
||||
"easydict", # Required by remote model code (e.g. DeepSeek-OCR) loaded via trust_remote_code; validated by transformers 5.4+ check_imports
|
||||
"numpy",
|
||||
"nvidia-cutlass-dsl[cu13]==4.5.2",
|
||||
"nvidia-ml-py",
|
||||
"nvidia-mathdx==25.6.0",
|
||||
"openai-harmony==0.0.4",
|
||||
"nvidia-ml-py",
|
||||
"openai==2.6.1",
|
||||
"openai-harmony==0.0.4",
|
||||
"orjson",
|
||||
"outlines==0.1.11",
|
||||
"packaging",
|
||||
@@ -60,30 +65,26 @@ dependencies = [
|
||||
"scipy",
|
||||
"sentencepiece",
|
||||
"setproctitle",
|
||||
"flash-attn-4>=4.0.0b9",
|
||||
"sgl-deep-gemm==0.1.3",
|
||||
"sglang-kernel==0.4.4",
|
||||
"smg-grpc-servicer>=0.5.0",
|
||||
"soundfile==0.13.1",
|
||||
"tiktoken",
|
||||
"tilelang==0.1.8",
|
||||
"timm==1.0.16",
|
||||
"tokenspeed_mla==0.1.6",
|
||||
"torch_memory_saver>=0.0.9.post1",
|
||||
"torch==2.11.0",
|
||||
"torch_memory_saver>=0.0.9.post1",
|
||||
"torchao==0.17.0",
|
||||
"torchaudio==2.11.0",
|
||||
"torchcodec==0.11.1 ; sys_platform != 'linux' or (sys_platform == 'linux' and platform_machine != 'aarch64' and platform_machine != 'arm64' and platform_machine != 'armv7l')", # torchcodec 0.11.1 for torch 2.11.x (0.10 is ABI-incompatible: references the pre-2.11 c10::MessageLogger ctor signature). Not available on Linux ARM.
|
||||
"av ; sys_platform == 'linux' and (platform_machine == 'aarch64' or platform_machine == 'arm64' or platform_machine == 'armv7l')",
|
||||
"torchvision",
|
||||
"tqdm",
|
||||
"mistral_common>=1.11.0",
|
||||
"transformers==5.8.1",
|
||||
"uvicorn",
|
||||
"uvloop",
|
||||
"watchfiles",
|
||||
"xgrammar==0.2.1",
|
||||
"smg-grpc-servicer>=0.5.0",
|
||||
"kernels>=0.14.1,<0.15",
|
||||
]
|
||||
|
||||
[[tool.uv.index]]
|
||||
@@ -95,7 +96,9 @@ default = true
|
||||
checkpoint-engine = ["checkpoint-engine==0.1.2"]
|
||||
runai = ["runai-model-streamer[s3,gcs,azure]>=0.15.7"]
|
||||
diffusion = [
|
||||
"PyYAML==6.0.1",
|
||||
"addict==2.4.0",
|
||||
"av==16.1.0",
|
||||
"cache-dit==1.3.0",
|
||||
"cloudpickle==3.1.2",
|
||||
"diffusers==0.37.0",
|
||||
"imageio==2.36.0",
|
||||
@@ -103,15 +106,13 @@ diffusion = [
|
||||
"moviepy>=2.0.0",
|
||||
"nvidia-modelopt",
|
||||
"opencv-python-headless==4.10.0.84",
|
||||
"PyYAML==6.0.1",
|
||||
"remote-pdb==2.1.0",
|
||||
"st_attn==0.0.7 ; platform_machine != 'aarch64' and platform_machine != 'arm64'",
|
||||
"vsa==0.0.4 ; platform_machine != 'aarch64' and platform_machine != 'arm64'",
|
||||
"runai_model_streamer>=0.15.7",
|
||||
"cache-dit==1.3.0",
|
||||
"addict==2.4.0",
|
||||
"av==16.1.0",
|
||||
"scikit-image==0.25.2",
|
||||
"st_attn==0.0.7 ; platform_machine != 'aarch64' and platform_machine != 'arm64'",
|
||||
"trimesh>=4.0.0",
|
||||
"vsa==0.0.4 ; platform_machine != 'aarch64' and platform_machine != 'arm64'",
|
||||
"websockets",
|
||||
"xatlas",
|
||||
]
|
||||
@@ -139,7 +140,9 @@ test = [
|
||||
"accelerate",
|
||||
"addict",
|
||||
"bitsandbytes",
|
||||
"diff-cover",
|
||||
"expecttest",
|
||||
"granian>=2.6.0",
|
||||
"jsonlines",
|
||||
"lm-eval[api]>=0.4.9.2",
|
||||
"matplotlib",
|
||||
@@ -149,24 +152,22 @@ test = [
|
||||
"polars",
|
||||
"pytest",
|
||||
"pytest-cov",
|
||||
"diff-cover",
|
||||
"sentence_transformers",
|
||||
"sglang[fastokens]",
|
||||
"tabulate",
|
||||
"granian>=2.6.0",
|
||||
]
|
||||
|
||||
dev = ["sglang[test]"]
|
||||
|
||||
all = [
|
||||
"sglang[diffusion]",
|
||||
"sglang[tracing]",
|
||||
"sglang[http2]",
|
||||
"sglang[tracing]",
|
||||
]
|
||||
|
||||
[tool.uv.extra-build-dependencies]
|
||||
st-attn = ["torch", "setuptools"]
|
||||
vsa = ["torch", "setuptools"]
|
||||
st-attn = ["setuptools", "torch"]
|
||||
vsa = ["setuptools", "torch"]
|
||||
|
||||
[project.urls]
|
||||
"Homepage" = "https://github.com/sgl-project/sglang"
|
||||
|
||||
Reference in New Issue
Block a user