haystack
Haystack is an analytical cache model that given a program computes the number of cache misses.
- 46
- C++
- 7 y ago
Haystack is an analytical cache model that given a program computes the number of cache misses.
Analytical benchmark connecting pipeline parallelism and KV cache management: bubble-time overlap for disaggregation, prefix reuse tax of PP stages, and tiering speedup across NVLink, InfiniBand, and PCIe
Analytical benchmark for sliding window attention KV cache management: quality vs window size tradeoffs, SWA vs eviction comparison, prefix sharing interaction, and operational window recommendations across four attention distributions
Analytical benchmark connecting tensor parallelism and KV cache management in LLM serving: GQA sharding regimes, all-gather vs recompute tradeoffs, PCIe viability, and operational decision matrix across NVLink, InfiniBand, and PCIe
Empirical study of speculative decoding with Qwen2-0.5B (draft) and Qwen2-1.5B (target) on a single RTX 2070. Measures token acceptance rate, speedup, KV sync overhead, and validates the Leviathan et al. (2023) analytical model. Shows why cost_ratio=1.18x (not 3.1x as expected) causes failure and what hardware conditions make it viable.