b70-optimization-lab

DeepSeek V4 Flash AutoRound vLLM/XPU Lab

This folder tracks the bring-up and optimization work for:

The immediate goal is not only to run the model. The goal is to create the same kind of loop that worked for MiniMax M2.7: loader repair, quality gates, repeatable decode benchmarks, negative-result capture, promoted patch snapshots, and LocalMaxxing submissions only when a result is defensible.

Current Status

As of 2026-05-31, this is an initial research track.

Known from Hugging Face metadata and the local vLLM tree:

Folder Map

First Milestone

The first useful milestone is a single-token or short p64/n16 smoke through vLLM/XPU TP4 using the AutoRound checkpoint, with the following proven:

  1. The model config loads as DeepseekV4ForCausalLM.
  2. AutoRound maps to inc and W4A16 weights are not silently dequantized.
  3. MoE experts remain quantized through the XPU path.
  4. DeepSeek V4 attention/cache code can execute on XPU or has a correctness fallback.
  5. The output is non-empty and not obviously degenerate.

No LocalMaxxing submission should happen at this stage.

Promotion Policy

A result can move from experimental to promoted only if it has:

Useful Entry Points

cd /home/steve/llm-optimizations/experiments/deepseek-v4-flash-autoround-vllm

# Download once storage is confirmed.
bash scripts/download-model.sh

# Experimental vLLM throughput wrapper. Expected to fail before XPU bring-up
# patches land; logs are still useful.
bash scripts/bench-vllm-deepseek-v4-flash-autoround-xpu.sh

External References