We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42e0c1d commit 7717d08Copy full SHA for 7717d08
vllm/engine/async_llm_engine.py
@@ -144,7 +144,11 @@ async def generate(
144
145
# Kick the engine if the engine is not running.
146
if not self.is_engine_running:
147
- await self.engine_step(request_id)
+ try:
148
+ await self.engine_step(request_id)
149
+ except RuntimeError as e:
150
+ await self.abort(request_id)
151
+ raise e
152
153
# Wait for new output. The group_event will be set in engine_step
154
# when there is new output available for the sequence group.
0 commit comments