From 4726c9197ffd5ff95e0c7be7175d1c2dae73c4ed Mon Sep 17 00:00:00 2001 From: Liangsheng Yin Date: Sat, 4 Oct 2025 01:04:58 +0800 Subject: [PATCH] [minor] fix the lint (#11198) --- test/srt/models/test_vlm_models.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/srt/models/test_vlm_models.py b/test/srt/models/test_vlm_models.py index 32e275d9a..950445266 100644 --- a/test/srt/models/test_vlm_models.py +++ b/test/srt/models/test_vlm_models.py @@ -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