Skip to content

Commit

Permalink
Merge pull request #3 from Bslabe123/backlog_metrics
Browse files Browse the repository at this point in the history
Backlog metrics
  • Loading branch information
Bslabe123 committed Jun 24, 2024
2 parents 4637fd9 + 2845584 commit f91a0a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jetstream/core/orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,9 +571,11 @@ def _transfer_thread(self, idx: int):
self._generate_backlogs[target_idx].put(new_request, block=True)
logging.info(
"Successfully transferred prefill "
"from prefill engine %d to generate engine %d.",
"from prefill engine %d to generate engine %d "
"(%d requests now in backlog).",
idx,
target_idx,
self._generate_backlogs[target_idx].qsize(),
)

def _generate_thread(self, idx: int):
Expand Down

0 comments on commit f91a0a3

Please sign in to comment.