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
c25231c6
Unverified
Commit
c25231c6
authored
May 28, 2025
by
shangmingc
Committed by
GitHub
May 28, 2025
Browse files
[CI] Fix flaky pp single node test (#6689)
Signed-off-by:
Shangming Cai
<
caishangming@linux.alibaba.com
>
parent
fba03b29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
test/srt/test_pp_single_node.py
test/srt/test_pp_single_node.py
+12
-8
No files found.
test/srt/test_pp_single_node.py
View file @
c25231c6
...
@@ -108,11 +108,13 @@ class TestQwenPPAccuracy(unittest.TestCase):
...
@@ -108,11 +108,13 @@ class TestQwenPPAccuracy(unittest.TestCase):
print
(
f
"[Qwen PP Comparison] Baseline:
{
baseline
}
| PP:
{
pp_metrics
}
"
)
print
(
f
"[Qwen PP Comparison] Baseline:
{
baseline
}
| PP:
{
pp_metrics
}
"
)
self
.
assert
Almost
Equal
(
self
.
assert
Greater
Equal
(
pp_metrics
[
"accuracy"
],
pp_metrics
[
"accuracy"
],
baseline
[
"accuracy"
],
baseline
[
"accuracy"
]
-
0.01
,
delta
=
0.01
,
msg
=
(
msg
=
f
"PP accuracy exceeds 1% (baseline:
{
baseline
[
'accuracy'
]
}
, pp:
{
pp_metrics
[
'accuracy'
]
}
)"
,
f
"PP accuracy dropped more than 1% compared to baseline. "
f
"Baseline:
{
baseline
[
'accuracy'
]:.
2
%
}
, PP:
{
pp_metrics
[
'accuracy'
]:.
2
%
}
"
),
)
)
...
@@ -164,11 +166,13 @@ class TestQwenPPTieWeightsAccuracy(unittest.TestCase):
...
@@ -164,11 +166,13 @@ class TestQwenPPTieWeightsAccuracy(unittest.TestCase):
print
(
f
"[Qwen PP Comparison] Baseline:
{
baseline
}
| PP:
{
pp_metrics
}
"
)
print
(
f
"[Qwen PP Comparison] Baseline:
{
baseline
}
| PP:
{
pp_metrics
}
"
)
self
.
assert
Almost
Equal
(
self
.
assert
Greater
Equal
(
pp_metrics
[
"accuracy"
],
pp_metrics
[
"accuracy"
],
baseline
[
"accuracy"
],
baseline
[
"accuracy"
]
-
0.01
,
delta
=
0.01
,
msg
=
(
msg
=
f
"PP accuracy exceeds 1% (baseline:
{
baseline
[
'accuracy'
]
}
, pp:
{
pp_metrics
[
'accuracy'
]
}
)"
,
f
"PP accuracy dropped more than 1% compared to baseline. "
f
"Baseline:
{
baseline
[
'accuracy'
]:.
2
%
}
, PP:
{
pp_metrics
[
'accuracy'
]:.
2
%
}
"
),
)
)
...
...
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