Fix dependency & crash issues (#539)
This commit is contained in:
@@ -21,7 +21,7 @@ dependencies = [
|
||||
|
||||
[project.optional-dependencies]
|
||||
srt = ["aiohttp", "fastapi", "psutil", "rpyc", "torch", "uvloop", "uvicorn",
|
||||
"zmq", "vllm==0.4.3", "interegular", "pydantic", "pillow", "packaging", "huggingface_hub", "hf_transfer", "outlines>=0.0.41"]
|
||||
"zmq", "vllm==0.5.0", "interegular", "pydantic", "pillow", "packaging", "huggingface_hub", "hf_transfer", "outlines>=0.0.41"]
|
||||
openai = ["openai>=1.0", "tiktoken"]
|
||||
anthropic = ["anthropic>=0.20.0"]
|
||||
litellm = ["litellm>=1.0.0"]
|
||||
|
||||
@@ -27,7 +27,7 @@ class GlobalConfig:
|
||||
|
||||
# Request dependency time due to network delay
|
||||
self.request_dependency_delay = 0.02
|
||||
self.wait_for_new_request_delay = 0.0004
|
||||
self.wait_for_new_request_delay = 0.0006
|
||||
|
||||
# New generation token ratio estimation
|
||||
self.base_new_token_ratio = 0.4
|
||||
|
||||
Reference in New Issue
Block a user