Commit Graph
115 Commits
Author SHA1 Message Date
05fde211c0 Add head_dim=64 limitation warning to getting-started guide
Models with head_dim=64 (e.g., GPT-OSS-120B) may crash or produce
degraded output with turbo compression. WHT requires sufficient
dimensionality for CLT convergence. Reported by NigelTufnel12345.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: tturney@psyguard.ai
2026-04-01 12:17:43 -05:00
e93a0027e1 Correct turbo4-K bug attribution in asymmetric paper
The turbo4-K PPL explosions were caused by kernel bugs (our fork) and
head_dim misdetection (AmesianX fork), not an IQ4_XS-specific issue.
AmesianX independently confirmed turbo4-K works correctly after fixes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: tturney@psyguard.ai
2026-04-01 11:42:25 -05:00
c760dc58d1 Update docs with community validation and benchmarking guide improvements
- Add compression reference table and config warning to getting-started.md
- Add independent validation from sztlink, Madreag, and mudler (APEX/LocalAI) across asymmetric, layer-aware, MoE, and sparse V papers
- Update sparse-v-dequant.md with Madreag 4-GPU cross-validation
- Minor README wording fix (branch -> repository)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: tturney@psyguard.ai
2026-04-01 11:25:15 -05:00
60cfc21cae Add MoE V-compression frontier paper, update recommendations
New paper: q8_0/turbo2 with Boundary V on Qwen3.5-35B MoE achieves
7.53x V compression with PPL within 1% of q8_0 at 512c/8K/32K.
Quality matches or beats q8_0/turbo3 at every tested length. 32K
decode ~2-3% faster than turbo3-V (n=2, M5 Max). Scoped to one
tested MoE model. Includes decode investigation negative results
(20+ approaches exhausted) and dense-vs-MoE bottleneck analysis.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: tturney@psyguard.ai
2026-03-31 13:46:36 -05:00
81360216b5 Fix wikitext download link in getting started guide
Replace parquet link with direct raw text download. Add HF CLI as
alternative. Credit: @henkiespenkie44

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 13:38:15 -05:00
14280a6f91 Add missing branch checkout step to getting started guide
Users were building from main instead of feature/turboquant-kv-cache,
resulting in "Unsupported cache type: turbo4" errors.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 13:07:45 -05:00
7d2cce3298 Add Vulkan validation to asymmetric K/V paper
stragulus (AMD 7900 XTX) confirms V compression free on Vulkan:
q8_0+pq3_0 = +0.37%, f16+pq4_0 = -0.19%. Fifth hardware/backend
combination confirming the finding.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 12:48:56 -05:00
f89daef75c Fix addendum accuracy: dates, attributions, numbers
Corrections from verification review:
- Fix HyperionMS2040 dates (03-30 not 03-31) and numbers (Qwen2.5
  symmetric was catastrophic PPL 3472, not +3.6%)
- Fix Aaryan-Kapoor attribution (was TheTom's words, not his)
- Remove seanrasch block_size=128 claim (he reported a crash, not
  confirmation). Replace with HyperionMS2040 PR #32 fix
- Fix Arclabs001 framing (QJL works with independent rotations,
  not "QJL hurts")
- Reword elusznik (scoped out QJL for PR size, not as validation)
- Fix Madreag date (03-26), AmesianX dates (03-30), dusterbloom
  dates (03-30)
- Mark AMD HIP as author's own testing, not independent validation
- Mark treblewoe and Corianas_ as X collaborators
- Mark spiritbuun prefill claim as X collaborator with approximate date
- Add jesusmb1995 Vulkan mixed K/V data to asymmetric paper

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 11:49:10 -05:00
026da4bb1c Add independent validation addendums to all papers
Each paper now documents who confirmed the findings, on what hardware,
with what data, and when. Validations span Metal (M5 Max), CUDA (RTX
3090, 4090, 5090, Blackwell), and AMD HIP (RX 9070 XT).

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 11:33:44 -05:00
cecb66face Add paper: Asymmetric K/V Cache Compression
Why V compression is free and K precision is everything. Validated
across 7 models (1.5B-104B), 3 weight quants, 3 GPU backends, 2
Apple Silicon generations. Independently confirmed by sztlink (RTX
4090), HyperionMS2040 (RTX 3090), and AMD HIP testing.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 11:28:11 -05:00
c122fd0320 Add Sparse V and Boundary V sections to getting started guide
Document built-in optimizations: Sparse V dequant (Metal, auto-enabled),
Boundary V (auto-enabled with turbo2-V), and maximum V compression config.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 11:13:55 -05:00
7f5043ba2f Add getting started guide for new testers
Standalone doc with build instructions (Metal, CUDA, HIP, Windows),
config selection table, benchmarking steps, and how to share results.
Community requested.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 11:00:21 -05:00
fdd5f6934d Update GPU memory cap recommendation to 90% (was 96%)
Community feedback: setting iogpu.wired_limit_mb above 90% of physical
RAM risks kernel panics under sustained inference load. 90% is now the
recommended safe default. Credit: @treblewoe

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 10:36:15 -05:00
1e5eb03156 Fix context wall docs: only iogpu.wired_limit_mb is needed
Isolation experiments confirmed GGML_METAL_NO_RESIDENCY=1 has no
measurable effect. The sysctl alone fixes the 49K+ context hang.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 09:51:01 -05:00
88bf8ff092 Update stress test paper with 104B results and context wall fix
Add Command-R+ 104B Q4_K_M results: 128K full native context on M5 Max,
PPL 4.024, symmetric turbo3 +3.6%. Document macOS GPU memory wall root
cause and fix (iogpu.wired_limit_mb). Update abstract, comparison table,
and limitations.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 09:47:27 -05:00
74f6e1bbba Add Command-R+ 104B stress test results, update recommendations
104B Q4_K_M on M5 Max 128GB: turbo3/turbo3 +3.6% PPL, turbo4/turbo4
+1.9%. 128K full native context achieved (PPL 4.024) with Metal
settings iogpu.wired_limit_mb + GGML_METAL_NO_RESIDENCY. NIAH 10/10
at 4K/8K. turbo3 prefill faster than q8_0 at 32K. Context wall fix
confirmed working at 48K/64K/96K/128K. Biggest model tested.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: tturney@psyguard.ai
2026-03-31 08:06:54 -05:00
07e91a705b Remove accidentally staged files from prior commit
RotorQuant/IsoQuant modules (PR #34, not merged) and draft docs
were unintentionally bundled into the rename commit. Fixes CI
coverage failure (64% -> 95%+).

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 23:25:17 -05:00
ff28df2f60 Rename stress test paper, update references
m5-max-stress-test.md — generic name for ongoing large model validation.
Will add Command-R+ 104B and future models.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 23:10:40 -05:00
0c6259bde4 Update recommendations with 70B, CUDA, AMD data + add stress test paper
- Add Llama-70B Q4_K_M results (symmetric turbo works, asymmetric rescue confirmed)
- Add CUDA community data (seanrasch, dusterbloom, Char__Bob)
- Add AMD RDNA 4 tested configs
- Update Boundary V from experimental to auto-enabled for turbo2-V
- Note Sparse V as default on all Metal
- Update block size section to reflect 128 as shipped default
- Update backend scope from Metal-only to multi-backend validated
- Add 70B M5 Max stress test paper

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 23:03:46 -05:00
49889acb5f Add AMD RDNA 4 benchmarks and Windows HIP setup guide
First AMD GPU validation: RX 9070 XT (gfx1201) on Windows 11 with HIP SDK 7.1.
Asymmetric q8_0-K + turbo4-V confirmed working (+1.0% PPL, no speed penalty).
9 Windows/HIP gotchas documented. Community count updated to 30+.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 21:15:34 -05:00
c819477692 Add block-size experiment paper and update docs
Block_size=128 achieves 5.12x compression (vs 4.57x at 32) with
identical PPL across all tested Metal paths: asymmetric q8_0-K +
turbo{2,3}-V, symmetric turbo3/turbo3, and Boundary V (LA-V7).
Validated on 3 architectures (dense, Qwen, hybrid MoE), 3 context
lengths (512, 8K, 32K), and 2 hardware platforms (M5 Max, M2 Pro).

M2 Pro showed +3-7% decode improvement on tested 1.5B model.
No speed regression on M5 Max.

Also fixes pre-existing flaky d=192 turbo4 test threshold (0.6 -> 0.7).

Credit to @AmesianX whose block_size=256 implementation prompted
the investigation.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 13:33:17 -05:00
13892d5e2c Refine Boundary V paper: scope to pure-attention models, document hybrid bug
- Narrow headline claim to pure-attention models (phi-4, Qwen2.5-7B)
- Flag Qwen3.5 hybrid results as confounded by layer-selection bug
- Correct layer counts (Qwen3.5-27B=64 total/16 KV, MoE=40 total/10 KV)
- Add boundary width vs precision addendum (2+2 vs 4+4 vs f16)
- Add long-context validation (8K, 16K) showing gains dilute
- Keep 2+2 q8_0 as sole experimental mode, do not promote 4+4
- Add reproduction warning for hybrid architectures

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 23:10:03 -05:00
90d1c5a297 Add boundary width vs precision addendum to layer-aware V paper
Tested f16 vs q8_0 boundary layers at 2 and 4 layer widths.
Finding: width matters more than precision. Wide q8_0 (first4+last4)
beats narrow f16 (first2+last2) on both phi-4 and Qwen3.5-27B.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 21:16:18 -05:00
1a941ac5d2 docs: Boundary V (experimental) — layer-aware V compression paper + recommendations
- New: docs/papers/layer-aware-v-compression.md — full research writeup
- Updated: docs/turboquant-recommendations.md — Boundary V as advanced experimental option
- New: proof/niah/niah_boundary_v/ — NIAH retrieval evidence

Boundary V protects first 2 + last 2 layers with q8_0-V while compressing
remaining layers with turbo2-V. Quality between turbo3 and turbo2, effective
compression between the two. Validated across 4 models on Metal.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: tturney@psyguard.ai
2026-03-29 17:39:58 -05:00
b50da4877b chore: consolidate NIAH logs into proof/niah/
Move all 20 NIAH result directories from repo root to proof/niah/.
Move NIAH summary docs from docs/ to proof/niah/.
No doc references needed updating (all were text mentions, not path links).

Prepares proof/ as the standard location for validation artifacts.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: tturney@psyguard.ai
2026-03-29 15:02:52 -05:00
1d9df98f83 docs: fix asymmetric-kv-discovery accuracy
- Correct phi-4 PPL numbers to final 4-chunk validated values
- Correct 35B MoE turbo4 to 5.078 (was ~4.8)
- Add Mistral-24B Q4_K_M result (symmetric turbo works at this size)
- Note turbo × turbo asymmetric work and pipeline naming change
- Soften language: "sensitive" not "broken", model-specific not universal
- Link to recommendations doc

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: tturney@psyguard.ai
2026-03-29 14:43:02 -05:00
de5f64ea77 docs: asymmetric K/V recommendations + investigation writeup
- README: add asymmetric K/V section with practical guidance and backend scope note
- New: turboquant-recommendations.md — validated good/risky/experimental configs
- New: asymmetric-kv-discovery.md — full investigation narrative
- Updated: m2-ppl-investigation.md — concise final status

Key finding: K precision is the dominant quality factor on low-bit models.
q8_0-K + turbo-V rescues quality where symmetric turbo fails (validated on
Qwen2.5-7B Q4_K_M). Not all Q4_K_M models are sensitive — Mistral-24B works
fine with symmetric turbo.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: tturney@psyguard.ai
2026-03-29 14:36:45 -05:00
56a1604ff7 Experiment #25 result: context-adaptive dispatch negative on 1.5B
turbo3/turbo4 completely flat across context depths. q8_0 scales with
context (FFN dominates at short, attention at long). No crossover.
Zero-dequant gap only 7% on 1.5B. Asymmetric K/V not yet supported.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: tturney@psyguard.ai
2026-03-29 00:00:05 -05:00
e6ccc917e4 Experiment #23 result: specialized kernel = no improvement
Metal compiler already fully specializes templates. -1% regression from
duplicated inline code. Generic template IS the optimized kernel.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: tturney@psyguard.ai
2026-03-28 23:19:31 -05:00
9ecb478926 Add Phase 2 experiments #23-#25: kernel/format/pipeline level optimization
Phase 1 (20 dequant-level approaches) exhausted. Phase 2 attacks higher:
- #23: Turbo-only non-vec decode kernel (hardcoded dk128, inline dequant)
- #24: Apple7/8-specific alternate block format (access-order interleaved)
- #25: Dual runtime dispatch by chip family + context depth
Plus full backlog of additional ideas from brainstorm.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: tturney@psyguard.ai
2026-03-28 22:37:52 -05:00
c8858b84bb Correct M5 SMEM results: small regression, not catastrophic
Initial -77% was env var bug (not set at runtime). Corrected: -1 to -3%.
SMEM still dead — not worth shipping for any config.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: tturney@psyguard.ai
2026-03-28 22:34:20 -05:00
824be6302e SMEM pre-dequant on M5 Max: -77 to -80% regression. Dead approach.
M5's constant cache (Apple10) is already fast — SMEM overhead dominates.
Opposite of M2 where it helped +4% on small models.
20 approaches tested, 4-mag LUT is the ceiling on both M2 and M5.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: tturney@psyguard.ai
2026-03-28 22:21:57 -05:00
bdb48d417e Correct SMEM pre-dequant results: +2-4% on small models, not -51%
Original measurement was during DINOv2 GPU contention. Clean re-run shows
SMEM helps 1.5B (+4.4% turbo3, +2.8% turbo4) but hurts 7B turbo4 (-4.6%).
Suggests model-size-adaptive dispatch for pre-M5 hardware.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: tturney@psyguard.ai
2026-03-28 21:07:13 -05:00
d38742e3f9 docs: add TODO section to cross-model validation for deferred tests
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: tturney@psyguard.ai
2026-03-28 20:54:00 -05:00
5c00b4eed1 Add approaches #20 + #22 results: 20 approaches tested, M2 ceiling confirmed
Direct encode (no LUT, pure ALU) = same speed — proves constant memory is free.
Async prefetch = -2% regression — GPU already interleaves optimally.
Bottleneck is device memory bandwidth, not constant cache.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: tturney@psyguard.ai
2026-03-28 20:43:03 -05:00
fefd713cbf Add approaches 16h + 19 results: centroid LUT not the bottleneck
Half register LUT and threadgroup centroid cache both noise on M2 Pro.
Tested across 7B and 1.5B models with turbo3 and turbo4.
Revised theory: bottleneck is full WHT dequant pipeline, not just centroid lookup.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: tturney@psyguard.ai
2026-03-28 20:23:11 -05:00
af7bdf3d0c docs: complete cross-model rerun with ISWA fix + Gemma outlier log
Gemma 2: 3/3 NIAH all types (ISWA fix works), turbo4 slightly worse
than turbo3 (outlier, logged for investigation).
Llama 70B: confirmed 3/3 NIAH, PPL matches prior run.
Qwen MoE: sanity passed, known 8K/100% NIAH weakness confirmed.
Corrected Gemma PPL from 1-chunk estimate to proper 8-chunk values.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 19:15:10 -05:00
5eade98036 docs: full ISWA investigation story in cross-model-validation.md
Added complete investigation narrative: wrong initial hypothesis (hd256),
GGUF parsing, q4_0 comparison, FA elimination, 5 build_attn overloads,
root cause (missing WHT in ISWA overload), 16-line fix, PPL 13.7T → 3.80.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 18:57:26 -05:00
5bdd8b3737 docs: move ISWA discovery to cross-model-validation.md where it belongs
Resurrection doc is about turbo4 journey. ISWA discovery is a cross-model
testing finding. Added "Why Cross-Model Testing Matters" section to
cross-model-validation.md.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 18:53:51 -05:00
f2d56d60de docs: ISWA discovery story + cross-model testing methodology
Added Section 10 to resurrection doc: how cross-model smoke testing
caught the ISWA bug that single-model testing never would have found.
PPL 13.7 trillion → 3.80 on Gemma 2. Updated daily note with full
investigation timeline and cross-model results table.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 18:52:44 -05:00
3ce8c388e7 docs: cross-model complete — 7 models, Gemma FIXED, Llama 70B added
Gemma 2 ISWA fix: PPL 13.7T → 3.80 (missing WHT rotation in ISWA build_attn)
Llama 70B: turbo4 +8.3% (Q4_K_M weight+KV quant stacking)
All 7 models across 5 families tested. turbo4 consistently beats turbo3.
ISWA fix pushed to llama-cpp-turboquant fork.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 18:40:54 -05:00
46d4e75314 docs: Gemma 2 investigation — ISWA dual-cache likely root cause, not head_dim
Gemma 2 K/V head_dim IS 128 (not 256 as initially assumed). ISWA
(interleaved sliding window attention) creates dual KV caches.
q8_0 works fine. turbo3/turbo4 catastrophic. Likely ISWA interaction.
Quick bench parsing fixed. Llama 70B test pending.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 18:30:12 -05:00
398cadc9e8 docs: add QC precompute result (#16) + ILP root cause analysis
QC precompute: 10.10 tok/s at 8K (same as SMEM, -33% vs 4-mag).
Select() chains are catastrophically expensive on Apple8.

Key discovery: the 4-mag LUT works because of ILP — interleaving
constant reads with dot product ALU lets the GPU overlap memory
and compute. Separating phases (SMEM, deferred norm, QC precompute)
destroys this overlap and runs at 2x latency.

The remaining 38% gap cannot be closed by rearranging reads and ALU.
Requires block format change or fundamentally different computation.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 18:25:37 -05:00
bcbdda285c docs: add Q·centroid precompute section to SMEM experiment doc
Document approach #16 (QC precompute) — precompute mag[c]*Q[j] table
before K loop, trades 128 constant reads for 4 + branch overhead.
Awaiting benchmark results after 7pm.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 18:14:41 -05:00
e6fea6e363 docs: SMEM pre-dequant experiment — negative result (#15)
Threadgroup memory pre-dequant tested on M2 Pro: -51% at 8K context.
SMEM store/load overhead exceeds constant cache savings when each
dequanted value is used exactly once by its producer thread.

4-mag LUT remains the dequant-level ceiling (62% of no-dequant ceiling).

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 18:09:07 -05:00
5ec5939750 docs: Mixtral skipped (bad GGUF), Llama 70B running
Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 18:04:33 -05:00
e0aca7f521 docs: cross-model validation — 5 models tested, hd256 broken
hd128 models all work: Qwen MoE/Dense, Phi-4, Mistral Small.
turbo4 consistently closer to q8_0 than turbo3.
Gemma 2 27B (hd256): PPL catastrophe (13 trillion). Known limitation.
Mixtral 8x7B and Llama 70B pending.
Quick bench parsing fixes committed.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 17:59:58 -05:00
f553183bf7 docs: add KLD nuance to resurrection — q4_0 lower despite worse PPL
Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 15:49:21 -05:00
d4704f07b7 docs: NIAH 8K/100% investigation — quantization-related, not model
f16 passes 8K/100%, q8_0 and turbo4 both fail. Shared failure is
quantization noise on recently-written KV entries at end of context.
turbo4 recovers at 16K while q8_0 doesn't.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 15:24:31 -05:00
2b7b02824f docs: fix stale data in README + resurrection doc
README: turbo4 description updated to 4-bit PolarQuant, NIAH to v2
(31/33), contributing turbo4 entry updated, cache type table fixed.

Resurrection: decode 79.58→79.87, branch status updated to merged,
added NIAH v2/KLD/dense/PDF results to summary.

Co-Authored-By: tturney@psyguard.ai
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 15:14:13 -05:00