Skip to content

Commit cdd0a4a

Browse files
committed
Merge branch 'wangshangsam/vlm-sut-prototype' of github.com:CentML/mlperf-inference into wangshangsam/vlm-sut-prototype
2 parents b2400a0 + a2176d2 commit cdd0a4a

File tree

1 file changed

+5
-2
lines changed
  • multimodal/vl2l/src/mlperf_inference_multimodal_vl2l

1 file changed

+5
-2
lines changed

multimodal/vl2l/src/mlperf_inference_multimodal_vl2l/cli.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ def to_lgtype(self) -> lg.TestSettings:
115115
settings.scenario = self.senario.to_lgtype()
116116
settings.mode = self.mode.to_lgtype()
117117
settings.offline_expected_qps = self.offline_expected_qps
118-
settings.min_duration_ms = round(self.min_duration.total_seconds() * 1000)
118+
settings.min_duration_ms = round(
119+
self.min_duration.total_seconds() * 1000)
119120
settings.use_token_latencies = True
120121
return settings
121122

@@ -200,7 +201,9 @@ def main(
200201
logger.info("Running VL2L benchmark with settings: {}", settings)
201202
logger.info("Running VL2L benchmark with model: {}", model)
202203
logger.info("Running VL2L benchmark with dataset: {}", dataset)
203-
logger.info("Running VL2L benchmark with OpenAI API endpoint: {}", endpoint)
204+
logger.info(
205+
"Running VL2L benchmark with OpenAI API endpoint: {}",
206+
endpoint)
204207
logger.info("Running VL2L benchmark with random seed: {}", random_seed)
205208
lg_settings = settings.to_lgtype()
206209
task = ShopifyGlobalCatalogue(

0 commit comments

Comments
 (0)