Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
20453cef
Unverified
Commit
20453cef
authored
Jan 30, 2025
by
Byron Hsu
Committed by
GitHub
Jan 30, 2025
Browse files
[test] Lower number of top logprobs to get rid of `-inf` (#3212)
parent
9f635ea5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test/srt/sampling/penaltylib/test_srt_endpoint_with_penalizers.py
.../sampling/penaltylib/test_srt_endpoint_with_penalizers.py
+1
-1
No files found.
test/srt/sampling/penaltylib/test_srt_endpoint_with_penalizers.py
View file @
20453cef
...
@@ -36,7 +36,7 @@ class TestBatchPenalizerE2E(unittest.TestCase):
...
@@ -36,7 +36,7 @@ class TestBatchPenalizerE2E(unittest.TestCase):
def
run_decode
(
def
run_decode
(
self
,
self
,
return_logprob
=
True
,
return_logprob
=
True
,
top_logprobs_num
=
5
,
top_logprobs_num
=
3
,
return_text
=
True
,
return_text
=
True
,
n
=
1
,
n
=
1
,
**
sampling_params
,
**
sampling_params
,
...
...
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