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
30ee3630
Unverified
Commit
30ee3630
authored
Oct 17, 2024
by
Lianmin Zheng
Committed by
GitHub
Oct 17, 2024
Browse files
Fix the failed unit tests (#1699)
parent
e5db40dc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
test/srt/models/test_generation_models.py
test/srt/models/test_generation_models.py
+1
-0
No files found.
test/srt/models/test_generation_models.py
View file @
30ee3630
...
@@ -157,6 +157,7 @@ class TestGenerationModels(unittest.TestCase):
...
@@ -157,6 +157,7 @@ class TestGenerationModels(unittest.TestCase):
if
model_case
.
model_path
in
[
if
model_case
.
model_path
in
[
"HuggingFaceTB/SmolLM-135M-Instruct"
,
"HuggingFaceTB/SmolLM-135M-Instruct"
,
"allenai/OLMo-1B-0724-hf"
,
"allenai/OLMo-1B-0724-hf"
,
"google/gemma-2-2b"
,
# There is a bug with new transformers library. This can only run with transformers==4.44
]:
]:
prompts
=
[
p
for
p
in
DEFAULT_PROMPTS
if
len
(
p
)
<
1000
]
prompts
=
[
p
for
p
in
DEFAULT_PROMPTS
if
len
(
p
)
<
1000
]
...
...
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