mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-04-10 19:07:03 +08:00
rename
Signed-off-by: Reagan <reaganjlee@gmail.com>
This commit is contained in:
parent
76e21b4a10
commit
a81128725c
@ -1908,8 +1908,7 @@ def get_samples(args, tokenizer: TokenizerLike) -> list[SampleRequest]:
|
||||
|
||||
try:
|
||||
# Enforce endpoint compatibility for multimodal datasets.
|
||||
backend = getattr(args, "backend", "openai-chat")
|
||||
if args.dataset_name == "random-mm" and backend not in ["openai-chat"]:
|
||||
if args.dataset_name == "random-mm" and args.backend not in ["openai-chat"]:
|
||||
raise ValueError(
|
||||
"Multi-modal content (images) is only supported on "
|
||||
"'openai-chat' backend."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user