You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reuse KV from unchanged tool and system prompt segments even when absolute prompt token positions shift. Compare correctness, TTFT, and GPU memory against ordinary prefix caching (hanzoai/engine#51).
Scope & Canonical Architecture
Wave 1 Priority #1! Paper authors reported 3.11-4.3x latency reduction in their environment (NOT a Hanzo claim until reproduced). Must enforce HIP-1345 §1 per-tenant cache_salt and kv_computed_tokens bounds.
Canonical stack boundaries MUST stay intact (vfs -> hanzoai/s3 -> visor, Cloud owning lifecycle & billing, Enso routing models, Zen generating outputs, Kai returning structured non-generative decisions). Reported figures in referenced FAST/conference papers belong strictly to the original authors' environments and MUST NOT be treated as Hanzo expectations until reproduced here.
Research-to-PR Acceptance Contract (0 of 6 requirements)
1. Paper & License Audit: Link primary paper/code, summarize design, and verify license compatibility (prefer Apache-2.0/MIT for production merges; clean-room implementation or research-only report otherwise) and patent restrictions.
2. Matched Baselines: Provide reproducible upstream baseline and identical Hanzo baseline scripts/configs.
3. Falsifiable Hypothesis: Document target metrics and expected failure modes up front.
4. Deliverable: Submit bounded implementation PR (Implementation Bounty) or documented reproducible experiment including valid negative results (Research Bounty).
5. Evidence & Safety: Include correctness, concurrency, multi-tenant isolation, security, and regression tests appropriate to the subsystem.
6. Measurements & HIP Update: Publish raw before/after measurements, methodology, and status update against HIP-1345.
Paper & license audit: link + summarize the CacheSlide design (FAST '26); verify license/patent posture before any production merge; clean-room implementation only, no reference code copied.
Draft PR submitted: #100 -- fabric-level segment reuse per HIP-1345 section 1.1/1.2, 6 unit tests + CPU bench demo showing 14/14 hits vs 0/896 baseline. Scheduler integration is the follow-up PR.
Activity
breezesamuel commentedon Nov 17, 2026
Claiming this bounty (Wave 1 Priority #1 - CacheSlide / FAST'26 position-shifted prompt reuse).
Plan against the 6-point acceptance contract:
hanzo-paged-attn/hanzo-kv-fabric(see Persistent, shareable prefix caches for multi-turn agents #51) as the baseline; identical scripts/configs for both runs.kv_computed_tokensovercounting.hanzo-kv-fabric- segment-indexed KV block directory keyed by content hash + per-tenantcache_salt(HIP-1345 section 1 enforced), withkv_computed_tokensbounds checked at admission. Canonical stack boundaries untouched.Starting now; will open a draft PR early so progress is visible.
breezesamuel commentedon Nov 17, 2026
Draft PR submitted: #100 -- fabric-level segment reuse per HIP-1345 section 1.1/1.2, 6 unit tests + CPU bench demo showing 14/14 hits vs 0/896 baseline. Scheduler integration is the follow-up PR.
zeekay commentedon Nov 21, 2026
Duplicate of #85; continue there. Open PRs are retargeted.