ProphetCache: Predictive Asynchronous Paging (PAP) over vAttention
ProphetCache (PAP) extends PagedAttention and vAttention from reactive page allocation to proactive, speculative memory prefetching.
Three-Tier Memory Hierarchy
- FWK-001 β PagedAttention (
Baseline-A): Software block-table paging for KV cache blocks to eliminate internal/external fragmentation. - FWK-002 β vAttention (
Baseline-B): Driver-level CUDA Virtual Memory Management (cuMemCreate,cuMemMap,cuMemSetAccess) decoupling virtual address space from compute kernels without modifying FlashAttention kernels. - FWK-003 β ProphetCache PAP (
Bed-C): An isolated CUDA stream / SM partition ("Prophet Engine") running one token ahead of the main LLM kernel using hybrid episodic n-gram lookup + semantic domain vectors ([1,0]Code vs.[0,1]Prose) to emit an Optimization Vector and trigger asynchronous prefetching (cudaMemPrefetchAsync).
Three-Phase Validation Protocol
- Phase 1 (Testbed & Baselines): Stock vLLM (
Bed-A), vAttention with Prophet disabled (Bed-B), and ProphetCache-V1 n-gram hash-map prefetcher (Bed-C), instrumented with kernel-levelmem_wait_nsstall timers. - Phase 2 (Generic Showdown): Mixed workload benchmark tracking
p99 mem_wait_ns,p99 TPOT, andProphet Hit Rate = Prefetched_Pages_Used / Total_Prefetched_Pages. - Phase 3 (Context Swap Stress Test): Priming (
Workload-Code+[1,0]), forced mismatch/cache pollution (Workload-Prose+[1,0]), and semantic vector recovery (Workload-Prose+[0,1]).
Manifest
See frameworks.jsonl for structured records (FWK-001, FWK-002, FWK-003) and companion explorer Space Kovach-Enterprises/prophetcache-pap-explorer.
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support