Model reference · open weights
deepseek-vl is an open-weight language model from deepseek-community. deepseek-vl-7b-chat (FP16) weighs 14.7 GB; the smallest configuration that runs it is 2× RTX 3060 12 GB.
Summary of the deepseek-community/deepseek-vl-1.3b-chat model card, 2026-10-01. The estimate below is for another build of the family.
What it is
| Released by | deepseek-community |
|---|---|
| Released | 2025-06-12 |
| Parameters | 2.0B |
| VRAM | 14.7 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory |
|---|---|---|---|
| 8K each | |||
| RTX 3060 12 GB … RTX 4060 Ti 16 GB 2 smaller cards | — | — | |
| RTX 3090 24 GB | 1 | 13K | 23.4 GB |
| RTX 4090 24 GB | 1 | 13K | 23.4 GB |
| RTX 5090 32 GB | 3 | all 16K | 31.0 GB |
| L40S 48 GB | 6 | all 16K | 44.0 GB |
| A100 80 GB | 15 | all 16K | 78.2 GB |
| H100 80 GB | 14 | all 16K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 18 | all 16K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 21 | all 16K | 107 GB |
| H200 141 GB | 29 | all 16K | 138 GB |
| B200 180 GB | 38 | all 16K | 176 GB |
| 2× RTX 3060 12 GB tensor parallel | 1 | 9K | 11.6 GB a card |
| 2× RTX 4060 Ti 16 GB tensor parallel | 3 | all 16K | 15.4 GB a card |
| 2× RTX 5090 32 GB tensor parallel | 10 | all 16K | 31.0 GB a card |
| 2× L40S 48 GB tensor parallel | 17 | all 16K | 44.0 GB a card |
| 4× RTX 4090 24 GB tensor parallel | 17 | all 16K | 23.4 GB a card |
| 4× RTX 3090 24 GB tensor parallel | 17 | all 16K | 23.4 GB a card |
| Requests at once | 8K tokens each |
|---|---|
| 1 | 20.7 GB |
| 5 | 36.8 GB |
| 8 | 48.9 GB |
| 16 | 81.1 GB |
| 32 | 145 GB |
| 64 | 274 GB |
One card, with vLLM's small-card settings.
Builds
| Build | Params | Precision | Weights | Smallest setup |
|---|---|---|---|---|
| deepseek-vl-1.3b-chat ↗ | 2.0B | FP16 | 3.9 GB | RTX 3060 12 GB |
| deepseek-vl-7b-chat (above) ↗ | 7.3B | FP16 | 14.7 GB | 2× RTX 3060 12 GB |
From the model card
This is the transformers version of Deepseek-VL, a foundation model for Visual Language Modeling.
Deepseek-VL was introduced by the DeepSeek AI team. It is a vision-language model (VLM) designed to process both text and images for generating contextually relevant responses. The model leverages LLaMA as its text encoder, while SigLip is used for encoding images.
The abstract from the paper is the following:
We present DeepSeek-VL, an open-source Vision-Language (VL) Model designed for real-world vision and language understanding applications. Our approach is structured around three key dimensions: We strive to ensure our data is diverse, scalable, and extensively covers real-world scenarios including web screenshots, PDFs, OCR, charts, and knowledge-based content, aiming for a comprehensive representation of practical contexts. Further, we create a use case taxonomy from real user scenarios and construct an instruction tuning dataset accordingly. The fine-tuning with this dataset substantially improves the model's user experience in practical applications. Considering efficiency and the demands of most real-world scenarios, DeepSeek-VL incorporates a hybrid vision encoder that efficiently processes high-resolution images (1024 x 1024), while maintaining a relatively low computational overhead. This design choice ensures the model's ability to capture critical semantic and detailed information across various visual tasks. We posit that a proficient Vision-Language Model should, foremost, possess strong language abilities. To ensure the preservation of LLM capabilities during pretraining, we investigate an effective VL pretraining strategy by integrating LLM training from the beginning and carefully managing the competitive dynamics observed between vision and language modalities. The DeepSeek-VL family (both 1.3B and 7B models) showcases superior user experiences as a vision-language chatbot in real-world applications, achieving state-of-the-art or competitive performance across a wide range of visual-language benchmarks at the same model size while maintaining robust performance on language-centric benchmarks. We have made both 1.3B and 7B models publicly accessible to foster innovations based on this foundation model.
This is the model card of a 🤗 transformers model that has been pushed on the Hub.
Note: Ensure you have
transformersversion 4.54.0 or later installed:pip install -U "transformers>=4.54.0"
The example below demonstrates how to generate text based on an image with Pipeline.
import torch
from transformers import pipeline
pipe = pipeline(
task="image-text-to-text",
model="deepseek-community/deepseek-vl-1.3b-chat",
device=0,
torch_dtype=torch.float16
)
messages = [
{
"role": "user",
"content": [
{
"type": "image",
"url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/pipeline-cat-chonk.jpeg",
},
{ "type": "text", "text": "Describe this image."},
]
}
]
pipe(text=messages, max_new_tokens=20, return_full_text=False)
Generate text based on an image with AutoModel.
import torch
from transformers import DeepseekVLForConditionalGeneration, AutoProcessor
model = DeepseekVLForConditionalGeneration.from_pretrained(
"deepseek-community/deepseek-vl-1.3b-chat",
torch_dtype=torch.float16,
device_map="auto",
attn_implementation="sdpa"
)
processor = AutoProcessor.from_pretrained("deepseek-community/deepseek-vl-1.3b-chat")
messages = [
{
"role":"user",
"content":[
{
"type":"image",
"url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/pipeline-cat-chonk.jpeg"
},
{
"type":"text",
"text":"Describe this image."
}
]
}
]
inputs = processor.apply_chat_template(
messages,
add_generation_prompt=True,
tokenize=True,
return_dict=True,
return_tensors="pt"
).to(model.device, dtype=model.dtype)
generated_ids = model.generate(**inputs, max_new_tokens=128)
generated_ids_trimmed = [
out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
]
output_text = processor.batch_decode(
generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
)
print(output_text)
Quantization reduces the memory burden of large models by representing the weights in a lower precision. Refer to the [Quantization](http
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.