Skip to content

Commit

Permalink
Attempt #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Narsil committed Oct 23, 2024
1 parent 0a01dde commit 5c3efbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/text_generation_server/models/flash_causal_lm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1418,7 +1418,7 @@ def warmup(
)
max_total_tokens = available_blocks
else:
max_total_tokens = batch.num_blocks
max_total_tokens = len(batch.input_ids)
max_input_tokens = (
batch.num_blocks - 1
if max_input_tokens is None
Expand Down

0 comments on commit 5c3efbc

Please sign in to comment.