[Benchmark] Enable MM Embedding benchmarks (#26310)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
@@ -1582,10 +1582,10 @@ def get_samples(args, tokenizer) -> list[SampleRequest]:
|
||||
"like to add support for additional dataset formats."
|
||||
)
|
||||
|
||||
if dataset_class.IS_MULTIMODAL and args.backend not in [
|
||||
"openai-chat",
|
||||
"openai-audio",
|
||||
]:
|
||||
if dataset_class.IS_MULTIMODAL and not (
|
||||
args.backend in ("openai-chat", "openai-audio")
|
||||
or "openai-embeddings-" in args.backend
|
||||
):
|
||||
# multi-modal benchmark is only available on OpenAI Chat
|
||||
# endpoint-type.
|
||||
raise ValueError(
|
||||
|
||||
Reference in New Issue
Block a user