"git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "3005ec74b33fbe44b568240a5b95a7f54e0e3f3b"
Unverified Commit 0ac809de authored by Seunggeun Cho's avatar Seunggeun Cho Committed by GitHub
Browse files

Fix assertion typo in tp_worker.py (#9954)

parent 4efe2c57
......@@ -146,7 +146,7 @@ class TpModelWorker:
assert self.max_running_requests > 0, "max_running_request is zero"
self.max_queued_requests = server_args.max_queued_requests
assert (
self.max_running_requests > 0
self.max_queued_requests > 0
), "max_queued_requests is zero. We need to be at least 1 to schedule a request."
self.max_req_len = min(
self.model_config.context_len - 1,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment