Skip to content

deepseek-ai/DeepSeek-V4-Flash-0731

Download deepseek-v4-flash-0731-r33-b12x-nospec-maxseq1-batch4096-131k-recipe.toml

deepseek-v4-flash-0731-r33-b12x-nospec-maxseq1-batch4096-131k-recipe.toml · 3,967 bytes · SHA-256 9b96724e2855d799ef0683a01299313f3295149d7e5d3fa1352d7b605d2951b3

A recipe is a reproducible starting point, not a promotion

Status text and notes describe when the recipe was written. Loading a recipe starts a loopback-only container and changes no route; qualify it with eval preflight before use.

Field Value
Status qualification-control
Family deepseek-v4
Weights deepseek-ai/DeepSeek-V4-Flash-0731 @ 9e165c30e2704aec5d9d593cce3eebd58bbef1cb
Engine vllm-r33-b12x
Image voipmonitor/vllm@sha256:fdde59fed7f9fc12f9fd5ef1b3b3ea8d5097bf10ebad54b348497102c3a83f82
Quantization Released 0731 checkpoint through B12X W4A8 kernels; NVFP4 MoE weights, FP8 activations/dense path, and FP8 DS-MLA KV
Context tokens 131072
Hardware 2x NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition · sm_120 · 192 GB
Served model name deepseek-v4-flash-0731-r33-b12x-nospec-maxseq1-batch4096-tp2-131k
Suited for qualification-control, capacity-isolation, coding-agent
Origin 2026-08-10 matched r33 target-only batch-token capacity A/B

Sources:

Use this recipe

anvil-serving models recipes show 'deepseek-ai/DeepSeek-V4-Flash-0731' --registry ./deepseek-v4-flash-0731-r33-b12x-nospec-maxseq1-batch4096-131k-recipe.toml
anvil-serving models recipes load 'deepseek-ai/DeepSeek-V4-Flash-0731' --container my-serve --registry ./deepseek-v4-flash-0731-r33-b12x-nospec-maxseq1-batch4096-131k-recipe.toml --dry-run

Review the dry run, then repeat the load command with --confirm. See model lifecycle for importing a recipe into your own registry.

File

schema = "anvil-serving.serve-recipes/v1"

[[recipe]]
model = "deepseek-ai/DeepSeek-V4-Flash-0731"
status = "qualification-control"
source = "2026-08-10 matched r33 target-only batch-token capacity A/B"
family = "deepseek-v4"
total_params_b = 304
active_params_b = 13

[recipe.download]
repo = "deepseek-ai/DeepSeek-V4-Flash-0731"
revision = "9e165c30e2704aec5d9d593cce3eebd58bbef1cb"
volume = "deepseek-v4-0731-r16-hfcache"
require_complete_cache = true

[recipe.hardware]
gpu = "2x NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition"
arch = "sm_120"
vram_total_gb = 192
vram_note = "Aggregate PCIe VRAM without NVLink; exclusive TP2 only. Capacity is sharded, not unified."

[recipe.serve]
engine = "vllm-r33-b12x"
allow_cuda_visible_devices_index = true
image = "voipmonitor/vllm@sha256:fdde59fed7f9fc12f9fd5ef1b3b3ea8d5097bf10ebad54b348497102c3a83f82"
entrypoint = ["/usr/local/bin/serve-ds4-flash.sh"]
model_env = "MODEL"
named_volumes = [
  "deepseek-v4-0731-r33-quality-jit:/cache",
  "deepseek-v4-0731-r33-quality-tmp:/container-tmp",
]
quantization = "Released 0731 checkpoint through B12X W4A8 kernels; NVFP4 MoE weights, FP8 activations/dense path, and FP8 DS-MLA KV"
context_tokens = 131072
port = 39071
startup_timeout_seconds = 1800
served_model_name = "deepseek-v4-flash-0731-r33-b12x-nospec-maxseq1-batch4096-tp2-131k"
ipc = "host"
shm_size = "32gb"
ulimits = [
  "memlock=-1",
  "nofile=1048576:1048576",
  "stack=67108864",
]
env = [
  "CUDA_VISIBLE_DEVICES=0,1",
  "CUDA_DEVICE_ORDER=PCI_BUS_ID",
  "PYTHONHASHSEED=0",
  "VLLM_WSL2_ENABLE_PIN_MEMORY=1",
  "NCCL_IB_DISABLE=1",
  "NCCL_P2P_DISABLE=1",
  "NCCL_CUMEM_ENABLE=0",
  "NCCL_CUMEM_HOST_ENABLE=0",
  "NCCL_DEBUG=INFO",
  "PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False",
  "PORT=39071",
  "MODE=dspark-mtp0",
  "BACKEND=b12x-a8",
  "TP_SIZE=2",
  "DCP_SIZE=1",
  "ALLREDUCE_MODE=auto",
  "B12X_PCIE_TP2_REMOTE_PUSH=0",
  "GRAPH=auto",
  "MAX_NUM_SEQS=1",
  "MAX_MODEL_LEN=131072",
  "MAX_NUM_BATCHED_TOKENS=4096",
  "GPU_MEMORY_UTILIZATION=0.975",
  "LOAD_FORMAT=instanttensor",
  "INSTANTTENSOR_BACKEND=BUFFERED",
  "KV_OFFLOADING_SIZE=0",
  "MODEL_PATH=/root/.cache/huggingface/hub/models--deepseek-ai--DeepSeek-V4-Flash-0731/snapshots/9e165c30e2704aec5d9d593cce3eebd58bbef1cb",
  "SERVED_MODEL_NAME=deepseek-v4-flash-0731-r33-b12x-nospec-maxseq1-batch4096-tp2-131k",
]
flags = []
note = "Matched one-variable capacity control for the qualified 131072-token r33 target-only profile. MAX_NUM_BATCHED_TOKENS=4096 is the only functional change from the 8192-token control; model, image, TP2/DCP1, B12X W4A8 path, FP8 KV, target-only mode, max-seq-1 admission, context, graph policy, 0.975 utilization, loader, transport controls, and zero offload remain fixed. The distinct port, container, and served name preserve evidence identity. Measure startup GPU KV tokens, allocation, health, and matched context performance before using this result to revise the 393216-token candidate. No promotion authority."

[recipe.fit]
suited = ["qualification-control", "capacity-isolation", "coding-agent"]
rationale = "Isolates whether halving the scheduler batch-token ceiling reduces profiled activation/workspace memory and increases the GPU KV pool on the exact r33 dual-PRO control."

[recipe.sources]
official = [
  "https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-0731/tree/9e165c30e2704aec5d9d593cce3eebd58bbef1cb",
  "https://docs.vllm.ai/projects/ascend/en/v0.24.0rc/tutorials/models/Qwen3.5-27B-Qwen3.6-27B.html",
]
community = [
  "https://github.com/local-inference-lab/rtx6kpro/blob/6c111c20c2bf2efec038e4daf14fc67030717e46/models/ds4dspark-v20-r33.md",
  "https://github.com/local-inference-lab/blackwell-llm-docker/blob/426da51285d0666508003b03a75a442139fb7979/examples/docker-compose-ds4-v20-r33.yml",
]
local = [
  "configs/deepseek-v4-flash-0731-r33-b12x-nospec-maxseq1-131k-recipe.toml",
  "docs/findings/2026-08-02-deepseek-v4-flash-0731-650k-1m-pi-qualification.md",
]