Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
067fa225
Unverified
Commit
067fa225
authored
Feb 15, 2025
by
Xu Song
Committed by
GitHub
Feb 14, 2025
Browse files
[Bugfix]Fix search start_index of stop_checker (#13280)
parent
90763256
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/engine/output_processor/stop_checker.py
vllm/engine/output_processor/stop_checker.py
+1
-1
No files found.
vllm/engine/output_processor/stop_checker.py
View file @
067fa225
...
...
@@ -113,7 +113,7 @@ class StopChecker:
stop_string_len
=
len
(
stop_str
)
# Avoid searching already-searched text.
stop_index
=
output_text
.
find
(
stop_str
,
-
new_char_count
-
stop_string_len
)
1
-
new_char_count
-
stop_string_len
)
if
stop_index
==
-
1
:
continue
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment