One-page state + next-steps so the next session(s) pick up cleanly. Detail:
dense-int4km-flagship- session-findings.md,spec-decode-design.md,flagship-full-tuning-stack.md,tensorops-quantized- kernels.md, memoryproject_accel_levers_campaign.
_specdecode_proto/tree_attn_verify.py (e591499).Quality-safe dramatic flagship speedup does NOT come from 4-bit (int4/fp4 both degrade, capped). It comes from:
_specdecode_proto/tree_attn_verify.py). Next: (a) train an EAGLE-3 head for Qwen3.6 (Red Hat
Speculators, external GPU, ~1–2 days) or start with vanilla-draft (qwen3.5-0.8B, no training); (b) wire
draft→verify→accept/rollback in the pipelined engine; (c) use the tree-attn kernel for the tree verify.
Design + feasibility: spec-decode-design.md. (Note: prompt-lookup spec-decode already shipped in
CoreAIChat — [[project_spec_decode_port]]; this is the tree/EAGLE-3 upgrade.)gemma4_metal_mlp_fp4.py) if bandwidth-only ever wanted. Alt: mixed int4+int8-outlier matvec (bridge
the int4 cliff at ~int4 BW without QAT — un-built, extend MetalInt4KMLinear). [[project_quant_d_port]] D2._tensorops_proto/m4_speed_ab.py (matmul2d
vs MPSGraph matmul on M4). ⚠️ hit Program load failure under Stream-D GPU contention + may need an
asset.executable() API fix — run on a CLEAN Mac-GPU window. If matrix path beats default → build fused
FlashAttention, A/B vs ondevice/_prefill_sdpa_baseline.py._qwen36_mac_bench.py driver or
use a fitting model)._GPU_LOCK (Mac GPU shared with Stream D
fp4/QAT — serialize; A19 shared with Stream B TensorOps/LLaDA — serialize).from_preferred_compute_unit_kind(gpu()); ANECompile
errors are NON-FATAL (GPU fallback) — don’t kill on them. Phone RAM ceiling ≈ 5–6 GB (int4-8B) → 35B jetsams.HF_HUB_DISABLE_XET=1 (hf_xet stalls; not a rate-limit — 5-min window, never hit).git add -A); no coreml bundles / build files;
push/HF/card = USER-GATED.bab5fa7 LFM #2 export · 200cb2b flagship plan · 3eb4a5f spec-decode design · 5b790f5 Qwen3.6 export+findings ·
69c65ea fp4-framing fix · 6436d8a prefill-Mac-open fix + m4 scaffold · e591499 tree-attn verify kernel.
(§8/§8b fp4-disproven added by Stream D/user.) Uncommitted by design: coreai-models macos/ arsenal
(Apple clone — incl. the MetalInt4KMLinear.weight fix + gemma4_metal_mlp_fp4.py), ondevice/ scripts
(non-git: _qwen36_mac_bench.py, _dense_int4km_microbench.py, _flagship_dense_coverage_audit.py,
_prefill_sdpa_baseline.py), coreml bundles in exports/.