Sort pyproject dependency lists (#28811)

This commit is contained in:
Lianmin Zheng
2026-06-20 17:24:57 -07:00
committed by GitHub
parent f42ec350b4
commit 8a3d6c3403
6 changed files with 111 additions and 105 deletions
+17 -16
View File
@@ -14,33 +14,30 @@ classifiers = [
"License :: OSI Approved :: Apache Software License",
]
# Please keep dependency lists in this file sorted alphabetically by package name.
dependencies = [
"torch==2.12.0+xpu",
"torchcodec==0.12.0 ; sys_platform != 'linux' or (sys_platform == 'linux' and platform_machine != 'aarch64' and platform_machine != 'arm64' and platform_machine != 'armv7l')", # torch==2.12.0 on XPU uses torchcodec 0.12.0
"av ; sys_platform == 'linux' and (platform_machine == 'aarch64' or platform_machine == 'arm64' or platform_machine == 'armv7l')",
"torchaudio==2.11.0+xpu",
"torchvision==0.27.0+xpu",
"sgl-kernel @ git+https://github.com/sgl-project/sgl-kernel-xpu.git",
"IPython",
"addict",
"aiohttp",
"anthropic>=0.20.0",
"av ; sys_platform == 'linux' and (platform_machine == 'aarch64' or platform_machine == 'arm64' or platform_machine == 'armv7l')",
"blobfile==3.0.0",
"build",
"compressed-tensors",
"addict",
"datasets",
"easydict",
"einops",
"fastapi",
"gguf",
"interegular",
"IPython",
"llguidance>=0.7.11,<0.8.0",
"mistral_common>=1.11.0",
"modelscope",
"msgspec",
"ninja",
"numpy",
"openai-harmony==0.0.4",
"openai==2.6.1",
"openai-harmony==0.0.4",
"orjson",
"outlines==0.1.11",
"packaging",
@@ -57,35 +54,39 @@ dependencies = [
"scipy",
"sentencepiece",
"setproctitle",
"sgl-kernel @ git+https://github.com/sgl-project/sgl-kernel-xpu.git",
"smg-grpc-servicer>=0.5.0",
"soundfile==0.13.1",
"tiktoken",
"timm==1.0.16",
"torch==2.12.0+xpu",
"torchao==0.17.0+xpu",
"torchaudio==2.11.0+xpu",
"torchcodec==0.12.0 ; sys_platform != 'linux' or (sys_platform == 'linux' and platform_machine != 'aarch64' and platform_machine != 'arm64' and platform_machine != 'armv7l')", # torch==2.12.0 on XPU uses torchcodec 0.12.0
"torchvision==0.27.0+xpu",
"tqdm",
"mistral_common>=1.11.0",
"transformers==5.8.1",
"uvicorn",
"uvloop",
# "xgrammar==0.2.1", xgrammar depends on CUDA PyTorch and Triton only
"smg-grpc-servicer>=0.5.0",
]
[project.optional-dependencies]
diffusion = [
"PyYAML==6.0.1",
"addict==2.4.0",
"av==16.1.0",
"cache-dit==1.3.0",
"cloudpickle==3.1.2",
"diffusers==0.38.0",
"imageio==2.36.0",
"imageio-ffmpeg==0.5.1",
"moviepy>=2.0.0",
"opencv-python==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'",
"runai_model_streamer>=0.15.5",
"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",
"xatlas",
]