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
4726c919
Unverified
Commit
4726c919
authored
Oct 04, 2025
by
Liangsheng Yin
Committed by
GitHub
Oct 04, 2025
Browse files
[minor] fix the lint (#11198)
parent
a0010bf4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
test/srt/models/test_vlm_models.py
test/srt/models/test_vlm_models.py
+5
-2
No files found.
test/srt/models/test_vlm_models.py
View file @
4726c919
...
...
@@ -27,9 +27,10 @@ MODELS = [
SimpleNamespace
(
model
=
"openbmb/MiniCPM-V-2_6"
,
mmmu_accuracy
=
0.4
),
]
#Set default mem_fraction_static to 0.8
#
Set default mem_fraction_static to 0.8
DEFAULT_MEM_FRACTION_STATIC
=
0.8
class
TestVLMModels
(
CustomTestCase
):
parsed_args
=
None
# Class variable to store args
...
...
@@ -41,7 +42,9 @@ class TestVLMModels(CustomTestCase):
cls
.
time_out
=
DEFAULT_TIMEOUT_FOR_SERVER_LAUNCH
if
cls
.
parsed_args
is
None
:
cls
.
parsed_args
=
SimpleNamespace
(
mem_fraction_static
=
DEFAULT_MEM_FRACTION_STATIC
)
cls
.
parsed_args
=
SimpleNamespace
(
mem_fraction_static
=
DEFAULT_MEM_FRACTION_STATIC
)
# Set OpenAI API key and base URL environment variables. Needed for lmm-evals to work.
os
.
environ
[
"OPENAI_API_KEY"
]
=
cls
.
api_key
...
...
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