Skip to content

Documentation index

Start here if you are new to the repo.

Must-read (operators & AIs)

Doc Why
GUIDE_E2E.md Primary User Guide — zero → optimiser results (follow this)
GitHub Pages Browsable MkDocs site (API autodoc)
../REPRODUCIBILITY.md Exact repro commands, goldens, troubleshooting
../AGENTS.md Ordered steps for coding agents
25_ONEPAGER.md Executive decision tree (honest)
api/README.md Public Python API
31_QUALITY_UPGRADE.md Latest quality leap changelog
34_COMPUTE_SPEEDUP.md OpenMP / pack / ternary speedups + thread curve
35_BINARY_MATH_EFFECTIVENESS.md XNOR↔dot proofs, STE math, when binary loses
36_ENCODER_DECODER_AND_NEXT.md Encoder/Decoder + .bnnpack + bridges

Tutorials

Ordered path (also nested inside GUIDE_E2E.md):

# Tutorial
01 tutorials/01_mnist_binary.md
02 tutorials/02_wrap_linear.md — prefer bnn optimise
03 tutorials/03_cifar_bireal.md
04 tutorials/04_image_cifar.md
05 tutorials/05_audio.md
06 tutorials/06_encoder_decoder.md
07 tutorials/07_OPTIMISER_QUICKSTART.md
08 tutorials/08_HF_OPTIMISER.md
Hub HUB_BNNPACK.md — tiny .bnnpack canaries (not SOTA)

Latest lane

Doc Why
GUIDE_E2E.md Master end-to-end user guide
39_GUIDE_E2E_COMPLETION.md E2E guide smoke confirmation
40_ROADMAP_E2E_SESSION.md v0.3.0 Phase C+D completion report (WC-K3 met after portable SIMD)
41_PORTABLE_SIMD_KERNEL.md Current runtime AVX-512/AVX2/NEON dispatch (closes W2.T04/T05)
LAUNCH_CHECKLIST.md Public launch checklist
FAIR_EVAL_PROTOCOL.md Dual-metric fair eval
MOONSHOT_DEFERRALS.md Explicit v1.0 leftovers (W2.T04/T05 removed — delivered)
TRANSFORMATION_PLAN.md First-principles 90-day exponential plan (proposal; does not flip ROADMAP boxes)
37_WORLD_CLASS_BNN_OPTIMISER_ROADMAP.md Canonical world-class plan (twin of root ROADMAP.md)
38_ROADMAP_EXECUTION_LOG.md Session execution log
SEMVER_AND_DEPRECATION.md Public API semver policy
adr/README.md Architecture Decision Records
DATASET_CARDS.md MNIST / CIFAR / synth audio cards
HUB_BNNPACK.md Hub .bnnpack canaries (cards + encode; not SOTA)
COMPATIBILITY_MATRIX.md OS × Python × torch matrix
TORCH_PIN_POLICY.md Why torch<2.13 (W14.T03)
OPTIONAL_EXTRAS_MATRIX.md transformers / torchao smoke (W14.T06)
demos/README.md Asciinema / demo assets (W9.T10)
36_ENCODER_DECODER_AND_NEXT.md Encoder/Decoder, .bnnpack codec, wrap-transformer, profile, bridges

Research & architecture (read order)

  1. 01_FIRST_PRINCIPLES.md
  2. 05_PERFECTED_CONCEPT.md
  3. 04_ARCHITECTURE.md
  4. 06_CALCULATED_SPEEDUP_MODEL.md
  5. 08_ADR.md · 09_GAP_REGISTER.md

Completion / roadmap

Doc Content
../ROADMAP.md Canonical world-class BNN optimiser plan (follow when lost)
37_WORLD_CLASS_BNN_OPTIMISER_ROADMAP.md Identical twin of root ROADMAP.md
21_E2E_ROADMAP_COMPLETE_REPO.md Historical lab COMPLETE (D1–D12); superseded for forward work
22_COMPLETION_REPORT.md D1–D12 evidence
28_IMAGE_AUDIO_COMPLETION.md Vision + audio gates
29_FINAL_COMPLETION.md Final done criteria
30_REPRO_FOR_OTHER_AIS.md Third-party repro note
10_ROADMAP.md Thin pointer → root ROADMAP.md

Ecosystem bridges

Doc Topic
12_WRAPPER_AND_EXISTING_MODELS.md Wrapping HF/PyTorch
22_HF_TO_GGUF_GUIDE.md HF → GGUF
23_BITNET_CPP_BRIDGE.md bitnet.cpp
24_GPU_INT4_FP8_LANE.md GPU INT4/FP8
20_NPU_VENDOR_CLOSURE.md Phone NPUs
../scripts/bridges/ Concrete torchao / llama.cpp / bitnet recipes (JSON)

Research background

Written up during the design phase and still the reasoning behind the current thesis — previously unlinked from this index.

Doc Topic
02_SOTA_SURVEY.md Prior art: XNOR-Net, Bi-Real, BitNet, LCE/FINN
03_FAILURE_ANALYSIS.md Why naive binarisation loses accuracy and speed
11_DEEP_RESEARCH_REPORT.md Long-form research write-up
14_HARDWARE_AND_ENERGY.md Hardware limits and the energy argument
16_ECOSYSTEM_AND_TOOLING.md Where this sits among existing toolchains
17_EVALUATION_ROBUSTNESS_ECONOMICS.md Evaluation, robustness, cost
32_NOVEL_PAPER_CANDIDATES.md Publishable directions

Planning / design sketches

Doc Topic
RECIPES_INDEX.md One-line index of every runnable recipe
BNNPACK_V2_DESIGN.md .bnnpack v2 sketch (not implemented)
PUBLICATION_PLAN.md Write-up / publication plan

Kernel internals

Doc Topic
41_PORTABLE_SIMD_KERNEL.md Runtime AVX-512/AVX2/NEON dispatch, blocking, fused epilogue
42_QAT_AND_LAYER_SEARCH.md QAT recipe + per-layer binary/ternary/skip search
43_MEMORY_FOOTPRINT.md Resident vs theoretical bytes; why the arena was declined
34_COMPUTE_SPEEDUP.md Where the compute win comes from
spikes/ARM_NEON_SPIKE.md ARM NEON note (delivered)
spikes/AVX512_MOONSHOT.md AVX-512 note (delivered)

Knowledge graph

Doc Topic
44_KNOWLEDGE_GRAPH.md Pointer to knowledge_graph/ (JSON + GraphML + VIEW); CLI bnn kg
../knowledge_graph/README.md How to query / merge enrichment / integrity overlay / thesis lock
lanes/kg.md KG integrity lane note (Wave 1 open-PR honesty)

Handoff

Doc Topic
45_IMPROVEMENT_ROADMAP_HANDOFF.md Prioritised improvements, invariants, and measured-and-declined ideas

Thesis lock (never reopen as a “win”)

Packed CPU/edge kernels are the product story. Commodity GPU → INT4/FP8. Do not claim 32× e2e from theoretical word reduction or fake sign() Linear.