Update XGrammar to the latest API (#2176)

Co-authored-by: Ben Gitter <gitterbd@gmail.com>
This commit is contained in:
Yixin Dong
2024-11-25 18:58:30 -05:00
committed by GitHub
parent 3c5538f781
commit 7f076c2ce6
3 changed files with 61 additions and 45 deletions

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", "xgrammar"]
"modelscope", "xgrammar==0.1.4"]
srt = ["sglang[runtime_common]", "torch", "vllm>=0.6.3.post1"]
# HIP (Heterogeneous-computing Interface for Portability) for AMD