Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions vllm/engine/multiprocessing/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ def engine_step(self) -> List[RequestOutput]:
"""Engine step wrapper with error handling."""
try:
return self.engine.step()
except SystemExit:
raise
except SystemExit as e:
raise e from None
except InputProcessingError as e:
# Special case where we handle an error preparing the inputs for
# a single request in the batch
Expand All @@ -245,7 +245,7 @@ def engine_step(self) -> List[RequestOutput]:
is_engine_errored=True,
exception=e)
self._send_outputs(rpc_err)
raise e
raise e from None

def handle_new_input(self):
"""Handle new input from the socket"""
Expand Down