Commit Graph
2 Commits
Author SHA1 Message Date
adm b1f65942c8 [Docs] Document the first real interactive GUI inference (2026-12-01, measured)
Federico completed the first real conversation with vetta-infer through the
strata-ctl web GUI on Sogliola:
  'Ciao, sono Federico' -> 'Ciao Federico! Piacere di conoscerti. Come posso aiutarti oggi?'
  2650 prompt + 53 completion tokens, 4.2 tok/s decode, first token 618 s.

The 618 s time-to-first-token is the sequential prefill of the ~2650-token agent
prompt (~140 ms/token); decode is ~4.2 tok/s. Recorded honestly as the current
performance frontier (not a hang).

- README M1 milestone: inference landed (EXACT parity + strata-ctl link), with a
  dedicated measured first-GUI-conversation bullet; refreshed verification counts
  (5 Lean files incl. inkling_loop.lean).
- ORIENTATION 'Current state (honest)': replaced the stale 'No token generated
  yet' with the real state (full forward, EXACT parity, agent link, first GUI
  chat, blocking-sync CPU fix A/B 101.2%->54.2%); marked road steps 1-5 landed,
  M2 performance (graph capture / batched prefill / expert WMMA) as the frontier.
2026-12-01 19:26:15 +01:00
adm 356f9c458e [HIP][Docs] embed_bf16 + gemm_bf16 kernels (GPU-verified) + newcomer orientation guide
- kernels/hip: k_embed_bf16_gather (BF16 table -> f32 token rows, exact) and
  k_gemm_bf16 (y[M,N] = x[M,K] @ w[N,K]^T, BF16 in / f32 accumulate,
  correctness-first per-element; WMMA tiling is the later performance pass).
  C ABI + safe Rust wrappers (embed_bf16_gather, gemm_bf16) + DeviceBuf
  byte-level h2d/d2h.
- Verified LIVE on gfx1150: embed exact, gemm max_rel_err 0.0 across
  (2,8,16)/(4,32,64)/(1,128,256), rms_norm ~1e-6. Three kernels now cover the
  trunk + projection compute path (embed, norm, gemm).
- docs/ORIENTATION.md: a guide for newcomers arriving from vLLM/llama.cpp/
  SGLang — what this engine is, the five ideas behind the mental-model shift
  (microkernel+services, models compiled to .vbundle, forward pass as a
  Lean-proven validated plan, proof-first, parity discipline), the crate map,
  the honest current state (CPU pipeline done, GPU begun, no token yet), and
  the ordered road to the first agent chat and beyond. Linked from README.

Verified: RUSTFLAGS="-D warnings" cargo test --workspace = 97/97 PASS;
lean proofs (4 files, 42 theorems) green; GPU parity 4/4 (--features hip).
2026-12-01 04:54:05 +01:00