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
32318178
Unverified
Commit
32318178
authored
Dec 29, 2024
by
Lianmin Zheng
Committed by
GitHub
Dec 30, 2024
Browse files
Revert "[feat] Add math eval to CI" (#2656)
parent
a11f8d5f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
23 deletions
+0
-23
test/srt/test_eval_accuracy_large.py
test/srt/test_eval_accuracy_large.py
+0
-11
test/srt/test_eval_accuracy_mini.py
test/srt/test_eval_accuracy_mini.py
+0
-12
No files found.
test/srt/test_eval_accuracy_large.py
View file @
32318178
...
...
@@ -68,17 +68,6 @@ class TestEvalAccuracyLarge(unittest.TestCase):
metrics
=
run_eval
(
args
)
self
.
assertGreater
(
metrics
[
"score"
],
0.835
)
def
test_math
(
self
):
args
=
SimpleNamespace
(
base_url
=
self
.
base_url
,
model
=
self
.
model
,
eval_name
=
"math"
,
num_examples
=
5000
,
num_threads
=
1024
)
metrics
=
run_eval
(
args
)
self
.
assertGreaterEqual
(
metrics
[
"score"
],
0.519
-
0.01
)
# -1% to account for sampling variance
if
__name__
==
"__main__"
:
unittest
.
main
()
test/srt/test_eval_accuracy_mini.py
View file @
32318178
...
...
@@ -37,18 +37,6 @@ class TestEvalAccuracyMini(unittest.TestCase):
metrics
=
run_eval
(
args
)
self
.
assertGreaterEqual
(
metrics
[
"score"
],
0.65
)
def
test_math
(
self
):
args
=
SimpleNamespace
(
base_url
=
self
.
base_url
,
model
=
self
.
model
,
eval_name
=
"math"
,
num_examples
=
64
,
num_threads
=
32
,
temperature
=
0.1
,
)
metrics
=
run_eval
(
args
)
self
.
assertGreaterEqual
(
metrics
[
"score"
],
0.519
-
0.03
)
# -3% to account for sampling variance
if
__name__
==
"__main__"
:
unittest
.
main
()
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