Fix the error message and dependency of openai backend (#71)

This commit is contained in:
Lianmin Zheng
2024-01-21 14:56:25 -08:00
committed by GitHub
parent e8f2b155fe
commit 007eeb4eb9
4 changed files with 26 additions and 16 deletions

View File

@@ -18,10 +18,11 @@ dependencies = [
]
[project.optional-dependencies]
srt = ["fastapi", "psutil", "rpyc", "torch", "uvloop", "uvicorn", "zmq", "vllm>=0.2.5",
"interegular", "lark", "numba", "pydantic", "diskcache", "cloudpickle"]
openai = ["openai>=1.0"]
anthropic = ["anthropic"]
srt = ["fastapi", "psutil", "rpyc", "torch", "uvloop", "uvicorn",
"zmq", "vllm>=0.2.5", "interegular", "lark", "numba",
"pydantic", "diskcache", "cloudpickle"]
openai = ["openai>=1.0", "numpy"]
anthropic = ["anthropic", "numpy"]
all = ["sglang[srt]", "sglang[openai]", "sglang[anthropic]"]
[project.urls]