Views
No views yet
Baekpica/DeepSeek-V4-Flash-0731-120B-REAM-104E-BF16.A16) on the NVFP4 paths; this is not
the W4A4 NVFP4 preset. The grouped attention WO_A compatibility path is
the explicit mixed-precision exception described below.llm-compressor model-free PTQ,
scheme="NVFP4A16", using data-free RTN. The shorter repository suffix is
NVFP4; the checkpoint is still weight-only W4A16, not W4A4.quant_config=None. The 43 grouped WO_A attention projections use dynamic
W8A8 E4M3 block FP8 (128×128 weight blocks, 128-element activation groups)
because the native CUDA inverse-RoPE output einsum directly consumes that
grouped FP8 layout. Linear gate_proj weights,
including shared-expert projections, remain part of the NVFP4 fused gate/up
quantization path.nvfp4-pack-quantized checkpoints.nvfp4a16_provenance.json; the checkpoint
header/config audit is in checkpoint_audit.json. See the BF16 parent model card
for the direct-saliency REAM and calibration details.Baekpica/vllm branch
deepseek-v4-v0.26.0,
based on the upstream v0.26.0 tag. The compatibility changes are pinned in
commit 622008c4e:1# Grouped FP8 WO_A uses the DeepGEMM scale attribute after loading.
2- weight_scale
3+ weight_scale_inv
4
5# The fused CUDA router has no 104-expert instantiation.
6- if current_platform.is_xpu():
7+ if current_platform.is_xpu() or gating_output.shape[-1] == 104:1git clone --branch deepseek-v4-v0.26.0 --single-branch \\
2 https://github.com/Baekpica/vllm.git
3cd vllm
4
5uv venv --python 3.12
6source .venv/bin/activate
7VLLM_USE_PRECOMPILED=1 uv pip install --editable . --torch-backend=auto
8
9uv pip install \\
10 flashinfer-python==0.6.14 \\
11 flashinfer-cubin==0.6.14 \\
12 'flashinfer-jit-cache==0.6.14+cu130' \\
13 --extra-index-url https://flashinfer.ai/whl \\
14 --extra-index-url https://flashinfer.ai/whl/cu130nvcc/header pair that matches the PyTorch CUDA build. The validated
DGX Spark environment used /usr/local/cuda-13.0:1export CUDA_HOME=/usr/local/cuda-13.0
2export PATH="$CUDA_HOME/bin:$PATH"
3
4vllm serve Baekpica/DeepSeek-V4-Flash-0731-120B-REAM-104E-NVFP4 \\
5 --port 8001 \\
6 --optimization-level 3 \\
7 --max-model-len 196608 \\
8 --max-num-seqs 2 \\
9 --max-num-batched-tokens 16384 \\
10 --gpu-memory-utilization 0.92 \\
11 --enable-prefix-caching \\
12 --enable-chunked-prefill \\
13 --kv-cache-dtype fp8 \\
14 --moe-backend auto \\
15 --attention-backend flashinfer \\
16 --tokenizer-mode deepseek_v4 \\
17 --reasoning-parser deepseek_v4 \\
18 --tool-call-parser deepseek_v4 \\
19 --enable-auto-tool-choice \\
20 --quantization compressed-tensors \\
21 --language-model-onlyquantization_config declares the packed format and ignore
list. No runtime adapter or model-repository custom code is required.head.weight; vLLM's native DeepSeek-V4 mapper exposes it as
lm_head.weight at runtime. Tensor paths otherwise use the original native
DeepSeek-V4 layout expected by that mapper; no adapter or custom model file is
needed./health (HTTP 200), model discovery, and four OpenAI-compatible chat
requests. Raw responses and timings are in vllm_serving_smoke_2048.json.| Case | Result | Completion |
|---|---|---|
| Korean Python | Format rubric 4/4; semantic review found incorrect edge-case assertions | 490 tokens, stop |
| Reservoir math | Failed; arithmetic error followed by repetition | 2,048 tokens, length |
| 5,810-token needle | Exact retrieval | 55 tokens, stop |
| Strict JSON | Exact output | 29 tokens, stop |