Skip to content

Commit

Permalink
[#4128] fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
KimSoungRyoul committed Aug 20, 2023
1 parent 6743e12 commit 7cecb6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bentoml/_internal/marshal/dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ async def train_optimizer(
b = self.optimizer.o_b
wait = min(
self.max_latency * 0.95,
(batch_size * 2 + 1) * (self.a + self.optimizer.o_b),
(batch_size * 2 + 1) * (a + b),
)

if n < batch_size and (batch_size * a + b) + w0 <= wait:
Expand Down

0 comments on commit 7cecb6e

Please sign in to comment.