Skip to content

Commit

Permalink
fix new_char_count
Browse files Browse the repository at this point in the history
  • Loading branch information
njhill committed Nov 1, 2024
1 parent ae26a38 commit cc1f690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/v1/engine/detokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def add_tokens(
if self.stop:
stop = StopChecker.check_stop_strings(
output_text=self.output_text,
new_char_count=666,
new_char_count=len(decoded_text),
stop=self.stop,
include_in_output=self.include_stop_str_in_output,
)
Expand Down

0 comments on commit cc1f690

Please sign in to comment.