DeepSeek-V4-Flash-0731-AutoRound-W4A16 / AUTOROUND_QUANTIZATION.md
bullerwins's picture
Add files using upload-large-folder tool
331f482 verified
|
Raw
History Blame
1.51 kB

DeepSeek-V4-Flash-0731 AutoRound W4A16

Source: /mnt/llms/models/deepseek-ai/DeepSeek-V4-Flash-0731

Generated with AutoRound 0.15.0 (/home/ubuntuai/auto-round, commit 60b813cb) using model-free RTN:

auto-round /mnt/llms/models/deepseek-ai/DeepSeek-V4-Flash-0731 \
  --model_free \
  --scheme W4A16 \
  --ignore_layers compressor,indexer.weights_proj \
  --layer_config "{'wo_a':{bits:16}}" \
  --output_dir /mnt/llms/models/bullerwins/DeepSeek-V4-Flash-0731-AutoRound

The checkpoint uses symmetric INT4 weights with group size 128 and BF16 activations. Quality-sensitive token embeddings, LM head, MoE routers, attention compressors/indexer projections, and wo_a remain BF16. AutoRound quantized 35,672 eligible layers and preserved 242 layers.

block_name_to_quantize was removed from both quantization configurations after export. AutoRound emitted the source-level prefix layers, while vLLM instantiates these modules under model.layers; leaving the field caused vLLM to treat the MoE as unquantized. Explicit BF16 exclusions in extra_config remain intact.

The checkpoint was validated with vLLM using PP=3 on CUDA devices 0,2,6, VLLM_PP_LAYER_PARTITION=8,27,8, and 8 GiB CPU offload per rank. A non-thinking chat probe returned 323 for 17*19.

This is an RTN conversion rather than calibration-based AutoRound tuning. It follows Intel's published generation recipe for Intel/DeepSeek-V4-Flash-W4A16-AutoRound, updated with AutoRound 0.15's DeepSeek-V4 handling.