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
18c1f16d
Unverified
Commit
18c1f16d
authored
May 29, 2024
by
Cyrus Leung
Committed by
GitHub
May 29, 2024
Browse files
[Bugfix] Fix arguments passed to `Sequence` in stop checker test (#5092)
parent
5bd3c650
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
tests/engine/output_processor/test_stop_checker.py
tests/engine/output_processor/test_stop_checker.py
+5
-2
No files found.
tests/engine/output_processor/test_stop_checker.py
View file @
18c1f16d
...
@@ -15,8 +15,11 @@ def sequence_with_eos(text: str, eos_token: str,
...
@@ -15,8 +15,11 @@ def sequence_with_eos(text: str, eos_token: str,
"""
"""
seq
=
Sequence
(
seq
=
Sequence
(
seq_id
=
0
,
seq_id
=
0
,
prompt
=
""
,
inputs
=
{
prompt_token_ids
=
[],
"prompt"
:
""
,
"prompt_token_ids"
:
[],
"multi_modal_data"
:
None
,
},
block_size
=
16
,
block_size
=
16
,
eos_token_id
=
eos_token_id
,
eos_token_id
=
eos_token_id
,
)
)
...
...
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