AxionML DeepSeek-V4-Flash-NVFP4

Mirrored by AxionML for open-source serving and deployment use cases. Part of AxionML's effort to provide ready-to-serve quantized models for the community.

Quantized by NVIDIA. The weights in this repository are an unmodified copy of nvidia/DeepSeek-V4-Flash-NVFP4 (revision e3cd60e7de98e9867116860d522499a728de1cf9). All credit for the quantization belongs to NVIDIA.

This is an NVFP4-quantized version of deepseek-ai/DeepSeek-V4-Flash (284B total parameters, 13B activated), quantized with NVIDIA Model Optimizer.

About NVFP4 quantization: NVFP4 on Blackwell couples a compact E2M1 FP4 codebook with blockwise FP8 (E4M3) scaling over 16-element micro-blocks, so that 4-bit stored values remain numerically useful for neural-network computation. The E2M1 codebook provides a small, nonuniform set of representable magnitudes up to ±6 and relies on saturating behavior rather than IEEE NaN/Inf encodings to maximize usable range per bit. Using an FP8 block scale (rather than power-of-two-only E8M0) enables fractional scales and error-minimizing scale selection. On Blackwell Tensor Cores, native FP4 multipliers exploit E2M1 simplicity while higher-precision FP32 accumulation protects dot-product accuracy.

Ready for commercial and non-commercial use under MIT.

Model Summary

Architecture MoE with hybrid attention (Compressed Sparse + Heavily Compressed Attention), Manifold-Constrained Hyper-Connections
Total Parameters 284B
Activated Parameters 13B
Reasoning Modes Non-think / Think High / Think Max
Context Length 1M tokens
Checkpoint Size ~168 GB

Evaluation Results

Benchmark Baseline NVFP4
GPQA Diamond 89.4 89.1
AA-LCR 65.8 65.5
τ²-Bench Telecom 94.3 94.2
SciCode 48.1 48.1
IFBench 78.8 79.5

Scores reported by NVIDIA for this checkpoint. temperature=1.0, top_p=1.0, max 384,000 tokens.

Quantization Details

Usage

Deploy with SGLang

python3 -m sglang.launch_server \
    --model-path AxionML/DeepSeek-V4-Flash-NVFP4 \
    --tensor-parallel-size 8 \
    --trust-remote-code

Deploy with vLLM

vllm serve AxionML/DeepSeek-V4-Flash-NVFP4 \
    --tensor-parallel-size 4 \
    --trust-remote-code \
    --kv-cache-dtype fp8

SGLang auto-detects NVFP4 from hf_quant_config.json (sgl-project/sglang#25820). vLLM validated upstream on GB300 (TP4). Superseded by AxionML/DeepSeek-V4-Flash-0731-NVFP4.

Limitations

The base model was trained on data that may contain toxic language and societal biases. The quantized model inherits these limitations. It may generate inaccurate, biased, or offensive content. Please refer to the original model card and the upstream quantized model card for full details.

Credits

Downloads last month
168
Safetensors
Model size
291B params
Tensor type
BF16
·
U8
·
F8_E4M3
·
I64
·
F32
·
I8
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for AxionML/DeepSeek-V4-Flash-NVFP4

Quantized
(127)
this model

Space using AxionML/DeepSeek-V4-Flash-NVFP4 1