DS41 Flash 1017 FP8 PP2 DSpark 2x GB300 — vLLM v0.34 runtime abliteration
00 upvotes — sign in to vote sign in to votecommunity Community submission — verify on your own hardware.
recipe by ebfio - DeepSeek V4.1 Flash PP2+DSpark GB300 pair recipe (v0.34.0 steering lane)↗ · listed by localai-recipes
Initial version · updated 44 h ago · license Apache-2.0 (repo); model deepseek-ai license
chat code vision speculative pp2 rdma roce steering abliteration multi-node long-context gb300-pair fp8-kv dspark engram
Runtime-abliteration lane of the ebfio GB300 two-station pair: TP1xPP2 (40 layers 20/20) + DSpark speculative decoding moves from vLLM v0.31.0 to v0.34.0 (three of five source overlays upstreamed and dropped; dspark.py rebased, sitecustomize stays and adds the replay-boundary guard) and gains per-request activation steering served from ONE stock checkpoint - a 684 KB WARMIND sidecar drives a forward hook x' = x - s*alpha*(x.d)d with steering_scale 0-1 per request (0 = stock, 1 = fully abliterated direction; no abliterated checkpoint on disk). Same 2x DGX Station GB300 400G CX8 RoCE pair as the v0.31.0 slug. Measured 2026-11-20/21 by the author: 429.1 tok/s C1 stock (-module) and 376.9 steered at scale 1 on the same lane (v0.31.0 lane: 410.4), KV pool 62,361,328 tokens at 1M context. Steering probes T1/T2/T3/T1b/T4/T6/T7 pass; mixed-scale batches do not cross.
Launch command
vllm serve /model --served-model-name deepseek-v4.1-flash --trust-remote-code --tokenizer-mode deepseek_v41 --tensor-parallel-size 1 --pipeline-parallel-size 2 --distributed-executor-backend mp --nnodes 2 --node-rank 0 --master-addr '<rank0-rail0-ip>' --master-port 29501 --disable-custom-all-reduce --max-model-len 1048576 --max-num-seqs 128 --max-num-batched-tokens 8192 --gpu-memory-utilization 0.9 --engram-config '{"cpu_offload": true, "use_thp": true}' --reasoning-parser deepseek_v41 --tool-call-parser deepseek_v41 --enable-auto-tool-choice --enable-prefix-caching --no-enable-flashinfer-autotune --kv-cache-dtype fp8 --attention-config '{"backend": "FLASHINFER_MLA_SPARSE_DSV41", "indexer_kv_dtype": "mxfp4", "indexer_sparse_logits": true}' --long-prefill-token-threshold 6144 --default-chat-template-kwargs '{"preserve_thinking": true}' --cpu-distributed-timeout-seconds 7200 --speculative-config '{"method":"dspark","num_speculative_tokens":5,"draft_sample_method":"probabilistic","rejection_sample_method":"block","enable_adaptive_verification":false}' --mm-encoder-tp-mode data --host 0.0.0.0 --port 8001runtime
env: 'Per-rank container env (serve_vllm_node.sh): lane select VLLM_PARALLEL=pp + VLLM_PATCH_PP2_FLAG=1 + VLLM_OVERLAY_TAG=v0.34.0 + VLLM_IMAGE=vllm/vllm-openai:v0.34.0; PYTHONPATH=/opt/pp2-flag (overlay). Steering: PP2_STEERING_SIDECAR=/opt/pp2-steering-sidecar/steering.safetensors (ro-mount), PP2_STEERING_SHA256=<sidecar sha256>, PP2_STEERING_DEFAULT_SCALE=0 (requests without the field stay stock), PP2_STEERING_REPLAY=off (default; decoder bounded replay off on every stage), PP2_STEERING_KERNEL=torch (fused = 32/34 kernels/forward, experimental). NCCL dual-rail tuned striping as the v0.31.0 sibling (NCCL_HCAS=mlx5_0,mlx5_1, RING/SIMPLE/8ch/4QP, DMABUF=1, GDR_LEVEL=SYS); GLOO/NCCL_SOCKET_IFNAME=cx8r0; HOST_RDMA=1 MOFED bind-mounts; VLLM_MEMORY_PROFILER_ESTIMATE_CUDAGRAPHS=0 (KV +15.8% vs profiler reserve); VLLM_DEEP_GEMM_WARMUP=relax; ENGRAM_HOST_TABLE=1 ENGRAM_LAYOUT=private ENGRAM_PIN=1 ENGRAM_THP=1.'
notes: "Two-node launcher: stage the recipe dir at the same path on both nodes, fill placeholder IPs in config.env, then 'bash -n recipe/config.env && bash recipe/launch_cluster.sh' (rank 0 = API host :8001, rank 1 headless; preflight checks RDMA devices, jumbo ping on rail 1, MemAvailable > 300 GiB/node). Winning serving config (README 2026-11-05, baked into config.env): --max-num-batched-tokens 8192 + --long-prefill-token-threshold 6144 (+55% KV), default cudagraph capture list, no k-schedule. Serving two names from one lane: the plain id takes no body field; a steered alias sends extra_body {steering_scale: 1.0} and MUST send the engine's own model name (vLLM validates it) on a single-deployment router backend (a shared public group drops extra_body and serves vanilla under a steered name). Verified temp-0: plain id refuses a lockpick prompt, steered id answers it. Verify lane: verify/steering_probe.py (T1/T2/T3/T1b/T4/T6/T7), verify/texts_prod.py, verify/pp2_soak.py."
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/ds41-flash-1017-fp8-pp2-dspark-2x-gb300-vllm-v0-34-runtime-ablit.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/ds41-flash-1017-fp8-pp2-dspark-2x-gb300-vllm-v0-34-runtime-ablit.jsonInstall requirements
- Docker (or a compatible OCI container runtime)
- NVIDIA Container Toolkit (nvidia-container-toolkit) - exposes host GPUs to the container
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
- Hardware-bound values in this recipe (device counts, bind-mount paths, utilization, ports) describe the author's machine, not yours - map them to your own rig before launching. Keep the engine flags, model, quant, and parallelism strategy; adjust paths and ports to the hardware you actually have.
- GPU identity: list your GPUs with `nvidia-smi -L` and substitute your own GPU UUIDs/indices wherever the recipe pins the author's.
- Model directory: bind-mount paths are author-side - point them at your own mount where the model files live.
- Host port: pick a free port on your machine and publish the container there; keep the in-container port unchanged.
Downloads
- Weights https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-10171bae0e1088993b9b82de08f59de5be5a34e42170
- Abliteration https://huggingface.co/jcartu/WARMIND-1017-Steering-Sidecar1bf69d8f31e84ac08deaa6d15eb18a22137e305f (warmind-v1.1-orth4c-steering.safetensors, 684,060 B, sha256 68551f9b8deca315d0c23f31519f69e240d0d4bf0459676add70762635d86a2d, MIT, 99 tensors, published v1 format layers 4-36)
- Engine image https://hub.docker.com/r/vllm/vllm-openai/tags?name=v0.34.0tag v0.34.0 @ manifest sha256:20fdb089454afbb324efa4110a2c025ff7b27cc1a086e07aa580b18df8ad1ce1 (pushed 2026-11-16; arm64 child sha256:e40eb98263fa13418dda684147d73e8ec4a2b0e056a37e955dc189cd1b11dd16 is the GB300 pull)
- Reference https://github.com/ebfio/deepseek-v41-flash-pp2-pair441d98b7722896ef2a214000fc114d4be8ef135a (branch feat/v034-steering tip; ingested v0.31.0 lane = main @ 956fbdc331)
Revision notes
Initial version.
Revision history
Initial version.
Fork
Sign in to fork this recipe — a fork is your own copy; you own it and only you can update it.