Skip to content

deepseek-ai/DeepSeek-V4-Flash-0731

Download deepseek-v4-flash-0731-infernal-r18-b12x-nospec-maxseq8-batch4096-1m-recipe.toml

deepseek-v4-flash-0731-infernal-r18-b12x-nospec-maxseq8-batch4096-1m-recipe.toml · 4,804 bytes · SHA-256 e126a7194893096c6a75840ffc79224f9f9944a5642db1a9e6adda0ea3747cec

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-infernal-invocation-r18-b12x
Image voipmonitor/vllm@sha256:414ec7d0d28358cfd8af0697f330f5c8acbb80e4dc4e5ba69c9fd5b5855ea804
Quantization Released 0731 checkpoint through r18 deepseek_v4_fp8 and B12X W4A8 kernels; NVFP4 MoE weights, FP8 activations/dense path, FP8 compressed MLA KV, and FP32 sliding-window compressor state
Context tokens 1048576
Hardware 2x NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition · sm_120 · 192 GB
Served model name deepseek-v4-flash-0731-infernal-r18-b12x-nospec-maxseq8-batch4096-tp2-1m
Suited for qualification-control, maximum-context, coding-agent, target-only
Origin Matched target-only control for the 2026-08-21 Infernal Invocation r18 DSpark K5 1048576-token qualification candidate, translated from the current community recipe authored by Martin Vit (voipmonitor)

Sources:

Use this recipe

anvil-serving models recipes show 'deepseek-ai/DeepSeek-V4-Flash-0731' --registry ./deepseek-v4-flash-0731-infernal-r18-b12x-nospec-maxseq8-batch4096-1m-recipe.toml
anvil-serving models recipes load 'deepseek-ai/DeepSeek-V4-Flash-0731' --container my-serve --registry ./deepseek-v4-flash-0731-infernal-r18-b12x-nospec-maxseq8-batch4096-1m-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 = "Matched target-only control for the 2026-08-21 Infernal Invocation r18 DSpark K5 1048576-token qualification candidate, translated from the current community recipe authored by Martin Vit (voipmonitor)"
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 under WSL2; exclusive TP2 only. Upstream r18 measurements used native Linux GPUs on direct PCIe root ports, so its throughput and 262144-token qualification are priors rather than proof for this switched-PCIe topology."

[recipe.serve]
engine = "vllm-infernal-invocation-r18-b12x"
allow_cuda_visible_devices_index = true
image = "voipmonitor/vllm@sha256:414ec7d0d28358cfd8af0697f330f5c8acbb80e4dc4e5ba69c9fd5b5855ea804"
entrypoint = [
  "/usr/local/bin/lmcache-mp-wrapper.sh",
  "/usr/local/bin/serve-ds4-flash.sh",
]
model_env = "MODEL"
named_volumes = [
  "deepseek-v4-0731-infernal-r18-jit:/cache",
  "deepseek-v4-0731-infernal-r18-tmp:/container-tmp",
]
quantization = "Released 0731 checkpoint through r18 deepseek_v4_fp8 and B12X W4A8 kernels; NVFP4 MoE weights, FP8 activations/dense path, FP8 compressed MLA KV, and FP32 sliding-window compressor state"
context_tokens = 1048576
port = 39083
startup_timeout_seconds = 2400
served_model_name = "deepseek-v4-flash-0731-infernal-r18-b12x-nospec-maxseq8-batch4096-tp2-1m"
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",
  "GLOO_SOCKET_IFNAME=lo",
  "NCCL_SOCKET_IFNAME=lo",
  "OMP_NUM_THREADS=2",
  "PYTHONHASHSEED=0",
  "VLLM_WSL2_ENABLE_PIN_MEMORY=1",
  "NCCL_IB_DISABLE=1",
  "NCCL_CUMEM_ENABLE=0",
  "NCCL_CUMEM_HOST_ENABLE=0",
  "NCCL_DEBUG=INFO",
  "PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False",
  "PORT=39083",
  "MODE=dspark-mtp0",
  "BACKEND=b12x-a8",
  "TP_SIZE=2",
  "DCP_SIZE=1",
  "ALLREDUCE_MODE=auto",
  "B12X_PCIE_TP2_REMOTE_PUSH=0",
  "DSPARK_DEPTH_MODE=fixed",
  "DSPARK_TOKENS=5",
  "DSPARK_CAPACITY_ACTIVATION_BATCH_SIZE=0",
  "DRAFT_SAMPLE_METHOD=probabilistic",
  "REJECTION_SAMPLE_METHOD=standard",
  "VLLM_MOE_SKIP_PADDING=1",
  "GRAPH=auto",
  "MAX_NUM_SEQS=8",
  "MAX_MODEL_LEN=1048576",
  "MAX_NUM_BATCHED_TOKENS=4096",
  "GPU_MEMORY_UTILIZATION=0.975",
  "LMCACHE_MODE=off",
  "KV_OFFLOADING_SIZE=0",
  "NATIVE_L2_GB=0",
  "LOAD_FORMAT=instanttensor",
  "INSTANTTENSOR_BACKEND=BUFFERED",
  "MODEL_PATH=/root/.cache/huggingface/hub/models--deepseek-ai--DeepSeek-V4-Flash-0731/snapshots/9e165c30e2704aec5d9d593cce3eebd58bbef1cb",
  "SPEC_MODEL_PATH=/root/.cache/huggingface/hub/models--deepseek-ai--DeepSeek-V4-Flash-0731/snapshots/9e165c30e2704aec5d9d593cce3eebd58bbef1cb",
  "SERVED_MODEL_NAME=deepseek-v4-flash-0731-infernal-r18-b12x-nospec-maxseq8-batch4096-tp2-1m",
]
flags = []
note = "Unqualified otherwise-identical target-only control. It retains the exact r18 image, checkpoint, TP2/DCP1 layout, WSL2/NCCL controls, quantization, FP8 compressed MLA KV, max-seq-8, batch-4096, GRAPH=auto, no-offload policy, prefix-cache launcher default, allocator, release-scoped JIT volume, memory utilization, context, and loading backend of the K5 arm. Only MODE=dspark-mtp0, the loopback port, and the served evidence name differ."

[recipe.fit]
suited = ["qualification-control", "maximum-context", "coding-agent", "target-only"]
rationale = "Provides the required otherwise-identical target-only baseline for deciding whether r18 fixed probabilistic DSpark K5 improves the local 1048576-token lane without masking correctness, capacity, workspace, or stability regressions."

[recipe.sources]
official = [
  "https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-0731/tree/9e165c30e2704aec5d9d593cce3eebd58bbef1cb",
]
community = [
  "https://github.com/local-inference-lab/rtx6kpro/blob/12272507e64752af7a6cde28540edf8ee6c20e59/models/ds4dspark-infernal-invocation-r18.md",
  "https://github.com/local-inference-lab/blackwell-llm-docker/blob/203e1a11a373a0486897a5a284409ba4417d0f7a/examples/docker-compose-ds4-infernal-invocation-cu133-r18.yml",
  "https://github.com/local-inference-lab/blackwell-llm-docker/blob/203e1a11a373a0486897a5a284409ba4417d0f7a/validation/infernal-invocation-r18-remote-gpu.json",
]
local = [
  "configs/deepseek-v4-flash-0731-infernal-r18-b12x-dspark5-maxseq8-batch4096-1m-recipe.toml",
]