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
9ba1f097
Unverified
Commit
9ba1f097
authored
Sep 15, 2024
by
Lianmin Zheng
Committed by
GitHub
Sep 15, 2024
Browse files
[Fix] Fix logprob and normalized_logprob (#1428)
parent
282681b8
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
test/srt/test_torchao.py
test/srt/test_torchao.py
+1
-1
test/srt/test_triton_attention_kernels.py
test/srt/test_triton_attention_kernels.py
+0
-1
No files found.
test/srt/test_torchao.py
View file @
9ba1f097
...
...
@@ -39,7 +39,7 @@ class TestTorchCompile(unittest.TestCase):
)
metrics
=
run_eval
(
args
)
assert
metrics
[
"score"
]
>=
0.6
5
assert
metrics
[
"score"
]
>=
0.6
0
def
run_decode
(
self
,
max_new_tokens
):
response
=
requests
.
post
(
...
...
test/srt/test_triton_attention_kernels.py
View file @
9ba1f097
...
...
@@ -127,7 +127,6 @@ class TestExtendAttention(unittest.TestCase):
def
_test_context_attention_once
(
self
,
head_dim
):
# Set up a simple test case
batch_size
=
2
num_heads
=
4
seq_lens
=
[
8
,
12
]
max_seq_len
=
max
(
seq_lens
)
...
...
Prev
1
2
Next
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