mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-25 17:10:42 +00:00
Merge remote-tracking branch 'origin/add-logprob-server-manager-fn' into add-logprob-server-manager-fn
This commit is contained in:
commit
c22f8ca81b
3 changed files with 15 additions and 9 deletions
|
|
@ -148,7 +148,8 @@ class SGLangServer(APIServer):
|
|||
kwargs.get("model", None) is not None
|
||||
), "Model is required for completion!"
|
||||
assert (
|
||||
kwargs.get("prompt", None) is not None or kwargs.get("input_ids", None) is not None
|
||||
kwargs.get("prompt", None) is not None
|
||||
or kwargs.get("input_ids", None) is not None
|
||||
), "Prompt or input_ids is required for completion!"
|
||||
|
||||
# Get n parameter for number of completions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue