diff --git a/REMAINING.md b/REMAINING.md index a58f5981..3cbf846f 100644 --- a/REMAINING.md +++ b/REMAINING.md @@ -1,25 +1,15 @@ # M2XFP ("MXFP4v2") on radiance — work record + resume runbook -_Updated: 2026-10-23 00:25 — ALL THREE FINE-TUNES COMPLETE (400/400). Eval chain in flight; safe to power off anytime — resume below._ +_Updated: 2026-10-23 09:00 — PROJECT COMPLETE. Winner: FT-SEED1 (KL mean 0.02107, −39.4 % vs RTN; top-1 94.15 %; GSM8K 94.0 %). Results dashboard: /home/zee/models/rad/m2xfp4-results.html._ -## STATE (2026-10-23 00:25) — training DONE, evaluation in flight -| Run | Train | Convert (HF ckpt at ~/models) | Pack+KL | -|---|---|---|---| -| MAIN | ✅ 400/400 | ✅ Qwen3.8-27B-PARO-M2XFP4-FT | in flight / redo if power lost | -| EXACT (FOLD=exact) | ✅ 400/400 | ✅/finishing …-FT-EXACT | pending | -| SEED1 | ✅ 400/400 | ✅/finishing …-FT-SEED1 | pending | -Night scripts persisted at `scripts/night/` (chain2.sh, lanes.tsv, gsm8k1.py, conc.py, ft-live.sh). /tmp copies die on reboot — use the persisted ones. - -## RESUME TOMORROW (after boot, in order) -```bash -cd /home/zee/code/llm && task stop-llama-swap -# packs + KL for all three (idempotent; skips nothing, ~25 min/lane; one GPU each — hip2/4/0 are fine, hip3=W6600 never): -R=/home/zee/orca/workspaces/radiance/m2xfp -setsid nohup $R/scripts/night/chain2.sh MAIN 2 skip > /tmp/chain-M.log 2>&1 & # convert already done -> skip -setsid nohup $R/scripts/night/chain2.sh EXACT 4 skip > /tmp/chain-E.log 2>&1 & # skip IF its convert finished, else drop 'skip' -setsid nohup $R/scripts/night/chain2.sh SEED1 0 skip > /tmp/chain-S.log 2>&1 & -``` -NOTE: chain2.sh's pack step needs `--draft /home/zee/models/hf/Qwen3.8-27B-DFlash2` added (edit the persisted copy first — the DF2 recipe's blk.64 = drafter needs it; discovered 00:20). Then read the three `/home/zee/models/rad/kld-{MAIN,EXACT,SEED1}-vs-bf16.json`, pick the lowest mean KL (baselines: RTN 0.0348, AWQ 0.0599), and for the winner run: df2 acceptance test, 30–60 min abort soak, GSM8K (scripts/night/gsm8k1.py against a serve of the winner container, port 39476, host binary pinned hip2). RTN GSM8K 200 = 92.5 %, conc 16× = 608 tok/s (the bars to beat/confirm). +## FINAL RESULTS (2026-10-23) +| Lane | KL mean | median | top-1 | PPL | GSM8K | Verdict | +|---|---|---|---|---|---|---| +| **SEED1 (seed 1, fold=kernel)** | **0.02107** | 0.00630 | 94.15 % | 7.6569 | **94.0 %** | **WINNER** — container `/media/zee/ai/radiance/containers/q38-27b-m2xfp4-ft-SEED1.rad` | +| MAIN (seed 0, fold=kernel) | 0.02194 | 0.00652 | 94.17 % | 7.6435 | — | keeper | +| EXACT (seed 0, fold=exact) | 0.02203 | 0.00696 | 94.01 % | 7.6814 | — | fold=exact bought nothing | +Baselines: RTN 0.0348 / AWQ 0.0599 / old MXFP4 grid 0.0754. Winner serve: depth-7 DFlash2 drafter, 83 tok/s single-stream (+29 % vs RTN), GSM8K 94.0 % with speculation active. Winner KL/GSM8K artifacts: kld-SEED1-vs-bf16.json, gsm8k-m2xfp4-ft-seed1.json. +Fixed en route (committed 2a7d5c3): packer verifier now accepts rule-quantized drafter planes (plain transform) and fused row-joins (ffn_gate_up/ssm_inz) — all containers proven byte-exact. KL scoring needs `--host-pool-mib 10240 --max-num-seqs 1 --max-model-len 40000` (the df2 container + default serve sizing OOMs one card; m2xfp4's per-piece rotations cannot be TP-split, so single-GPU only). hip4 quirk: invisible to HOST processes since ~08:00 (docker sees it fine) — clear with a reboot when convenient. ## RESUME AFTER BOOT (in order) — v2, crash-aware ```bash