Repository navigation
Open
Description
Priority: P2 (later) · Members: 18 · from the issue triage of 2026-11-19
Goal (what the user sees)
The local engine is faster on the hot path, reports the hardware it runs on, and carries no dead code.
Acceptance
- Sampling allocates nothing per token; echo sync is off the reply path once the durability decision is made.
-
oxe doctor --hardware --jsonexists; the placement and decode-team selectors are wired behind opt-ins. - Dead Flash MTP code is deleted; a fresh clone builds Flash.
- Kernel promotion and stock-versus-now numbers have receipts.
Proposed PRs (each up to about 800 lines)
PR 1: Hot path
Sampling scratch buffer, echo sync after the final frames, parked state persisted on abort.
Suggested author: Claude.
- oxstack/ox-llm#587 — Scratch buffer and bounded candidate set in sampling.rs top_probs/sample_row.
- dogfood: Echo records are fsynced on the async task before the reply's final SSE frames / JSON body #11 — Move echo append+fsync after the final frames (or to a blocking task) in oxe-server; Felt speed 9/10: qualify moving echo sync off the final reply path #16 duplicates this.
- Felt speed 9/10: qualify moving echo sync off the final reply path #16 — Owner decision on crash-loss semantics; then implement bounded echo write offload in engine/crates/server (echo.rs, service.rs) with tests.
- dogfood: Fair-slicing abort parks the held session in RAM only; its unwritten state is lost on evic #13 — Mark the parked held state dirty or persist on abort (fair slicing, default off).
PR 2: Hardware report and selectors
Hardware report, arena page choices, battery selector design, wiring of the merged selectors.
Suggested author: Claude.
- oxe N3: read-only hardware report with fixture-backed JSON #18 — Add 'oxe doctor --hardware --json' in engine/crates/oxe-cli (cores, capacities, governor, THP, thermal, memory) with fixture-root goldens.
- engine N7: unify opt-in weight-arena page choices and load reporting #20 — engine/crates/model/src/weights.rs + oxe.rs: one documented backing selection (file, file+collapse, anon THP) and requested-vs-observed huge-page reporting.
- oxa N9: design an opt-in battery decode-team selector with fixture inputs oxa#59 — Design and pure decision function for an opt-in battery decode-team policy (injected AC/battery state, user override wins); depends on oxstack/ox-llm#913/#917 wiring.
- oxstack/ox-llm#910 — Tracker; update index. Open children: oxe N3: read-only hardware report with fixture-backed JSON #18, engine N7: unify opt-in weight-arena page choices and load reporting #20, oxa N9: design an opt-in battery decode-team selector with fixture inputs oxa#59; wiring of placement and decode-team selectors; Mac path.
PR 3: Dead code and build
Delete Flash MTP (about 2,300 lines), link the vendored ggml.
Suggested author: oxa worker.
- engine: remove the dead Flash MTP code (about 2,300 lines) #3 — Delete Flash MTP sources and flags in engine/crates/qwen4exp; keep Flash build/tests green.
- Flash build: link vendor/ggml-flash so a fresh clone builds without a second checkout #7 — Link Flash against engine/vendor/ggml-flash and re-prove bit identity, or document two-step build.
PR 4: Measurements
Promotion gates for the opt-in kernels; matched baselines with receipts.
Suggested author: hardware lane.
- engine: decide promotion of the opt-in attention kernels (pfg, pb, fa2/fa2x) and --user-snapshots #6 — Run registered gates for pfg/pb/fa2/fa2x and --user-snapshots; promote or record reason.
- benchmarks: matched stock-versus-now baselines with JSON receipts, and a Mac volunteer run #8 — Matched stock-vs-now pairs with JSON receipts for README rows; Mac run or label rows unmatched.
Other members (epics, trackers, decisions, likely delivered)
- oxe: constrained decoding (grammar) for response_format json_schema and strict tool calls #1 — Later.
- oxe: embeddings endpoint (/v1/embeddings) #2 — Later.
- engine: int8 KV cache and contexts beyond 128K #4 — Later.
- engine: fair scheduling does not slice prefill, and its switch cost is unmeasured #5 — Later.
- oxstack/ox-llm#293 — Probe reports are merged; owner to confirm.
- Felt speed 4/10: design signal-driven engine idle and qualify watcher cadence #15 — Design note, later.
How to use this issue
Fix the members through the PRs above, not one by one. A PR names this issue and the members it closes. Members carry the cluster-member label.
Metadata
Metadata
Assignees
Labels
No labels
Activity