Skip to content

Commit

Permalink
[Bugfix][Core] Restore logging of stats in the async engine (vllm-pro…
Browse files Browse the repository at this point in the history
  • Loading branch information
ronensc authored and jimpang committed Apr 26, 2024
1 parent 8ca60db commit a9fb129
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion vllm/engine/async_llm_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,16 @@ async def step_async(self) -> List[RequestOutput]:
else:
output = []

return self._process_model_outputs(
request_outputs = self._process_model_outputs(
output, scheduler_outputs.scheduled_seq_groups,
scheduler_outputs.ignored_seq_groups)

# Log stats.
if self.log_stats:
self.stat_logger.log(self._get_stats(scheduler_outputs))

return request_outputs

async def encode_request_async(
self,
request_id: str, # pylint: disable=unused-argument
Expand Down

0 comments on commit a9fb129

Please sign in to comment.