/ Модель

Характеристики

Лицензия
MIT
Базовая модель
DeepSeek-V4-Flash-0731
Опубликована
31 июл 2026

DeepSeek-V4-Flash-0731-GGUF

Генерация текстаТекст → текст14 профессий

DeepSeek-V4-Flash-0731 GGUF — это набор GGUF-конвертаций и экспертно подобранных квантованных вариантов базовой модели DeepSeek-V4-Flash-0731, разработанной DeepSeek AI.

1 398скачиваний за 30 дней9лайковвеса обновлены3 авг 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Репозиторий подготовлен bullerwins для запуска через llama.cpp и предназначен для генерации текста, включая локальное инференс-развёртывание и агентские сценарии.

Модель использует разреженную MoE-архитектуру с маршрутизируемыми экспертами. В репозитории доступны варианты размером от 81,86 до 150,75 GiB, а также компактный DSpark-компаньон размером 10,15 GiB для speculative decoding. Представлены lossless-вариант MXFP4/BF16, смешанные IQ2_XS/IQ3_XXS-квантизации и версии с IQ2_XS или IQ3_XXS для экспертов. Квантизации позволяют выбирать компромисс между размером и качеством: по тестам на Wikitext-2 lossless-вариант обеспечивает полное совпадение с эталоном, тогда как квантованные варианты показывают от 75,082% до 84,094% совпадения наиболее вероятного токена.

Сильной стороной набора является широкий выбор практических вариантов, сохранение native MXFP4 для части экспертных тензоров и оценка качества по KLD и совпадению токенов. Ограничения — очень высокие требования к дисковому пространству и памяти, а также снижение качества у более компактных квантований. Сведения о поддерживаемых языках, размере контекста и подробных модальностях в предоставленной карточке отсутствуют. Указана лицензия MIT; для формата чата, архитектурных деталей и рекомендуемых параметров сэмплирования предлагается обращаться к карточке исходной модели. Рекомендуемые параметры: temperature 1.0, top_p 0.95 для агентских сценариев и top_p 1.0 в остальных случаях.

Для каких профессий подходит14

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

DeepSeek-V4-Flash-0731 GGUF

GGUF conversions and expert-focused quantizations of deepseek-ai/DeepSeek-V4-Flash-0731 for llama.cpp.

This repository contains only the practical bullerwins Pareto points retained after size/KLD testing. Models that were dominated or offered only negligible size advantages over a better Unsloth quant were removed.

The routed MoE experts in the lossless reference remain in their native MXFP4 representation. FP8-origin non-expert matrices are dequantized into BF16, which represents their E4M3 values and power-of-two E8M0 scales exactly. Original BF16 and F32 tensors are also preserved. The resulting MXFP4_MOE-BF16 file is lossless relative to the model tensors used by llama.cpp.

Files

FileRouted expertsOther tensorsSize
DeepSeek-V4-Flash-0731-MXFP4_MOE-BF16.ggufNative MXFP4Lossless BF16/F32161.87 GB / 150.75 GiB
DeepSeek-V4-Flash-0731-IQ2_XS-IQ3_XXS-GateUp-MXFP4-Down-Q8_0.ggufMXFP4 down; IQ2_XS gate/up in layers 0-17; IQ3_XXS gate/up in layers 18-42Eligible non-expert matrices in Q8_0120.33 GB / 112.07 GiB
DeepSeek-V4-Flash-0731-IQ3_XXS-Experts-Q8_0.ggufIQ3_XXSEligible non-expert matrices in Q8_0113.87 GB / 106.05 GiB
DeepSeek-V4-Flash-0731-IQ2_XS-Experts-Q8_0.ggufIQ2_XSEligible non-expert matrices in Q8_087.90 GB / 81.86 GiB
DeepSeek-V4-Flash-0731-DSpark.ggufDSpark speculative companionMixed MXFP4/Q8_0/BF16/F3210.90 GB / 10.15 GiB
DeepSeek-V4-Flash-0731-imatrix.gguf-Importance matrix generated from 802 x 512-token calibration chunks0.47 GB / 0.44 GiB

The IQ quantizations were generated with the included calibration importance matrix. The mixed autoresearch model keeps all 43 expert down projections in native MXFP4, uses IQ2_XS for the 36 gate/up tensors in layers 0-17, and uses IQ3_XXS for the 50 gate/up tensors in layers 18-42.

KLD quality evaluation

All models were tested against logits from the lossless MXFP4_MOE-BF16 reference using 50 x 512-token Wikitext-2 test chunks. The test evaluated 12,750 output distributions. Lower KLD and higher same-top-token agreement are better. Autoresearch policies were selected on the separate Wikitext-2 validation split; the test split was used only as a holdout check.

ModelMean KLDPPL ratioSame top token
Lossless MXFP4/BF160.0000001.0076100.000%
Mixed IQ2_XS/IQ3_XXS gate/up + MXFP4 down0.2802191.137984.094%
IQ3_XXS experts/Q8_00.3104191.160483.067%
IQ2_XS experts/Q8_00.6002731.465875.082%

Comparison with Unsloth Dynamic quants

KLD versus GGUF size for the retained bullerwins Pareto set and Unsloth

Both collections provide strong and closely competitive quality/size tradeoffs. The lossless bullerwins and Unsloth models have byte-identical tensor payloads. The bullerwins IQ2_XS model fills the gap between Unsloth's IQ1 and IQ2 tiers, while bullerwins IQ3_XXS and the 112.07 GiB mixed model provide useful intermediate points between Unsloth UD-IQ3_XXS and UD-Q3_K_M. Unsloth remains stronger around 90, 119, 127, and 144 GiB and also offers smaller sub-80 GiB options. The plot intentionally shows only the bullerwins models retained as practical Pareto points.

Source model

DeepSeek's recommended sampling settings are temperature = 1.0, with top_p = 0.95 for agentic scenarios and top_p = 1.0 otherwise. See the official model repository for architecture details, chat formatting, license, and intended usage.


Original model card

The following model card is from deepseek-ai/DeepSeek-V4-Flash-0731.

DeepSeek-V4-Flash-0731

Introduction

DeepSeek-V4-Flash-0731 is the official release of DeepSeek-V4-Flash, superseding the preview version, with substantially enhanced agentic capabilities. It has the same model structure as DeepSeek-V4-Flash-DSpark, i.e. it comes with a speculative decoding module attached.

DeepSeek-V4-Flash-0731 outperforms DeepSeek-V4-Pro (Preview) on benchmarks listed below despite its far smaller activated parameter count, and is broadly competitive with the strongest proprietary models available.

BenchmarkDeepSeek-V4-Flash-0731DeepSeek-V4-Flash (Preview)DeepSeek-V4-Pro (Preview)GLM-5.2Opus-4.8
Terminal Bench 2.182.761.872.181.085.0
NL2Repo54.239.438.548.969.7
Cybergym76.738.752.7-83.1
DeepSWE54.47.312.846.258.0
Toolathlon-Verified70.349.755.959.976.2
Agents' Last Exam25.215.816.523.825.7
AutomationBench Public25.110.812.812.927.2
DSBench-FullStack †68.737.041.861.871.6
DSBench-Hard †59.625.831.154.571.7

Notes:

  1. For the Code Agent tasks among the public benchmarks above, DeepSeek-V4-Flash-0731 is evaluated with the minimal mode of DeepSeek Harness (to be released) as the agent framework, using the max reasoning effort level with temperature = 1.0, top_p = 0.95.
  2. † DSBench-FullStack is an internal full-stack development test set; DSBench-Hard is an internal test set of difficult coding-agent problems.

Chat Template

This release does not include a Jinja-format chat template. Instead, we provide a dedicated encoding folder with Python scripts and test cases demonstrating how to encode messages in OpenAI-compatible format into input strings for the model, and how to parse the model's text output. Please refer to the encoding folder for full documentation.

The reasoning_effort parameter now supports three levels — low, high, and max — which control how much deliberation the model spends before answering.

A brief example:

from encoding_dsv4 import encode_messages, parse_message_from_completion_text

messages = [
    {"role": "user", "content": "hello"},
    {"role": "assistant", "content": "Hello! I am DeepSeek.", "reasoning_content": "thinking..."},
    {"role": "user", "content": "1+1=?"}
]

# messages -> string
prompt = encode_messages(messages, thinking_mode="thinking", reasoning_effort="max")

# string -> tokens
import transformers
tokenizer = transformers.AutoTokenizer.from_pretrained("deepseek-ai/DeepSeek-V4-Flash-0731")
tokens = tokenizer.encode(prompt)

How to Run with vLLM

DSpark speculative decoding is enabled with a single flag — add --speculative-config with method: dspark to your vLLM launch command:

--speculative-config '{"method":"dspark","num_speculative_tokens":7,"draft_sample_method":"greedy"}'

For example, the command below serves the model with vLLM on a single 4×GB300 node. See the vLLM recipe for detailed instructions and other hardware configurations.

vllm serve deepseek-ai/DeepSeek-V4-Flash-0731 \
  --trust-remote-code --kv-cache-dtype fp8 --block-size 256 \
  --data-parallel-size 4 --enable-expert-parallel \
  --moe-backend deep_gemm_mega_moe \
  --attention-config '{"use_fp4_indexer_cache": true}' \
  --speculative-config '{"method":"dspark","num_speculative_tokens":7,"draft_sample_method":"greedy"}'

How to Run with SGLang

Enable DSpark with --speculative-algorithm DSPARK and do not set a separate --speculative-draft-model-path as the target and draft weights therefore come from the same checkpoint. See the SGLang cookbook for detailed instructions, benchmarks and other hardwares configurations.

sglang serve \
  --trust-remote-code \
  --model-path deepseek-ai/DeepSeek-V4-Flash-0731 \
  --tp 4 \
  --moe-runner-backend flashinfer_mxfp4 \
  --speculative-algorithm DSPARK \
  --mem-fraction-static 0.90 \
  --chunked-prefill-size 4096 \
  --swa-full-tokens-ratio 0.1 \

How to Run Locally

Please refer to the inference folder for detailed instructions on running DeepSeek-V4 locally, including model weight conversion and interactive chat demos.

For local deployment, we recommend setting the sampling parameters to temperature = 1.0, with top_p = 0.95 for agentic scenarios and top_p = 1.0 otherwise. For the high and max reasoning effort levels, we recommend a maximum output length of 384K tokens.

License

This repository and the model weights are licensed under the MIT License.

Citation

@misc{deepseekai2026deepseekv4,
      title={DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence},
      author={DeepSeek-AI},
      year={2026},
}

Contact

If you have any questions, please raise an issue or contact us at service@deepseek.com.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

llama.cpp

Нельзя запустить

GGUF-модель ждёт проверки: нужно выбрать файл кванта под доступные GPU.

Ревизия весов
b217257

0 моделей