b70-optimization-lab

MiniMax M2.7 AutoRound INT4 on 4x Intel Arc Pro B70

This folder records the reproducible path for the current quality-clean 4x B70 MiniMax result:

The result did not use speculative decoding, expert dropping, a smaller model, a different quantization, or GPU power-limit changes. Quality was gated with exact token hashes and semantic canaries before the promoted benchmark was submitted to LocalMaxxing.

This is the older speed-focused 2K-context repro. For the newer OpenAI-compatible server recipe that defaults to a 32768 token context window, see ../minimax-m27-b70-110tps-ubuntu24-20260523/README.md.

Important Caveats

The first run after a rebuild or cold compile can be misleading. On this machine, the first post-reboot pass produced only 69.33 output tok/s because it performed fresh compilation and left only 0.57 GiB KV cache. The immediate warm rerun hit 88.72 output tok/s with the same command. Treat the warm run, or the strict-gated repeat average, as the comparable number.

This system currently has only 16 GB host RAM and 64 GB swap, and still reproduces the 89-class result. More system RAM is recommended for less noisy model load and fewer swap interactions, but it is not required for the promoted p512/n1536 decode benchmark.

lspci -vv reports the B70 links as 2.5GT/s x1 on this system while the workload and XPU topology behave normally. Record it for diagnostics, but do not reject a run only on that line.

Folder Contents

Fresh Ubuntu Quick Start

Use Ubuntu 24.04.4 LTS or newer HWE kernel with the four B70s installed. A fast NVMe mounted at /mnt/fast-ai is assumed.

cd ~/llm-optimizations/repro/minimax-m27-b70-89tps-20260520

# System packages, Intel graphics PPA, oneAPI repo, Level Zero, xpu-smi.
sudo bash scripts/00-install-system-deps.sh
sudo reboot

After reboot:

cd ~/llm-optimizations/repro/minimax-m27-b70-89tps-20260520

# Optional for private/rate-limited Hugging Face downloads:
# export HF_TOKEN=<optional_huggingface_token>
bash scripts/01-download-model.sh

bash scripts/02-build-stack.sh
bash scripts/03-verify-runtime.sh
bash scripts/04-run-quality-gate.sh
bash scripts/05-run-benchmark.sh
bash scripts/06-summarize-result.sh /mnt/fast-ai/bench-results/minimax-m27-b70-89tps

Expected warm benchmark band:

Quality Gates

The promoted result passed:

Do not publish a new speed result unless the exact-token gates and semantic canaries pass first.

Current Known-Good Stack

See manifests/current-system-20260520.md and manifests/pip-freeze-vllm-xpu-current.txt for exact local state.

What The Patches Do

The vLLM patch snapshot includes the promoted quality-clean changes:

The llm-scaler patch snapshot includes the INT4 W4A16 MiniMax MoE work-sharing kernels used by the promoted path.

LocalMaxxing Reference

Promoted submission: