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
5d0d40d0
Unverified
Commit
5d0d40d0
authored
Aug 16, 2024
by
Liangsheng Yin
Committed by
GitHub
Aug 16, 2024
Browse files
Fix CI accuracy && time out limit (#1133)
parent
f624f6a6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
.github/workflows/unit-test.yml
.github/workflows/unit-test.yml
+1
-1
test/srt/test_eval_accuracy_large.py
test/srt/test_eval_accuracy_large.py
+1
-1
test/srt/test_eval_accuracy_large_chunked_prefill.py
test/srt/test_eval_accuracy_large_chunked_prefill.py
+1
-1
test/srt/test_eval_accuracy_large_mixed_chunked_prefill.py
test/srt/test_eval_accuracy_large_mixed_chunked_prefill.py
+1
-1
No files found.
.github/workflows/unit-test.yml
View file @
5d0d40d0
...
@@ -41,7 +41,7 @@ jobs:
...
@@ -41,7 +41,7 @@ jobs:
run
:
|
run
:
|
cd test/srt
cd test/srt
python3 run_suite.py --suite minimal
python3 run_suite.py --suite minimal
timeout-minutes
:
1
5
timeout-minutes
:
1
8
-
name
:
Test Frontend Language
-
name
:
Test Frontend Language
run
:
|
run
:
|
...
...
test/srt/test_eval_accuracy_large.py
View file @
5d0d40d0
...
@@ -37,7 +37,7 @@ class TestEvalAccuracyLarge(unittest.TestCase):
...
@@ -37,7 +37,7 @@ class TestEvalAccuracyLarge(unittest.TestCase):
)
)
metrics
=
run_eval
(
args
)
metrics
=
run_eval
(
args
)
assert
metrics
[
"score"
]
>=
0.7
1
,
f
"
{
metrics
}
"
assert
metrics
[
"score"
]
>=
0.7
05
,
f
"
{
metrics
}
"
def
test_human_eval
(
self
):
def
test_human_eval
(
self
):
args
=
SimpleNamespace
(
args
=
SimpleNamespace
(
...
...
test/srt/test_eval_accuracy_large_chunked_prefill.py
View file @
5d0d40d0
...
@@ -36,7 +36,7 @@ class TestEvalAccuracyLargeChunkedPrefill(unittest.TestCase):
...
@@ -36,7 +36,7 @@ class TestEvalAccuracyLargeChunkedPrefill(unittest.TestCase):
)
)
metrics
=
run_eval
(
args
)
metrics
=
run_eval
(
args
)
assert
metrics
[
"score"
]
>=
0.7
1
,
f
"
{
metrics
}
"
assert
metrics
[
"score"
]
>=
0.7
05
,
f
"
{
metrics
}
"
def
test_human_eval
(
self
):
def
test_human_eval
(
self
):
args
=
SimpleNamespace
(
args
=
SimpleNamespace
(
...
...
test/srt/test_eval_accuracy_large_mixed_chunked_prefill.py
View file @
5d0d40d0
...
@@ -42,7 +42,7 @@ class TestEvalAccuracyLargeChunkedPrefill(unittest.TestCase):
...
@@ -42,7 +42,7 @@ class TestEvalAccuracyLargeChunkedPrefill(unittest.TestCase):
)
)
metrics
=
run_eval
(
args
)
metrics
=
run_eval
(
args
)
assert
metrics
[
"score"
]
>=
0.7
1
,
f
"
{
metrics
}
"
assert
metrics
[
"score"
]
>=
0.7
05
,
f
"
{
metrics
}
"
def
test_human_eval
(
self
):
def
test_human_eval
(
self
):
args
=
SimpleNamespace
(
args
=
SimpleNamespace
(
...
...
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