Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: At most 1 image(s) may be provided in one request. #23

Open
zhengshuo1 opened this issue Jan 23, 2025 · 1 comment
Open

Comments

@zhengshuo1
Copy link

部署完72B-DPO的模型后,在完成任务中,只能完成一步,到第二步时会出现下述错误,请问可能是什么原因?
ERROR 01-23 07:08:25 serving_chat.py:181] File "/home/test2/conda_save/envs/ui-tars/lib/python3.11/site-packages/vllm/entrypoints/chat_utils.py", line 464, in add
ERROR 01-23 07:08:25 serving_chat.py:181] raise ValueError(
ERROR 01-23 07:08:25 serving_chat.py:181] ValueError: At most 1 image(s) may be provided in one request.

@momianhua
Copy link

部署完成 72B-DPO 的模型后,在完成任务中,只能完成一步,到第二步时会出现下列错误,请问可能是什么原因? ERROR 01-23 07:08:25serving_chat.py:181 ] 文件“/home/test2/conda_save/envs/ui-tars/lib/python3.11/site-packages/vllm/entrypoints/chat_utils.py”,第 464 行,添加 错误 01-23 07:08:25serving_chat.py :181]引发值错误( 错误01-23 07:08:25 serving_chat.py:181] ValueError: 一次请求中最多可以提供 1 张图像。

vllm启动参数添加--limit-mm-per-prompt "image=2" ,即最多允许处理2张图像,这个数值可以自己改

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants