Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aniketmaurya committed Dec 10, 2024
1 parent 1d6a484 commit d2a19c9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/litserve/loops.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,6 @@ def step(

# Check completion conditions
is_finished = token == lit_api.eos_token or seq["current_length"] >= self.max_sequence_length
is_finished = token == lit_api.eos_token or seq["current_length"] >= self.max_sequence_length

if is_finished:
# Encode final response for completed sequence
Expand Down

0 comments on commit d2a19c9

Please sign in to comment.