mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-06-11 19:02:16 +08:00
Turn off usage
This commit is contained in:
parent
6102536d65
commit
a1cac48477
@ -165,9 +165,10 @@ async def async_request_openai_completions(
|
|||||||
"max_tokens": request_func_input.output_len,
|
"max_tokens": request_func_input.output_len,
|
||||||
"logprobs": request_func_input.logprobs,
|
"logprobs": request_func_input.logprobs,
|
||||||
"stream": True,
|
"stream": True,
|
||||||
"stream_options": {
|
# NOTE(woosuk): Disabled for PD.
|
||||||
"include_usage": True,
|
# "stream_options": {
|
||||||
},
|
# "include_usage": True,
|
||||||
|
# },
|
||||||
}
|
}
|
||||||
_update_payload_common(payload, request_func_input)
|
_update_payload_common(payload, request_func_input)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user