mirror of
https://github.com/deepseek-ai/DeepSeek-VL2.git
synced 2026-11-05 01:07:23 +00:00
[GH-ISSUE #75] Unable to load deepseek-vl2-tiny using vllm. #60
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#60
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 @WindLWQ on GitHub (Feb 12, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-VL2/issues/75
An error occurred while running:
It seems that the structure format of config.json is not being recognized correctly.
@coco-droid commented on GitHub (Feb 12, 2025):
It's because you use the llm pipeline to load a vision model
@WindLWQ commented on GitHub (Feb 13, 2025):
What other inference frameworks, besides Transformers, can currently be used to run this model?
@cjjimmy commented on GitHub (Feb 17, 2025):
Ollama
@bharathy-atlantic commented on GitHub (Feb 17, 2025):
@WindLWQ , Try adding:
--hf-overrides '{"architectures": ["DeepseekVLV2ForCausalLM"]}'to your model entrypoint. More details here:https://docs.vllm.ai/en/latest/models/supported_models.html#id2
Please make sure you use ampere or greater architecture for GPU.
This worked for me.
@WindLWQ commented on GitHub (Feb 19, 2025):
Can you provide a demo of the call?
@bharathy-atlantic commented on GitHub (Feb 19, 2025):
Sure, here is how I call in my dockerfile:
ENTRYPOINT python3 -m vllm.entrypoints.openai.api_server \ --model "$MODEL_NAME" \ $VLLM_ARGS \ --hf_overrides '{"architectures":["DeepseekVLV2ForCausalLM"]}'@WindLWQ commented on GitHub (Feb 19, 2025):
Thank you, I have successfully deployed it.