This repository is a reproducible lab notebook and deployment guide for Intel XPU local AI work across multiple B70 model efforts: MiniMax, Qwen, Gemma, and future lanes.
Read these in order before changing runtime behavior:
CURRENT.mdHANDOFF.md and result packet linked from CURRENT.mdREADME.mddocs/current-reproducibility-map.mddocs/model-optimization-guide.mdAGENT_HANDOFF.mddocs/model-effort-index.mddocs/local-ops.mddocs/localmaxxing.mdresults/gemma4-26b-a4b-q8-b70/HANDOFF.md,
results/gemma4-26b-a4b-q8-b70/README.md and
results/gemma4-26b-a4b-q8-b70/reproduce.md.The model weights, secrets, and full raw /mnt/fast-ai/bench-results tree are
not in GitHub. The repo does include scripts, patch artifacts, summarized
results, payloads, and notes needed to rebuild or review the work.
Use these common folders consistently:
notes/ for chronological experiment notes, including negative results.patches/ for patch snapshots and source-level deltas.data/ for structured run summaries, payloads, responses, and logs that are
reasonable to track.results/ for promoted or summarized model result packets.scripts/ for reusable harnesses and submission helpers.experiments/ for active research lanes that are not production recipes.repro/ for runnable promoted reproduction recipes.community/ for outside contributions at any evidence level. Contributed
work stays here until it is reproduced on B70; never move an unverified
contribution into results/ or repro/, and never record a contributor’s
claim as a lab measurement.Never print, paste, or commit local credentials. The Hugging Face access token for model downloads is stored outside the repo at:
/home/steve/.config/huggingface/token
Scripts that need faster Hugging Face downloads should read this file into
HF_TOKEN locally. The token file is covered by repo and global Git ignores.
LocalMaxxing credential guidance is in docs/localmaxxing.md; the key itself
is outside Git at /home/steve/.config/localmaxxing/api_key or supplied as
LMX_API_KEY. Never print or commit it.
The local sudo password file is /home/steve/SUDOPASSWORD.txt; local privileged
operations guidance is in docs/local-ops.md. Use it only for local driver,
runtime, service, or recovery tasks that truly require sudo. Never print or
commit the password or a copy of the file.
CURRENT.md is the sole cross-repository authority for the loaded service,
active optimization lane, protected work, and immediate next actions. Detailed
evidence remains in the lane handoff and result packet linked from that file.
Do not infer what is live from a deployable recipe, old handoff, service unit,
historical note, or result packet. Verify Git status, relevant processes, and
the actual endpoint before operational changes. Preserve any paths marked
active or protected in CURRENT.md; do not disturb shared runtime trees or GPU
work merely because another lane has a runnable recipe.
Never promote a speed or context result unless quality is labeled and tested.
Use exact-token, semantic, arithmetic, and practical task gates where relevant. Compressed KV modes such as FP8 KV or TurboQuant must be labeled separately from the FP16-family baseline.
For Gemma/Qwen speculative-decoding results, diagnostic sweeps may use synthetic or repetitive prompts, but promotion and LocalMaxxing submissions now require the fixed realistic final gate:
cached_tokens=0 for every request;The current Gemma 4 26B A4B Q8 one-B70 realistic-suite best is:
results/gemma4-26b-a4b-q8-b70/README.md;results/gemma4-26b-a4b-q8-b70/reproduce.md;repro/gemma4-26b-a4b-q8-b70-125tps-20260701/README.md;repro/gemma4-26b-a4b-q8-b70/realistic-suite-v1.json;124.97714084813418 tok/s, or
123.72736943965285 tok/s under conventional 99-interval accounting,
cached_tokens=0 on every prompt,
realistic_final_gate.passed=true;data/gemma4-q8-gpu0-finalpostnorm-reproexact-full512-20260701T084728Z/summary.json;data/gemma4-q8-gpu0-125repro-docpass-20260702T231635Z/summary.json
at 120.92334534956485 tok/s, valid/fresh/cached-zero with 512/512
canary rows; support only, not a new record;c926ad098, reordered-Q8 VDR2, Q4_0 MTP draft,
FLASH_ATTN=on, CTX_SIZE=32768, GGML_SYCL_ENABLE_VMM=1,
n_max=3, n_min=2, p_min=0.0475, UBATCH_SIZE=1024,
LLAMA_SYCL_F16_P021_SMALL_NCOLS=1,
LLAMA_SPEC_VERIFY_BULK_SAMPLED_IDS=1,
LLAMA_GEMMA4_MOE_FUSED_DOWN_WEIGHTED_SUM_REORDER_VDR2=1,
LLAMA_GEMMA4_FUSED_FINAL_POST_NORM_RESIDUAL=1;cmr1u77na01k2ld01kalwzs1e. Same-family support
includes the prior 123.67689864739785 tok/s row
(cmr01nnet000mld01x2tt6qds), the prior 121.41411987308553 tok/s row
(cmqztiqdn02vnoe01egox6q3f) and
data/gemma4-q8-gpu2-baseline-recordconfirm-full512-20260629T225215Z/summary.json
at 119.94842631460949 tok/s. The prior selected-down repeat
cmqyrpox4021dqk01co5o4fcw, initial selected-down confirmation
cmqyo0jyt08ippk01vhiobdnm, VDR2/F16-p021 row
cmqxchyra03xmqr01b963gmi1, F16-p021 small-ncols submission
cmqx3687103v4qr01ace1ft3m, earlier VDR2 rows, and prior VDR4 rows are
superseded;data/gemma4-q8-gpu0-vdr4default-nospec-realistic-gate-v2-20260627T165335Z/summary.json
at 74.29709476830473 tok/s median. Use it as the simplest target-side
quality/control reference.The previous Gemma 4 26B A4B Q8 one-B70 diagnostic best is:
results/gemma4-26b-a4b-q8-b70/README.md;results/gemma4-26b-a4b-q8-b70/reproduce.md;176.21623213048554 tok/s after TTFT,
176.40259133127742 support mean, 1536 canary repeats / 6144 rows,
LocalMaxxing cmqwkedg303jeqr013z753j62, now classified as diagnostic until
the fixed realistic prompt suite passes with that configuration;git add -A in mixed experiment worktrees.When Claude/OpenCode is orchestrating work, prefer delegating concrete research, audit, patch, and validation tasks to Codex/GPT through the CLI. GPT token use is less constrained here, so Claude/OpenCode should manage/review and ask Codex to do bulky searches, source reading, and iteration-heavy implementation where practical.
Useful forms:
codex --cd /home/steve/llm-optimizations
codex exec --cd /home/steve/llm-optimizations "audit the Gemma docs and propose focused cleanup"
codex review --cd /home/steve/llm-optimizations
codex resume --last
Codex should use subagents whenever reasonable and available, especially for parallel source audits, independent review of risky changes, log/result classification, and research synthesis. The main Codex agent still owns final edits, verification, and safety around active experiment processes.