b70-optimization-lab

Model Recipes

This page is the community-facing index for reproducible model deployments. Each recipe should make clear what it proves: installation, quality, benchmark speed, serving, or all of the above.

How To Read A Recipe

Every complete recipe should include:

Do not compare two results unless their model, quantization, prompt length, output length, context length, batch/concurrency, and quality gate are clear.

Recipe Index

Recipe Status What It Is For
../repro/laguna-s-2.1-int4-b70-102tps-20260726/ Qualified closed-result repro Portable sealed-evidence audit, exact source bundles, model-at-revision restore and manifest, native loader verification, and one-cold-suite replay for the four-B70 Laguna row: 102.971 under the submitted legacy convention, 101.942 conventionally.
../repro/deepseek-v4-flash-k160-b70-80tps-20260718/ Closed-frontier strict speed repro Exact source bundles, fail-closed launcher, validity gates, and evidence for the 80.820 tok/s target-verified DSpark7 result on four B70s.
../results/gemma4-26b-a4b-q8-b70/ Result packet Gemma 4 26B A4B Q8/INT8 one-B70 speed frontier, long-context service lane, older baselines, failed paths, validity gates, vLLM comparison lanes, and LocalMaxxing evidence.
../repro/gemma4-26b-a4b-q8-b70-125tps-20260701/ Copy-ready strict speed repro Standalone Gemma 4 26B A4B Q8 target recipe for the 124.977 tok/s strict cold-suite result on one B70.
../repro/gemma4-26b-a4b-q8-b70-95tps-20260624/ Archived prior speed repro Superseded standalone Gemma 4 26B A4B Q8 target recipe for the older 95.264 tok/s pre-final-gate result.
../repro/minimax-m27-b70-110tps-ubuntu24-20260523/ Deployable baseline Fresh Ubuntu 24.04 setup for 4x B70, MiniMax M2.7 INT4 AutoRound, vLLM OpenAI-compatible endpoint on 0.0.0.0:8000.
../repro/minimax-m27-b70-89tps-20260520/ Strict speed baseline Older strict quality-passed MiniMax M2.7 INT4 lane with higher output-token throughput. Useful for optimization comparisons.
../results/qwen36-35b-quark-int8-b70/ Closed reference packet Qwen3.6 35B A3B Quark W8A8 INT8 on 2x/4x B70. Best strict 4x baseline, invalid fast lanes, reproduction commands, and carryover notes.
../experiments/minimax_xpu_kv_offload/ Experimental Session-cache c2/c4/c8, TurboQuant, and CPU-paged attention research. Use for review and experiments, not as the production recipe.
../experiments/gemma4-12b-int4-autoround-vllm/ Production slot plus research profiles Gemma 4 12B IT INT4 AutoRound image+text endpoint on vLLM/XPU. Current production is c8 with 32K context and 8 active generations; c10/c12/c16/c64 are documented research or rejected profiles.

The word “current” in older recipe folders means “current at the time that recipe was promoted.” Use model-effort-index.md and ../results/README.md for the live cross-model view.

MiniMax M2.7 INT4 AutoRound

Start with:

cd repro/minimax-m27-b70-110tps-ubuntu24-20260523
sudo bash scripts/00-install-system-deps.sh
sudo reboot

After reboot:

sudo bash scripts/01-prepare-storage.sh
bash scripts/02-download-model.sh
bash scripts/03-build-stack.sh
bash scripts/04-verify-runtime.sh
bash scripts/05-run-quality-and-benchmark.sh
bash scripts/06-serve-openai-compatible.sh

Then in another terminal:

bash scripts/07-smoke-test-endpoint.sh

See the full deployment guide for explanation and troubleshooting.

Session-Cache And Long-Context Experiments

For RAM-backed session-cache experiments, start with:

cd experiments/minimax_xpu_kv_offload
less REPRODUCE.md

Current status:

See Current Reproducibility Map for the full artifact map.

Gemma 4 12B INT4 AutoRound

The current image+text research profile is:

cd /home/steve/llm-optimizations
scripts/switch-vllm-model-slot.sh switch gemma4-12b-it-int4-autoround-c8

It serves Intel/gemma-4-12B-it-int4-AutoRound through the same no-auth OpenAI-compatible LAN endpoint on 0.0.0.0:8000, with 32K context, 8 active generations, prefix caching, and XPU graph capture. It needs the local vLLM gemma4_unified backport captured in patches/vllm-gemma4-unified-backport-b70-20260607.patch.

See the Gemma 4 experiment guide for the exact slot profiles, smoke tests, known bad multimedia-limit setting, 2K/512 concurrency results, c10/c12 full-32K boundary tests, and prefix-cache results for shared-prefix plus unique-tail prompts.

Gemma 4 26B A4B Q8 / INT8

The promoted strict command and validation packet is ../results/gemma4-26b-a4b-q8-b70/reproduce.md. The standalone ../repro/gemma4-26b-a4b-q8-b70-125tps-20260701/ folder packages the 125 tok/s strict cold-suite recipe, 32K context settings, validity rules, and links to the promoted evidence. The older ../repro/gemma4-26b-a4b-q8-b70-95tps-20260624/ folder packages the older superseded 95 tok/s llama.cpp patch, Q8 target, Q4_0 MTP draft preparation, command line, and LocalMaxxing artifacts.

The deeper lab packet is ../results/gemma4-26b-a4b-q8-b70/. This lane intentionally avoids tensor-parallel splitting at first: run one complete Gemma 4 26B A4B replica per B70 and use four replicas for parallel research. Current promoted result is the realistic cold-suite lane at a published legacy 124.97714084813418 tok/s (123.72736943965285 tok/s under conventional 99-interval accounting) for the first-to-100th-token timestamp window: llama.cpp c926ad098, UD-Q8_K_XL target/verifier, Q4_0 MTP draft, reordered-Q8 VDR2, selected-down fused weighted-sum, bulk sampled-ID verifier host read, FLASH_ATTN=on, CTX_SIZE=32768, VMM on, final post-norm residual fusion, n_max=3, n_min=2, p_min=0.0475, UBATCH_SIZE=1024, cached_tokens=0 on every fixed-suite prompt, and no cache/history reuse. Older 103-176 tok/s filled-long rows are diagnostic/pre-final-gate artifacts unless revalidated by the fixed realistic suite.

Start with llama.cpp SYCL and the Unsloth UD-Q8_K_XL GGUF:

scripts/build-llama-cpp-sycl-b70.sh
scripts/download-gemma4-26b-q8-gguf.sh
GPU_INDEX=0 PORT=18260 scripts/run-gemma4-26b-llamacpp-replica.sh

For the current standalone 125 tok/s path, use the repro wrapper:

GPU_INDEX=0 PORT=19350 bash repro/gemma4-26b-a4b-q8-b70-125tps-20260701/run.sh

The older 95 tok/s folder remains as an archival artifact, not the current copy path.

The vLLM comparison lane should use google/gemma-4-26B-A4B-it with --quantization int8_per_channel_weight_only, one DP=1 process per GPU. Do not promote INT4 AutoRound results as this lane’s default quality target.

Future Recipe Slots

These are useful community targets to add as separate repro folders:

For model-lane status and closed-out results, check the Model Effort Index before starting a new folder.

Suggested Recipe Folder Template

Use a name that includes model, hardware, headline result, OS/date, and avoid spaces:

repro/<model>-<hardware>-<headline>-<os>-<yyyymmdd>/
  README.md
  configs/
  scripts/
  patches/
  results/
  notes/

For example:

repro/minimax-m27-b70-110tps-ubuntu24-20260523/

Publishing Results

For a result to be useful to other people, include: