Unsloth Dynamic 3.0 achieves superior accuracy & outperforms other leading quants.
- To run DeepSeek-V4-Flash-Vision-Exp in full precision lossless, run Q8 (UD-Q8_K_XL), which is 162GB and only 7GB bigger than Q4 (UD-Q4_K_XL).
- See our DeepSeek-V4 guide for quantization analysis and instructions.
- You can now run DeepSeek-V4-Flash-Vision-Exp in Unsloth Studio with toggles for High and Max thinking.
DeepSeek-V4-Flash-Vision-Exp
Image input requires llama.cpp b10766 or later, which is the first release containing the DeepSeek-V4 vision support from #28133 and #28154.
Introduction
We are excited to introduce DeepSeek-V4-Flash-Vision-Exp, our first experimental multimodal model in the DeepSeek-V4 family. It builds on the DeepSeek-V4-Flash architecture by incorporating visual modules and undergoing continued training to unlock visual understanding capabilities.
Compared to DeepSeek-V4-Flash-0731, DeepSeek-V4-Flash-Vision-Exp achieves substantial improvements on its multimodal agent capabilities, while maintaining comparable performance on text-only agent tasks.
Notes:
- For the text agent benchmarks above, DeepSeek models are evaluated with the minimal mode of DeepSeek Harness as the agent framework, using the
max reasoning effort level with temperature = 1.0, top_p = 0.95.
- † For ApexBench and Agents' Last Exam, DeepSeek-V4-Flash-0731 ignores the multimodal elements in the input.
Repository layout
This repository contains the tokenizer, prompt encoding reference, and a
minimal PyTorch inference implementation for DeepSeek-V4 Flash Vision. The
reference inference covers the vision encoder and aligner, DFlash attention,
MoE, Hyper-Connections, and the DSpark forward path.
encoding/ and inference/ deliberately remain separate: prompt formatting
does not depend on PyTorch, while inference imports the sibling encoding module
with an explicit Python path. No symlinks are required.
The tokenizer files are regular files so that the repository can be uploaded
to Hugging Face without relying on local filesystem symlinks. The large model
shards are described by model.safetensors.index.json and are not duplicated
inside the source checkout used to assemble this repository.
Prompt encoding
See encoding/README.md [blocked]. Both OpenAI-style JSON content
blocks and the compact <image>path</image> TXT notation are supported. The two
examples under inference/examples/ encode to identical prompts and token IDs.
Minimal inference
See inference/README.md [blocked] for dependency installation,
checkpoint conversion, and TXT/JSON inference commands.
License
This repository is licensed under the MIT License [blocked].