mirror of
https://github.com/deepseek-ai/DeepSeek-VL2.git
synced 2026-11-05 01:07:23 +00:00
[GH-ISSUE #111] vllm输出结果质量低 #89
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepSeek-VL2#89
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chenyzh28 on GitHub (Mar 7, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-VL2/issues/111
我用官方的inference.py代码推理时,输出结果是比较正常的,比如问“图片中的角色是哪部动漫作品中的人物?”


输出是:
但当我使用vllm部署模型时,使用vllm提供的chat_template,同样的输入,输出结果却很奇怪。

vllm的启动命令:
CUDA_VISIBLE_DEVICES=7 vllm serve deepseek-vl2 --port 8102 --max-model-len 4096 --hf_overrides '{"architectures":["DeepseekVLV2ForCausalLM"]}' --gpu-memory-utilization 0.9 --chat_template ./template_deepseek_vl2.jinja输出结果:
感觉精度明显下降了不少,不知道chat_template还是哪里的问题,求大佬们指点。
@ppllracing commented on GitHub (May 15, 2025):
I'd like to know which version of vllm you have installed? Is it necessary to modify the dependency of deepseek-vl2?