Skip to content

Commit 7992324

Browse files
authored
[BugFix] Use unique ids for different transcription prompts (#29372)
Signed-off-by: Nick Hill <nhill@redhat.com>
1 parent 40a6f53 commit 7992324

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vllm/entrypoints/openai/speech_to_text.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,10 @@ async def _create_speech_to_text(
201201
self.engine_client.generate(
202202
prompt,
203203
sampling_params,
204-
request_id,
204+
f"{request_id}_{i}",
205205
lora_request=lora_request,
206206
)
207-
for prompt in prompts
207+
for i, prompt in enumerate(prompts)
208208
]
209209
except ValueError as e:
210210
# TODO: Use a vllm-specific Validation Error

0 commit comments

Comments
 (0)