How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "tarruda/DeepSeek-V4-Flash-0731-GGUF"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "tarruda/DeepSeek-V4-Flash-0731-GGUF",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker
docker model run hf.co/tarruda/DeepSeek-V4-Flash-0731-GGUF:
Quick Links

DeepSeek V4 Flash 0731 GGUF

GGUF quantizations for deepseek-ai/DeepSeek-V4-Flash-0731

DeepSeek published the original model weights in MXFP4, so the MXFP4 GGUFs in this repo are direct conversions of those original safetensors.

Quant Recipes

Recipe Quant Size Default type Tensor-specific overrides
Q3_K 120974.36 MiB (3.57 BPW) Q8_0 ffn_down_exps=q3_k, ffn_gate_exps=q3_k, ffn_up_exps=q3_k
IQ3_XXS 108590.36 MiB (3.20 BPW) Q8_0 ffn_down_exps=iq3_xxs, ffn_gate_exps=iq3_xxs, ffn_up_exps=iq3_xxs
Q2_K 94142.36 MiB (2.78 BPW) Q8_0 ffn_down_exps=q2_k, ffn_gate_exps=q2_k, ffn_up_exps=q2_k

Usage

This is the script I use to run:

#!/bin/sh -e

model="./IQ3_XXS/DeepSeek-V4-Flash-0731-IQ3_XXS-00001-of-00004.gguf"

ctx=262144
parallel=2

ctx_size=$((ctx * parallel))

llama-server --no-mmap --no-warmup \
  --model $model --ctx-size $ctx_size -np $parallel \
  --repeat-penalty 1.0  --presence-penalty 0.0 \
  --chat-template-kwargs '{"reasoning_effort": "max"}' \
  --reasoning-preserve \
  -b 2048 -ub 2048 \
  --cache-ram 4096 -ctxcp 128 \
  --temp 1.0 --top-p 1.0
Downloads last month
891
GGUF
Model size
284B params
Architecture
deepseek4
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for tarruda/DeepSeek-V4-Flash-0731-GGUF

Quantized
(193)
this model