localairecipes launch configs for local inference
Beta branch — the upstream image for this build is a beta and is being superseded (see the recipe notes); measured numbers may shift between image refreshes.

DeepSeek V4.1 Flash on 4x RTX PRO 6000 Blackwell — Karmic Kraken TP4 adaptive DSpark K7

00 upvotes — sign in to vote sign in to vote

community Community submission — verify on your own hardware.

recipe by local-inference-lab↗ · listed by localai-recipes

revision r2 · commit 7dbac8c7cc · updated 10 d ago · license CC-BY-4.0

chat code adaptive

Karmic Kraken TP4 serving recipe: adaptive-verification DSpark K7, RAM Engram, 131K context (4.7M logical KV tokens).

Launch command

serve deepseek-ai/DeepSeek-V4.1-Flash --async-scheduling --attention-backend B12X --block-size 256 --compilation-config ''\''{"cudagraph_mode":"FULL_AND_PIECEWISE"}'\''' --decode-context-parallel-size 1 --decode-refill-target auto --default-chat-template-kwargs ''\''{"thinking":true,"reasoning_effort":"high"}'\''' --dtype bfloat16 --enable-auto-tool-choice --enable-chunked-prefill --enable-force-include-usage --enable-prefix-caching --enable-prompt-tokens-details --enable-request-id-headers --engram-config ''\''{"cpu_offload":false,"table_memory":"disk","disk_resident_scales":false,"projection_tp":false}'\''' --generation-config vllm --gpu-memory-utilization 0.95 --host 0.0.0.0 --jit-monitor-mode warn --kv-cache-dtype fp8 --linear-backend b12x --load-format instanttensor --max-cudagraph-capture-size 128 --max-model-len -1 --max-num-batched-tokens 4096 --max-num-seqs 32 --max-parallel-prefills 1 --moe-backend b12x --override-generation-config ''\''{"temperature":1.0,"top_p":0.95}'\''' --pipeline-parallel-size 1 --port 8000 --prefill-compute-share 0.4 --prefill-policy round-robin --prefill-schedule-interval 1 --reasoning-parser deepseek_v41 --safetensors-load-strategy lazy --no-scheduler-reserve-full-isl --served-model-name DeepSeek-V4.1-Flash --speculative-config ''\''{"method":"dspark","attention_backend":"B12X","draft_sample_method":"greedy","rejection_sample_method":"standard","num_speculative_tokens":7,"draft_tensor_parallel_size":4,"enable_adaptive_verification":true,"adaptive_verification_cost_scale":1.0}'\''' --swa-block-size 128 --tensor-parallel-size 4 --tokenizer-mode deepseek_v41 --tool-call-parser deepseek_v41

Use this recipe with your agent

Paste this into any agent chat — it fetches and applies the recipe:

Fetch https://localairecipes.com/api/v1/recipes/ds4-1-flash-4x6000-kk-dspark-k7.json and apply the inference recipe it describes (engine flags, model, quant, context) to my setup. Ask before overwriting any existing config.

Or fetch it directly:

curl -fsSL https://localairecipes.com/api/v1/recipes/ds4-1-flash-4x6000-kk-dspark-k7.json

Model

Install requirements

NVIDIA driver floor: unknown - check the image tag

Source: NVIDIA CUDA Toolkit Release Notes - driver compatibility tables (https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/, fetched 2026-10-03).

Map the placeholders to your rig

Revision notes

Benchmark-qualified configuration from local-inference-lab/rtx6kpro (Karmic Kraken serving report). Five warmed 30-second windows per cell on RTX PRO 6000 Blackwell Max-Q; decode ctx-0 temp 1. Launch argv transcribed verbatim from the repo's unified Docker guide (same composition). Measured: C1 249.1 tok/s, C8 805.5 tok/s, 32K prefill 17982 tok/s.

Revision history

Fork

Sign in to fork this recipe — a fork is your own copy; you own it and only you can update it.

Export

recipe.yaml (raw)