fix: add xgrammar dependency (#2126)

This commit is contained in:
Yineng Zhang
2024-11-22 20:53:11 +08:00
committed by GitHub
parent 9a00e6f453
commit 2797bc3422

View File

@@ -22,7 +22,7 @@ runtime_common = ["aiohttp", "decord", "fastapi",
"packaging", "pillow", "prometheus-client>=0.20.0",
"psutil", "pydantic", "python-multipart",
"pyzmq>=25.1.2", "torchao", "uvicorn", "uvloop",
"modelscope"]
"modelscope", "xgrammar"]
srt = ["sglang[runtime_common]", "torch", "vllm>=0.6.3.post1"]
# HIP (Heterogeneous-computing Interface for Portability) for AMD