Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Caching Remove topic Caching Clear all 3 posts RSS

2026

Together AI

Serving DeepSeek-V4: why million-token context is an inference systems problem

Deep dive 11 min +110 XP

DeepSeek-V4's 1M-token context comes from compressing the token axis of the KV cache: Compressed Sparse Attention (stride 4, top-k selection), Heavily Compressed Attention (stride 128, dense over ~8K entries) and a 128-token Sliding Window Attention path.

Together AI

Cache-aware prefill–decode disaggregation (CPD) for up to 40% faster long-context LLM serving

Research 9 min +90 XP

Cache-aware prefill–decode disaggregation (CPD) extends standard PD serving with a dedicated pre-prefill tier for low-reuse (cold) long prompts, a router that estimates prefix-cache reuse per request, and a three-level KV cache hierarchy (GPU memory, host DRAM, RDMA-connected distributed cache).

The quest for software engineering knowledge.

Look:
Layout: