mirror of
https://github.com/vllm-project/vllm.git
synced 2025-10-20 14:53:52 +08:00
[Bugfix] Apply same sampling parameters for both n=1
and n>1
(#26005)
Signed-off-by: Kenichi Maehashi <maehashi@preferred.jp>
This commit is contained in:
@ -290,7 +290,7 @@ class AsyncLLM(EngineClient):
|
||||
return queue
|
||||
|
||||
# Fan out child requests (for n>1).
|
||||
parent_request = ParentRequest(request_id, params)
|
||||
parent_request = ParentRequest(request_id, request.sampling_params)
|
||||
for idx in range(params.n):
|
||||
request_id, params = parent_request.get_child_info(idx)
|
||||
child_request = request if idx == params.n - 1 else copy(request)
|
||||
|
Reference in New Issue
Block a user